Skip to content
Snippets Groups Projects
Commit e3dfd4e0 authored by patmjen's avatar patmjen
Browse files

Make venv config more visible in guide

parent e2e4c303
Branches add_kseq
No related tags found
No related merge requests found
......@@ -40,7 +40,15 @@ a100sh
source init.sh
```
This will setup and activate your virtualenv. You must **do this every time** you log in or change node (e.g. by calling `sxm2sh`)!
> **Tip:** You can configure the Python version, CUDA version, and name and location of the virtualenv by changing the variables at the top of `init.sh`.
> **Tip:** To configure the virtualenv change the following variables at the top of `init.sh`:
> ```bash
> # Configuration
> # This is what you should change for your setup
> PYTHON_VERSION=3.9.14 # Python version (default: 3.9.14)
> CUDA_VERSION=11.6 # CUDA version (default: 11.6)
> VENV_DIR=. # Where to store your virtualenv (default: current directory)
> VENV_NAME=venv # Name of your virtualenv (default: venv)
> ```
5. Your are done! You can now install packages with `pip install <PACKAGE>` and run python3 code with `python`.
> __Troubleshooting:__ If pip doesn't work, you may need to manually install it with: `easy_install pip`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment