Skip to content

Commit

Permalink
[DOC] Updated requirements.txt and README.md for Win installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Leguark committed Mar 26, 2020
1 parent 5d58f59 commit cf169f7
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 21 deletions.
50 changes: 32 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,30 +123,30 @@ map, which can then be reimported into GoogleEarth.

*GemPy* requires Python 3 and makes use of numerous open-source libraries:

* pandas>=0.21.0
* cython
* Theano
* pandas==0.24
* Theano>=1.0.4
* matplotlib
* numpy
* pytest
* nbsphinx
* seaborn
* networkx
* ipywidgets
* scikit-image
* nptyping
* pyvista
* IPython

Optional:

* git+git://github.com/Leguark/scikit-image@master
* steno3d
* vtk
* gdal
* qgrid
* pymc
* qgrid==1.3.0
* pymc3

* `vtk>=7` for interactive 3-D visualization
* `pymc` or `pymc3`
* `steno3d`
* pyvolume
* pyevtk
* pyqrcode
* mplstereonet

Overall we recommend the use of a dedicated Python distribution, such as
[Anaconda](https://www.continuum.io/what-is-anaconda), for hassle-free package installation.
Expand Down Expand Up @@ -235,15 +235,29 @@ in the cloned or downloaded repository folder. Make sure you have installed all

2) Install Anaconda3 2019.03 with Python 3.7 (this is the last release).

2) Install Conda (recommended latest miniconda)
- Install in you user
- Add conda to the main path
- Add conda enviroment:
- `conda create --name gempy`
- `conda init powershell`
- As admin `Set-ExecutionPolicy RemoteSigned`
- After this stage we should have a new empty environment attached to a user

3) Install Theano and associated packages from the Anaconda prompt as administrator, and finally install GemPy 2.0:

- conda update --all
- conda install libpython
- conda install m2w64-toolchain
- conda install git
- conda install pygpu
- pip install theano==1.0.4
- pip install gempy
- conda update --all
- conda install libpython
- conda install m2w64-toolchain
- conda install git
- conda install -c conda-forge pygpu
- pip install theano==1.0.4
- pip install gempy

4) Set up Jupyter to work properly with conda environments:
- conda install Jupyter
- conda install nb_conda_kernels
- pip install jupyter-conda

Note that:

Expand Down
2 changes: 0 additions & 2 deletions optional-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
git+git://github.com/Leguark/scikit-image@master
steno3d
vtk
gdal
qgrid==1.3.0
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pandas==0.24
cython
Theano>=1.0.4
matplotlib
numpy
Expand Down

0 comments on commit cf169f7

Please sign in to comment.