The WiNDC Environment
This document describes how to set up the proper Python environment for the WiNDC data system.
We assume that your package manager is Conda and that it is already installed on your machine. Please consult the Anaconda webpage for more details.
Setting up the WiNDC environment
windcenvironment by running the following command on the command line or terminal:
conda create --name windc python=3.7
conda info --envs
Enter the new environment with the following command:
conda activate windc
Install the GAMS Python 3.7 API files manually in the
windcenvironment by following the instructions on the GAMS website. For example, if you are working on a Mac and your current version of GAMS is 31.1, you may use the following command:
python /Applications/GAMS31.1/Resources/sysdir/apifiles/Python/api_37/setup.py install
Install the Python package
pip install windc_data
Verify that the GAMS and
windc_datapackages have been successfully installed in the
windcenvironment by entering:
Your Python environment is now ready!
Back to WiNDC data system documentation.