Close

Wiki

Main Page /

How to setup Python environment on cdmHUB Linux workstation

Setup Python virtual environment

The purpose is to setup a Python virtual environment for code development and testing. This is realized by using the Anaconda environment.

Steps

Use Anaconda

Start the Linux Workstation tool. A default terminal should be opened automatically. The command prompt is something like the following:

 user_name@cdmhub_session:~$

To use the Anaconda environment, type

 use anaconda-6

Then for the follow-up question, input y for yes:

 Do you want to make 'use anaconda-6' persistent? (y/n) y

Create virtual environments

Configure start-up file

See also

* https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html

Created on , Last modified on