linux虚拟机安装python 及 配置环境变量

下载python安装包 (wget -P filepath 下载链接)

linux下安装anaconda教程,并添加清华镜像

sh Anaconda3-5.3.1-Linux-x86_64.sh  (一律yes就好了)
vim /etc/profile  (文件中添加   export PATH=/root/anaconda3/bin:$PATH)
source  /etc/profile  (或  . /etc/profile)

报错:bunzip2: command not found     解决:yum install -y bzip2

pip install --upgrade pip   #更新pip

pip install --default-timeout=1000 --no-cache-dir -r requirements.txt    #pip安装超时解决方法

猜你喜欢

转载自www.cnblogs.com/iupoint/p/10856459.html
今日推荐