安装python3.7
文章目录
说明
完全是为了记录自己的操作记录,换一台新机器真是免不了要装python。记录下来,便于以后操作。
apt-get安装
|
|
源码安装
|
|
install pip
|
|
install virutalenv
|
|
install pipenv
|
|
|
|
|
|
install jupyter
|
|
pip basic
查看包状态
|
|
更新包
|
|
指定源
有时候安装一些依赖包,网不好,直接超时,或者这个包就是死都下不下来的时候,可以指定国内源镜像。 pip install -i 国内镜像地址 包名
e.g. pip install -i https://mirrors.aliyun.com/pypi/simple/ numpy 这是临时指定镜像地址
清华:https://pypi.tuna.tsinghua.edu.cn/simple
阿里云:https://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
华中理工大学:https://pypi.hustunique.com/
山东理工大学:https://pypi.sdutlinux.org/
豆瓣:https://pypi.douban.com/simple/
修改配置参考:https://cloud.tencent.com/developer/article/1566247
misc
How to install Ta-Lib in python on Windows
参考
- Managing Multiple Versions of Python on Ubuntu
- https://medium.com/@itylergarrett.tag/setting-up-python-3-7-on-windows-10-a-non-developer-tutorial-e836639ca16
- Here’s a Quick Way to Learn About PIP in Python
- How to Setup a Virtual Environment with Different Python Versions (Windows)
欢迎关注
欢迎关注微信公众帐号:沉风网事(savewind)
文章作者 沉风网事
上次更新 2019-08-08