Skip to content
Snippets Groups Projects
Commit eedb9230 authored by Danny Marc Rotscher's avatar Danny Marc Rotscher
Browse files

Merge branch 'issue-275-add-conda-init-hint-across-wiki' into 'preview'

add hints to conda init

See merge request !499
parents b01aff45 14794003
No related branches found
No related tags found
2 merge requests!530Automated merge from preview to main,!499add hints to conda init
......@@ -244,6 +244,8 @@ Python virtualenv or conda environment.
!!! note
Please keep in mind that Python virtualenv is the preferred way to create a Python
virtual environment.
For working with conda virtual environments, it may be necessary to configure your shell via
`conda init` as described in [Python virtual environments](../software/python_virtual_environments.md#conda-virtual-environment)
#### Python Virtualenv
......
......@@ -101,9 +101,9 @@ address bar contains the encoded parameters starting with `#/`.
You can combine both features in a single link:
```
https://taurus.hrsk.tu-dresden.de/jupyter/hub/user-redirect/git-pull?repo=https://github.com/jdwittenauer/ipython-notebooks&urlpath=/tree/ipython-notebooks/notebooks/language/Intro.ipynb#/~(partition~'interactive~environment~'test)
```
```
https://taurus.hrsk.tu-dresden.de/jupyter/hub/user-redirect/git-pull?repo=https://github.com/jdwittenauer/ipython-notebooks&urlpath=/tree/ipython-notebooks/notebooks/language/Intro.ipynb#/~(partition~'interactive~environment~'test)
```
![URL with quickstart parameters](misc/url-quick-start.png)
{: align="center"}
......@@ -141,7 +141,10 @@ and files via `chmod`.
- Modules can also be loaded in the Jupyter spawner via preload modules
(considering the Python version of your virtual environment).
Set up your shared Python virtual environment for JupyterHub:
Set up your shared Python virtual environment for JupyterHub.
!!! hint
For working with conda virtual environments, it may be necessary to configure your shell via
`conda init` as described in [Python virtual environments](../software/python_virtual_environments.md#conda-virtual-environment)
=== "virtualenv"
......
......@@ -60,6 +60,10 @@ marie@compute$ ./Anaconda3-2019.03-Linux-x86_64.sh
(during installation you have to confirm the license agreement)
!!! hint
For working with conda virtual environments, it may be necessary to configure your shell via
`conda init` as described in [Python virtual environments](../software/python_virtual_environments.md#conda-virtual-environment)
Next step will install the anaconda environment into the home
directory (`/home/userxx/anaconda3`). Create a new anaconda environment with the name `jnb`.
......
......@@ -11,6 +11,10 @@ Often, it is useful to create an isolated development environment, which can be
a research group and/or teaching class. For this purpose,
[Python virtual environments](python_virtual_environments.md) can be used.
!!! hint
For working with conda virtual environments, it may be necessary to configure your shell via
`conda init` as described in [Python virtual environments](python_virtual_environments.md#conda-virtual-environment)
The interactive Python interpreter can also be used on ZIH systems via an interactive job:
```console
......
......@@ -114,6 +114,10 @@ Basic test of tensorflow - A Hello World!!!...
[...]
```
!!! hint
In the above example, we create a conda virtual environment. To use conda, it is be necessary to
configure your shell in advance via `conda init` as described in [Python virtual environments](python_virtual_environments.md#conda-virtual-environment)
## TensorFlow with Python or R
For further information on TensorFlow in combination with Python see
......
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