-
Notifications
You must be signed in to change notification settings - Fork 135
python2Installation
Andrea Alfonsi - INL edited this page Jul 8, 2019
·
3 revisions
Python 3 installation is the default. If Python 2 (DEPRECATED) is desired instead, a manual installation needs to be performed. In order to retrieve the needed libraries, the following 2 commands need to be launched:
- To get the conda libraries (From the main conda repository):
python scripts/TestHarness/testers/RavenUtils.py --conda-install --optional
- To get the conda-forge libraries (From the conda-forge repository):
python scripts/TestHarness/testers/RavenUtils.py --conda-install --conda-forge
Those commands will report the libraries to be installed.
Once the list is obtained, replace the python=3
entry with python=2.7
NOTE: Some of the libraries' versions might not be available in Python 2. A manual downgrade of the libraries needs to be performed. In such case, some of the RAVEN functionalities (optimized for Python 3) could not be perfectly functional