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.2 or 1.1 compatible libssl with X509_VERIFY_PARAM_set1_host(). LibreSSL 2.6.4 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.1/Tools/scripts/pydoc3 -> build/scripts-3.7 copying and adjusting /home/afda/Python-3.7.1/Tools/scripts/idle3 -> build/scripts-3.7 copying and adjusting /home/afda/Python-3.7.1/Tools/scripts/2to3 -> build/scripts-3.7 copying and adjusting /home/afda/Python-3.7.1/Tools/scripts/pyvenv -> build/scripts-3.7 changing mode of build/scripts-3.7/pydoc3 from 664 to 775 changing mode of build/scripts-3.7/idle3 from 664 to 775 changing mode of build/scripts-3.7/2to3 from 664 to 775 changing mode of build/scripts-3.7/pyvenv from 664 to 775 renaming build/scripts-3.7/pydoc3 to build/scripts-3.7/pydoc3.7 renaming build/scripts-3.7/idle3 to build/scripts-3.7/idle3.7 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
python3中pip3安装出错,找不到SSL的解决方式:https://www.jb51.net/article/176223.htm
在終端,輸入python和python3,可以看到python3.7.1,
不如直接用Anaconda ,或者是conda
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)