Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 741 Bytes

how_to_run_python_with_multiple_environments.md

File metadata and controls

36 lines (27 loc) · 741 Bytes

How to run python with multiple environments

In order to run python with multiple environments first download Anaconda.

Then create a new conda environment

conda create -n shiny_new_env python=3.4

Then list the current created environments

conda env list

Then activate the environment

conda activate shiny_new_env

Now create a new clean requirement txt file

pip freeze > requirements.txt

To exit this environment

conda deactivate

Run the following code if pip installation conflicts are giving you trouble.

conda install -r requirements.txt

reference