Installation¶
Please follow the following instructions for installation
windows¶
- Install cmake which can be downloaded from https://cmake.org/. After installing make sure that path to cmake.exe is added to path in Environment variable otherwise you will get error cmake not found
- Install visual studio 17 which can be downloaded from https://www.visualstudio.com/
- Open windows console and type following commands
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
- Specific version available in PyPi can be installed using following directives
pip install IPhreeqcPy==*version name*
- To test installation type following in python console
import IPhreeqcPy
IPhreeqcPy.test()
- To upgrade your current installation type following in windows console
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
- Specific version available in PyPi can be installed using following directives
pip install IPhreeqcPy==*version name*
- 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