Latest Stable Release
To install the latest official release from PyPI:
pip install netts
If you would like the latest development version of netts install it from GitHub. This code may change at anytime.
pip install git+https://github.com/alan-turing-institute/netts
Be aware that the development code is under active development and may change at any time.
Install Additional Dependencies
import netts netts.install_dependencies()
Dependencies are large (>5GB) and may take some time to download.
Install to an Alternative Directory
By default, the dependencies will be installed to a
netts directory in your home directory. If you would like to install in a different location, set an environment variable called
NETTS_DIR either on the commandline:
or by creating a
.env file in your working directory with these contents:
netts will create
NETTS_DIR for you if it doesn't already exist.
To verify which directory netts will use run:
import netts settings = netts.get_settings() print(settings.netts_dir)