Skip to content
Snippets Groups Projects
Commit 9a4d1090 authored by Holger Brunst's avatar Holger Brunst
Browse files

Merge branch 'pr_conda' into 'preview'

Conda licencing info

See merge request !1123
parents 589e5ad3 7c25e2d1
No related branches found
No related tags found
2 merge requests!1126Automated merge from preview to main,!1123Conda licencing info
......@@ -93,7 +93,7 @@ the environment as follows:
/software/rome/r23.04/Python/3.10.4-GCCcore-11.3.0/bin/python
[marie@alpha ]$ pip list
[...]
[marie@alpha ]$ virtualenv --system-site-packages my-torch-env
[marie@alpha ]$ python -m venv --system-site-packages my-torch-env
created virtual environment CPython3.10.4.final.0-64 in 3621ms
creator CPython3Posix(dest=/data/horse/ws/marie/marie-my_python_virtualenv/my-torch-env, clear=False, no_vcs_ignore=False, global=True)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/h0/marie/.local/share/virtualenv)
......@@ -126,7 +126,7 @@ packages from the file:
```console
marie@compute$ module load Python #Load default Python
[...]
marie@compute$ virtualenv --system-site-packages /data/horse/ws/marie-python_virtual_environment/env_post #Create virtual environment
marie@compute$ python -m venv --system-site-packages /data/horse/ws/marie-python_virtual_environment/env_post #Create virtual environment
[...]
marie@compute$ source /data/horse/ws/marie-python_virtual_environment/env/bin/activate #Activate virtual environment. Example output: (env_post) bash-4.2$
(env_post) marie@compute$ pip install -r requirements.txt #Install packages from the created requirements.txt file
......@@ -134,6 +134,13 @@ marie@compute$ source /data/horse/ws/marie-python_virtual_environment/env/bin/ac
## Conda Virtual Environment
!!!
We were informed that the manufacturer of Anaconda has changed its license conditions
and that the use of Anaconda/conda is also subject to licensing at universities
with more than 200 employees.
https://legal.anaconda.com/policies/en/?name=terms-of-service#anaconda-terms-of-service
The TU Dresden does not plan to procure a license centrally.
**Prerequisite:** Before working with conda, your shell needs to be configured
initially. Therefore login to the ZIH system, load the Anaconda module and run
`source $EBROOTANACONDA3/etc/profile.d/conda.sh`. Note that you must run the
......@@ -141,7 +148,7 @@ previous command each time you want to activate your virtual environment and
they are not automatically loaded after re-opening your shell.
!!! warning
We recommend to **not** use the `conda init` command, since it may cause unexpected behaviour
We recommend to **not** use the `conda init` command, since it may cause unexpected behavior
when working with the ZIH system.
??? example
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment