diff --git a/doc.zih.tu-dresden.de/docs/access/jupyterhub.md b/doc.zih.tu-dresden.de/docs/access/jupyterhub.md index 91844963321e5265d8b02494e06b462ae112a1b7..3ccdbe0ec59cf2145b255f597346f017ca9d8d8c 100644 --- a/doc.zih.tu-dresden.de/docs/access/jupyterhub.md +++ b/doc.zih.tu-dresden.de/docs/access/jupyterhub.md @@ -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 diff --git a/doc.zih.tu-dresden.de/docs/access/jupyterhub_for_teaching.md b/doc.zih.tu-dresden.de/docs/access/jupyterhub_for_teaching.md index 1454db0082acceb8933b6fc4964535e345a1a83d..34532a01792b1b29f10ca299df35c02edcf56e85 100644 --- a/doc.zih.tu-dresden.de/docs/access/jupyterhub_for_teaching.md +++ b/doc.zih.tu-dresden.de/docs/access/jupyterhub_for_teaching.md @@ -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) +```  {: 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" diff --git a/doc.zih.tu-dresden.de/docs/archive/install_jupyter.md b/doc.zih.tu-dresden.de/docs/archive/install_jupyter.md index 3d59d1cc7cf9e93e9a7f3ca78d22100978a72b8f..02b78701bd8fa5b5eb3fbb7ed2de2cae9639042e 100644 --- a/doc.zih.tu-dresden.de/docs/archive/install_jupyter.md +++ b/doc.zih.tu-dresden.de/docs/archive/install_jupyter.md @@ -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`. diff --git a/doc.zih.tu-dresden.de/docs/software/data_analytics_with_python.md b/doc.zih.tu-dresden.de/docs/software/data_analytics_with_python.md index 50d60b1d3c586bfa4a60e18da625a57bf545e375..a7d2781669fc909e0628c6518825542cf8f7ced8 100644 --- a/doc.zih.tu-dresden.de/docs/software/data_analytics_with_python.md +++ b/doc.zih.tu-dresden.de/docs/software/data_analytics_with_python.md @@ -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 diff --git a/doc.zih.tu-dresden.de/docs/software/tensorflow.md b/doc.zih.tu-dresden.de/docs/software/tensorflow.md index 09a8352a32648178f3634a4099eee52ad6c0ccd0..db6b97596a153b852dabec4d5d9a1e73aa1aa19b 100644 --- a/doc.zih.tu-dresden.de/docs/software/tensorflow.md +++ b/doc.zih.tu-dresden.de/docs/software/tensorflow.md @@ -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