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

failed to fetch ppa:https://blog.csdn.net/qq_26093511/article/details/78754574

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

Python3 ssl模块不可用的问题:https://www.cnblogs.com/minglee/p/9232673.html

https://www.cnblogs.com/mlgjb/p/7976561.html

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

numpy-python3.7:https://blog.csdn.net/qq_41670196/article/details/79374385

pip-python3.7:https://blog.csdn.net/weixin_43079274/article/details/94347388

https://www.jianshu.com/p/27bf1afbbebc

ubuntu的Python3.7缺少ssl:https://blog.csdn.net/CSDN_fzs/article/details/103220535

https://blog.csdn.net/love_cjiajia/article/details/82254371

https://blog.csdn.net/weixin_30750335/article/details/95277610

https://blog.51cto.com/13544424/2149473?cid=722522

安裝失敗提示: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 numpy -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com:https://blog.csdn.net/yanwenyuan0304/article/details/86072970

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

pycharm:https://blog.csdn.net/qq_15192373/article/details/81091278

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

Pytorch 使用不同版本的 cuda:https://www.cnblogs.com/yhjoker/p/10972795.html  torch.cuda.is_available()

cuda10.1:https://blog.csdn.net/BigData_Mining/article/details/99670642

print(torch.version.cuda)

torch.__version__

torch.cuda.device_count()

torch.cuda.get_device_name(0) https://blog.csdn.net/nima1994/article/details/83001910?utm_source=blogxgwz9

如何检查pytorch是否正在使用GPU?:https://blog.csdn.net/qq_35435964/article/details/100928501

Ubuntu安裝python3.7版的更多相关文章

  1. Ubuntu安裝nginx-1.6.2

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

  2. Ubuntu 安裝 嘸蝦米 輸入法

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

  3. UBuntu安裝使用PIP

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

  4. ubuntu安裝postman遇到問題

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

  5. ubuntu安裝 R RStudio

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

  6. 安裝 14.04.1 Ubuntu 到 Lenovo thinkpad t460p

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

  7. windows 下使用免安裝版MySql5.5

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

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

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

  9. Ubuntu 12.04不能在華碩F81se系列電腦上安裝解决辦法

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

随机推荐

  1. MYSQL---触发器简单了解

    触发器 trigger 1.触发器是指事先为某张表绑定一段代码,当表中某些内容发生改变(增insert.删delete.改update)时,系统自动触发绑定的那段代码并执行.比如 一旦订单表里插入新订 ...

  2. 并不对劲的复健训练-CF1187D

    题目大意 有两个长度为\(n\)的序列\(a_1,...,a_n\),\(b_1,...,b_n\)(\(a,b\leq n\leq 3\times 10^5\) ).一次操作是选取 \([l,r]\ ...

  3. 怎样理解HTMLCollection接口

    和 NodeList 类似, HTMLCollection 也是一个 类数组对象, 和NodeList不同的是, 它是各种 元素节点 的集合, 且不具有 forEach() 方法, 因此如果不转为真正 ...

  4. github常用搜索技巧

    1.在项目名称,readme文件和描述中包含关键字seckill的项目seckill in:name,readme,description 2.fork大于500,stars大于500springbo ...

  5. wpf之二进制资源

    一.当需要添加图片.音频.视屏的资源到wpf项目里是,可以直接把文件添加到项目里 右击add->existing item. 1.如果想将外部文件编异常目标成为二进制资源,在文件的属性窗口 Bu ...

  6. PHP扩展之 Imagick安装

    最近的PHP项目中,需要用到切图和缩图的效果,在本地windows开发环境,安装过程遇到好多问题,在此与大家分享. php官网里,一大群老外也看不懂这玩意怎么装,主要原因在于,php版本庞杂,还有x8 ...

  7. lumen时区

    今天用 Lumen 框架写代码时, 也是初次体验 Lumen, 遇到了一个问题, 从数据库里查出的时间比数据库里保存的 TIMESTAMP 时间慢了8个小时, 很明显这是一个时区设置的问题, 本以为可 ...

  8. JAVA语言程序设计课后习题----第四单元解析(仅供参考)

    1 本题水题,主要理解题目的意思即可,访问方法和修改方法可以通过快捷方式alt+insert选中你需要的成员变量即可 public class Person { public String name; ...

  9. 《Linux就该这么学》day1-day2

    ps:原谅我的书法出自鲁迅的<野草> <Linux就该这么学>书本介绍: 本书是由全国多名红帽架构师(RHCA)基于最新Linux系统共同编写的高质量Linux技术自学教程,极 ...

  10. 使用ViewFlipper实现图片轮播

    public class MainActivity extends AppCompatActivity { private ViewFlipper flipper; //背景图片int[] id pr ...