See full documentation, including installation instructions, at: http://pygcam.readthedocs.io/en/master/index.html.
Version 1.0.0 (14 Nov 2017)
-
Added code to gcam sub-command to create link to java libs on macOS,
as is done in therun-gcam.command
script in the GCAM distribution
for the Mac. -
A bug in the ModelInterface code in gcam-v4.4 prevented the
pygcam
query sub-command from working. Please install gcam-v4.4.1 (when available)
or update your the gcam-v4.4 installation, replacing the file
.../input/gcam-data-system/_common/ModelInterface/src/ModelInterface.jar
with the updated version from the Downloads section, below. -
Modified
init
sub-command to use prompt_toolkit to provide
filename completion via the tab key. This works on Windows only
from a standard command prompt, not from a Cygwin terminal. (The
init
sub-command works, but without filename completion.) -
Added check that config variable
GCAM.VersionNumber
matches what the
GCAM executable reports. If different, the config var is set as per
the GCAM executable. -
Fixed installation issue on Windows and Linux
Note also that if you are having trouble installing or running pygcam on Windows or Linux,
run the commandgt --version
. If it reports that you are running version 1.0rc3, you
should be able to resolve problems related toSALib
andpyscaffold
by
running the commands:pip uninstall pygcam pip install pyscaffold==2.5.8 pip install salib==1.1.2 pip install pygcam
If you have not yet created the Anaconda environment, download the current environment file for your system (i.e., pygcam_windows.yml or pygcam_linux.yml) from https://anaconda.org/plevin/pygcam/files, which corrects the problem. This does not affect macOS users.