安装pyCharm 官网压缩包,直接解压
安装 anaconda 官网安装包 Anaconda3-5.3.1-Linux-x86_64.sh
为anaconda配置国内源,国外源下载慢
conda config --remove channels 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/’^C
conda config --add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/mro/
conda config --set show_channel_urls yes
conda config --show
清除无效的缓存cache
conda clean --all -y
安装python3.6创建沙盒
conda create -n tf13py36 python=3.6
激活沙盒
source activate tf13py36
安装opencv numpy tensorflow
pip install opencv-python
pip install numpy
pip install tensorflow
为pycharm 配置沙盒环境
file —> settings —> Project :object_detect_factory —> Project Interpreter —> * (设置按钮) —> Add —> Conda Environment —> Existing environment