Requesting R Packages from CBS
To request R packages, simply email CBS with the names of the packages you require.
Requesting Python packages from CBS
Follow the procedure outlined below to get Python packages installed in your account in the external environment at CBS.
In the instructions below, replace 0000 with the code of your project at CBS.
Install Mambaforge
Open the Miniforge Prompt
Create an environment for your package.
conda create -n 0000 conda activate 0000Install pip
conda install pipInstall all the packages with the pip command. Do not use
conda installto install packages.pip install packagenameExport the environment with pip. Potentially, you could use the
cdcommand to go to the preferred directory to save the txt file in, or you could make the path of environment0000.txt an absolute one, such as D:\Users\WillisB\0000\environment0000.txt. If you want to navigate to another drive in the shell, such as ‘D:’, typeD:.pip freeze > environment0000.txtTest the file containing all the packages and dependencies locally by removing the environment, reinstating it, and installing all the packages through the file you just generated.
conda deactivate conda remove -n 0000 --all conda create -n 0000 conda activate 0000 conda install pip pip install environment0000.txtTest the Python environment
Send the generated environment0000.txt to CBS.