...
1. First, log in to the IDAS research instance with Python. If you are a student in a class that uses Python in IDAS, follow the instructions here to access your class instance.
22a. In JupyterLab, click the Terminal tile under Other to start a Terminal session.
...
2b. If this is your first time using conda in the Terminal in IDAS, initialize your shell by running the following command in the Terminal.
This command only needs to be run once. It will create a .bashrc
file in your IDAS home directory if a .bashrc
doesn’t already exist.
Code Block |
---|
conda init bash |
2c. Close the Terminal by clicking the x
in the upper right corner of the Terminal window.
2d. Click the Terminal tile to open the Terminal again.
2e. Run the following command in the Terminal. This will source the .bashrc
file that was just created.
Code Block |
---|
source ~/.bashrc |
The command prompt in your Terminal will change to indicate the active environment, which is the base
environment by default.
Code Block |
---|
(base) HawkID@idas-research-HawkID:~$ |
Info |
---|
Every time you open a new Terminal session, you’ll have to run |
3. In Terminal, the conda create
command can be used to create a new conda environment.
...
1. First, log in to the IDAS research instance with Python. If you are a student in a class that uses Python in IDAS, follow the instructions here to access your class instance.
22a. In JupyterLab, click the Terminal tile under Other to start a Terminal session.
...
2b. If this is your first time using conda in the Terminal in IDAS, initialize your shell by running the following command in the Terminal.
This command only needs to be run once. It will create a .bashrc
file in your IDAS home directory if a .bashrc
doesn’t already exist.
Code Block |
---|
conda init bash |
2c. Close the Terminal by clicking the x
in the upper right corner of the Terminal window.
2d. Click the Terminal tile to open the Terminal again.
2e. Run the following command in the Terminal. This will source the .bashrc
file that was just created.
Code Block |
---|
source ~/.bashrc |
The command prompt in your Terminal will change to indicate the active environment, which is the base
environment by default.
Code Block |
---|
(base) HawkID@idas-research-HawkID:~$ |
Info |
---|
Every time you open a new Terminal session, you’ll have to run |
3. In Terminal, the conda create
command can be used to create a new conda environment.
...