Anaconda安装,官方文档
查看Anaconda默认安装包路径:
conda info --env
查看pip默认安装包路径:
python -m site
其他问题
conda env list
conda activate env_name
注意conda 激活一个环境后,python环境也就是sys.path也就随之改变了
tensorflow安装
- 安装最新版本的anaconda
- 运行:
conda create -n tf tensorflow
- 如果要jupyter打开,需要新建一个jupyter内核