Installation¶
Please follow the following instructions for installation
windows¶
- Install cmake which can be downloaded from https://cmake.org/
- Make sure visual studio 2010 is installed which can be downloaded from https://www.microsoft.com/en-us/download/details.aspx?id=23507
- Open windows console and type following commands
set path="C:\Program Files\CMake\bin";%PATH% #Includes CMake in search path
pip install IPhreeqcPy
- If you want to install IPhreeqcPy in a specific location specify following additional directives
pip install --install-option="--prefix=*YOUR INSTALL PATH*" --ignore-installed IPhreeqcPy
- To test installation type following in python console
import IPhreeqcPy
IPhreeqcPy.test()
- To upgrade your current installation type following in windows console
set path="C:\Program Files\CMake\bin";%PATH% #Includes CMake in search path
pip install --upgrade IPhreeqcPy
- To uninstall IPhreeqcPy type following in windows console
pip uninstall IPhreeqcPy
Linux¶
- Open linux terminal and type following
sudo pip install IPhreeqcPy
- If you want to install IPhreeqcPy in a specific location specify following additional directives
pip install --install-option="--prefix=*YOUR INSTALL PATH*" --ignore-installed IPhreeqcPy
- To test installation type following in python console
IPhreeqcPy.test()
- To upgrade your current installation type following in linux terminal
pip install --upgrade IPhreeqcPy
- To uninstall IPhreeqcPy type following in linux terminal
pip uninstall IPhreeqcPy