The following environments provide a foundation to use a different Python version
on the Faculty Platform servers than what's shipped in the default Python2
and Python3
Conda environments (Python 2.7.16 and 3.6.10 respectively, at the time
of writing). These environments are intended to be a quick fix while the Platform
implements support for newer Python versions.
There are 3 environments included:
- Python 3.7 - Minimal: this is a barebones environment that is faster to install and can serve as a basis when not all of the default dependencies are required
- Python 3.7 - Default packages: an environment that installs the default packages found on the platform, plus PyTorch
- Python 3.7 - GPU default packages: this environment is the same as the previous one, with the addition of installing the GPU-enabled versions of the Tensorflow and PyTorch libraries
We recommend adding these environments to the Faculty Knowledge Centre to facilitate easy use across multiple projects. To do this:
- Create a new empty project that we will set up the environments in.
- In this project, create three environments, each for one of the scripts below. See below for more detailed instructions.
- Publish these three environments to the Knowledge Centre as three separate environments. They will then be available in the Knowledge Centre, from where users can copy them to projects where they would like to use them.
- Create a new environment with the name "Python 3.7 - Minimal" and the description contained
in
01_minimal_description.md
below. Make sure to copy the descriptions in "Raw" mode - the Knowledge Centre will render the Markdown formatting. - Paste the content of
01_minimal_script.sh
in the "Script" section. The environment should save automatically. - The environment can now be published to the knowledge centre with the "Publish" button in the upper right corner of the screen.
- Create a new environment with the name "Python 3.7 - Default packages" and the description
contained in
02_default_packages_description.md
below. Make sure to copy the descriptions in "Raw" mode - the Knowledge Centre will render the Markdown formatting. - Paste the content of
02_default_packages_script.sh
in the "Script" section. The environment should save automatically. - The environment can now be published to the knowledge centre with the "Publish" button in the upper right corner of the screen.
- Create a new environment with the name "Python 3.7 - GPU default packages" and the description
contained in
03_gpu_default_packages_description.md
below. Make sure to copy the descriptions in "Raw" mode - the Knowledge Centre will render the Markdown formatting. - Paste the content of
03_gpu_default_packages_script.sh
in the "Script" section. The environment should save automatically. - The environment can now be published to the knowledge centre with the "Publish" button in the upper right corner of the screen.