We recommend installation using conda
package manager. If you do not already have it installed, download Anaconda Python 3+ for your operating system and follow the instructions to install it. After the installation is complete, in Terminal (Linux and MacOS) or in Anaconda Prompt (Windows), create a new conda environment and activate it.
$ conda create -n ENVIRONMENT_NAME python=3.8
$ conda activate ENVIRONMENT_NAME
Instead of ENVIRONMENT_NAME
, choose the name you want. Finally, discretisedfield
is installed by running
$ conda install --channel conda-forge discretisedfield
You can test the installation by running:
$ python -c "import discretisedfield; discretisedfield.test()"
If no errors are reported, the installation was sucessful.
discretisedfield
is updated by running:
$ conda update discretisedfield