python_linux系统相关配置
标签:下载 大学 豆瓣 com linux 更改 pkg 科学技术 ash
安装anoconda
极速下载安装
https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ 网站极速下载。 bash Anaconda3-4.3.1-Linux-x86.sh
设定默认conda源(用于之后的conda极速安装相关python包)
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/ conda config --set show_channel_urls yes
更改pip源
pip install scrapy -i https://pypi.tuna.tsinghua.edu.cn/simple 阿里云 http://mirrors.aliyun.com/pypi/simple/ ??中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ ??豆瓣(douban) http://pypi.douban.com/simple/ ??清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/ ??中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
定位当前python包路径(在当前python下运行)
from distutils.sysconfig import get_python_lib print(get_python_lib())
python_linux系统相关配置
标签:下载 大学 豆瓣 com linux 更改 pkg 科学技术 ash
温馨提示: 本文由杰米博客推荐,转载请保留链接: https://www.jmwww.net/file/biancheng/12002.html
- 上一篇:python基础之猜数字游戏
- 下一篇:Java nio 空轮询bug到底是什么