手机版python3.7_Ubuntu安裝python3.7版

https://blog.csdn.net/u014775723/article/details/85224447

Python build finished successfully!

The necessary bits to build these optional modules were not found:

_bz2 _ssl _uuid

readline

To find the necessary bits, look in setup.py in detect_modules() for the module's name.

The following modules found by detect_modules() in setup.py, have been

built by the Makefile instead, as configured by the Setup files:

_abc atexit pwd

time

Could not build the ssl module!

Python requires an OpenSSL 1.0. or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host().

LibreSSL 2.6. and earlier do not provide the necessary APIs, https://github.com/libressl-portable/portable/issues/381

running build_scripts

copying and adjusting /home/afda/Python-3.7./Tools/scripts/pydoc3 -> build/scripts-3.7

copying and adjusting /home/afda/Python-3.7./Tools/scripts/idle3 -> build/scripts-3.7

copying and adjusting /home/afda/Python-3.7./Tools/scripts/2to3 -> build/scripts-3.7

copying and adjusting /home/afda/Python-3.7./Tools/scripts/pyvenv -> build/scripts-3.7

changing mode of build/scripts-3.7/pydoc3 from to

changing mode of build/scripts-3.7/idle3 from to

changing mode of build/scripts-3.7/2to3 from to

changing mode of build/scripts-3.7/pyvenv from to

renaming build/scripts-3.7/pydoc3 to build/scripts-3.7/pydoc3.

renaming build/scripts-3.7/idle3 to build/scripts-3.7/idle3.

renaming build/scripts-3.7/2to3 to build/scripts-3.7/2to3-3.7

renaming build/scripts-3.7/pyvenv to build/scripts-3.7/pyvenv-3.7

gcc -pthread -Xlinker -export-dynamic -o Programs/_testembed Programs/_testembed.o libpython3.7m.a -lpthread -ldl -lutil -lm

sed -e "s,@EXENAME@,/usr/local/bin/python3.7m," < ./Misc/python-config.in >python-config.py

LC_ALL=C sed -e 's,\$(\([A-Za-z0-9_]*\)),\$\{\1\},g' < Misc/python-config.sh >python-config

Requirement already satisfied: numpy in ./.local/lib/python3.6/site-packages (1.16.0):https://blog.csdn.net/qq_33547191/article/details/86552214

安裝失敗提示:error:no such directory or file。permission denied。原因:安裝需要獲得sudo權限。

The directory '/home/afda/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

windows环境pip安装时一直报错Could not fetch URL https://pypi.org/simple/xrld/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url:https://www.cnblogs.com/jiyanjiao-702521/p/9960071.html

python3.7 -m pip install torch torchvision -i  http://pypi.douban.com/simple/ --trusted-host pypi.douban.com:https://blog.csdn.net/suswulongyuan/article/details/90547443 測試torch支持不支持gpu

python3.6 -m pip install --upgrade six

sudo python3.6 -m pip install tensorflow_gpu-1.12.0-cp36-cp36m-manylinux1_x86_64.whl -ignore-installed six -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

sudo python3.7 -m pip install tensorboard -i  http://pypi.douban.com/simple/ --trusted-host pypi.douban.com : https://blog.csdn.net/u010469993/article/details/80950510

指定gpu:https://blog.csdn.net/kongkongqixi/article/details/100521590   AssertionError: CUDA unavailable, invalid device gpu requested

print(torch.version.cuda)

torch.__version__

torch.cuda.device_count()

Ubuntu安裝nginx-1&period;6&period;2

1.在執行完./configure 和make install 後出現 test -d '/usr/local/nginx/logs'         || mkdir -p '/usr/local/ ...

Ubuntu 安裝 嘸蝦米 輸入法

O S : 14.04.1-Ubuntu 加入fcitx開發團隊的repository: sudo add-apt-repository ppa:fcitx-team/nightly sudo apt ...

UBuntu安裝使用PIP

Windows下安裝python包還是比較方便的,直接在FLD網站下載對應的EXE文件就可以安裝,在linux系統下,使用pip,easy egg 管理工具可以減輕安裝負擔. 原文鏈接:http:// ...

ubuntu安裝postman遇到問題

@ubuntupc:~/Postman/app$ sudo ./Postman ./Postman: error while loading shared libraries: libgconf-2. ...

ubuntu安裝 R RStudio

sudo apt--i386.deb ref: http://blog.csdn.net/lichangzai/article/details/39376117

安裝 14&period;04&period;1 Ubuntu 到 Lenovo thinkpad t460p

在 Lenovo Thinkpad T460p 安裝 ubuntu, BIOS 需要做一些設定, 沒設定的現象:不斷地停在 usb disk 設定 可以 使用 usb disk install 了!

windows 下使用免安裝版MySql5&period;5

windows 下使用面安裝版MySql5.5步驟如下 1.解壓下載的壓縮文件到指定文件夾.如:F:\DB\mysql-5.5.18-win32\mysql-5.5.18-win32: 2.在根目錄F ...

沈逸老师ubuntu速学笔记(2)-- ubuntu16&period;04下 apache2&period;4和php7结合编译安装&comma;并安裝PDOmysql扩展

1.编译安装apache2.4.20 第一步: ./configure --prefix=/usr/local/httpd --enable-so 第二步: make 第三步: sudo make i ...

Ubuntu 12&period;04不能在華碩F81se系列電腦上安裝解决辦法

本人華碩F81se系列的電腦,剛開始是裝的ubuntu 10.04的系統,周末閑的無聊,就想把系統換成ubuntu 12.04的,從ubuntu官網上下載了12.04的安裝包,下了個usb insta ...

随机推荐

Response&period;Redirect 无法跳转页面

错误现象:Response.Redirect(Server.MapPath("BackIndex.aspx")); 打断点测试执行了这一句,Server.MapPath(&quot ...

linux之开发板与宿主机-GDB远程调试

平台: redhat9.0 下载 gdb-5.3.tar.gz 解压 gdb-5.3.tar.gz: #tar vzxf gdb-5.3.tar.gz 配置文件# ./configure - targ ...

华为OJ平台——放苹果(典型整数划分问题)

题目描述: 输入m,n,分别表示苹果数与盘子的总数,要求输出苹果放在n个盘子的方法总数(注意511和151是一种情况),例如输入 7 3 输出8((7),(6,1),(5,2),(4,3),(5,1, ...

Android开发视频学习(2)

S02E05_Android当中的线程 Worker Thread不允许操作UI,只能在Main Thread操作UI S02E06_Handler(一) Handler,Looper,Message ...

U14Linux的帐号与用户组

1.在/etc/group和/etc/gshadow中查找mousegroup: grep mousegroup /etc/group /etc/gshadow (grep的使用) 2.其实Linux ...

Android原生跳转React不同页面(undefined is not an object)

继续上篇文章的demo,由于现在的项目是原生的,打算用部分页面试下react native,那么问题来了:react貌似只有一个入口 index.android.js,那么在不同的原生页面需要跳转到不 ...

Hadoop之HDFS及NameNode单点故障解决方案

Hadoop之HDFS 版权声明:本文为yunshuxueyuan原创文章.如需转载请标明出处: http://www.cnblogs.com/sxt-zkys/QQ技术交流群:299142667 H ...

navcat无法远程连接mysql数据库解决办法

navcat无法远程连接mysql数据库,一般都是因为本地ip没有访问权限,服务器上执行下面指令即可解决 mysql -u root -p GRANT ALL PRIVILEGES ON *.* TO ...

十大豪门推送sdk,哪个更适合你

转自:http://jingyan.baidu.com/article/d621e8da0fd7042865913ff5.html 推送,使得开发者可以即时地向其应用程序的用户推送通知或者消息,与用户 ...

关于QQ农场牧场等曾经流行的游戏的一些见解

大概在上上周,我偶然间打开QQ空间玩了一会QQ农牧场,玩完之后我在想,在那个年代他们为什么那么红? 我觉得可能有以下几点: 1:凭借着QQ海量的用户,可以迅速推广 2:迎合了人们爱占小便宜的心理,不过 ...

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值