所有命令都在Anaconda Prompt中进行
一、安装环境
Anaconda3-2020.02(python3.7)+PyCharm Community Edition 2020.3.5
二、安装思路
先创建一个名为theano的虚拟环境,在虚拟环境里下载gempy包及依赖包,所以在创建完环境后,每重进一次Anaconda Prompt都要激活Theano环境,默认环境为base环境。
激活命令为
conda activate theano
三、gempy依赖包
1.pandas
2.Theano>=1.0.4
3.matplotlib
4.numpy
5.pytest
6.seaborn>=0.9
7.networkx
8.scikit-image>=0.17
9.pyvista
四、安装gempy
1.下载pandas
pip install pandas
2.下载theano
(1)安装清华镜像
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
由于Windows 用户无法直接创建名为 .condarc 的文件,需要先在’cmd’中输入 conda config --set show_channel_urls yes 生成该文件之后,在c:\用户里面搜索.condarc文件ÿ