Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.38 KB

new_instructions.md

File metadata and controls

36 lines (22 loc) · 1.38 KB

To create the YML file, you need to create your own environment outside the RA environment, in Python on Windows, using Mambaforge installed in C:\mambaforge. Follow the steps below to generate a text file and send it to us via email as a reply. With the text file, we can make the environment available for you within RA.

On your own Windows system in Python, create a new environment named after the project code and activate it. As an example, we use project code 0000.

a. conda create –n 0000

b. conda activate 0000

Install pip.
    `conda install pip`

Then, install the required packages with pip.
    `pip install package_name`

Export the environment with pip.
    `pip freeze > C:\temp\environment0000.txt`
    Check that the file does not contain references to local paths (file://).
    If it does, use the following command:
    pip list --format=freeze > C:\temp\environment0000.txt

Test the environment by removing and recreating it.
    `rd /q /s <path to python>\envs\0000`
    `conda create –n 0000`
    `conda activate 0000`
    `conda install pip`
    `pip install –r C:\temp\environment0000.txt`
    Test the Python environment.

Send the environment text file to us via email.

Note! If you want to use Jupyter Notebook or Spyder, you need to install them in the environment as well.