Ubuntu16.4安装Anaconda

前端之家收集整理的这篇文章主要介绍了Ubuntu16.4安装Anaconda前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

0x1. 如何查看已经安装的包

pip list

0x2. 如何安装Anaconda

    1. chmod u+x Anaconda3-4.3.0-Linux-x86_64.sh
    1. ./Anaconda3-4.3.0-Linux-x86_64.sh
    1. input yes/enter/confirm the environment path to ~/.bashrc
      The install path:
# added by Anaconda3 4.3.0 installer
export PATH="/home/cxl/anaconda3/bin:$PATH"

0x3. 环境变量

~/.bashrc

export ANDROID_NDK_HOME=/home/cxl/android/android-ndk-r10
export ANDROID_SDK_HOME=/home/cxl/android/adt-bundle-linux-x86_64-20140702/sdk
export PATH=$PATH:$ANDROID_NDK_HOME:$ANDROID_SDK_HOME/platform-tools:$ANDROID_SDK_HOME/tools

# added by Anaconda2 4.3.0 installer
export PATH="/home/cxl/anaconda2/bin:$PATH"

# added by Anaconda3 4.3.0 installer
export PATH="/home/cxl/anaconda3/bin:$PATH"

0x4. 切换python环境

修改~/.bashrc中下面的环境变量,确保有一个生效.

# added by Anaconda2 4.3.0 installer
export PATH="/home/cxl/anaconda2/bin:$PATH"

# added by Anaconda3 4.3.0 installer
export PATH="/home/cxl/anaconda3/bin:$PATH"

0x5. Anaconda中安装pythona依赖包

conda install scrapy

猜你在找的Ubuntu相关文章