Skip to content
Snippets Groups Projects
Commit b40c2ff2 authored by fniesel's avatar fniesel
Browse files

Added interpreter script

parent 2fd8f9aa
Branches
Tags
No related merge requests found
...@@ -43,6 +43,8 @@ source <path_to_venv>/activate.sh ...@@ -43,6 +43,8 @@ source <path_to_venv>/activate.sh
The script `create_kernel.sh` will create a kernel json file in the user's home directory that can be found The script `create_kernel.sh` will create a kernel json file in the user's home directory that can be found
by Jupyter and a helper script in the virtual environment folder. by Jupyter and a helper script in the virtual environment folder.
The script `create_interpreter.sh` creates a python interpreter wrapper script in the user's home directory (`~/.local/share/python/interpreter/<venv_name>/python`).
You can set this newly created wrapper script as python interpreter in your favorite IDE for remote development and debugging. See further instructions [here](https://gitlab.jsc.fz-juelich.de/niesel1/howtos-ai/-/blob/main/RemoteDebuggingWithVSCode.ipynb).
# Intended Workflow # Intended Workflow
...@@ -52,3 +54,4 @@ by Jupyter and a helper script in the virtual environment folder. ...@@ -52,3 +54,4 @@ by Jupyter and a helper script in the virtual environment folder.
4. Edit `setup.sh` and `activate.sh` to add extra steps for custom modules. 4. Edit `setup.sh` and `activate.sh` to add extra steps for custom modules.
5. Create the environment with `bash setup.sh`. 5. Create the environment with `bash setup.sh`.
6. Create a kernel with `bash create_kernel.sh`. 6. Create a kernel with `bash create_kernel.sh`.
7. Create a python interpreter wrapper with `create_interpreter.sh`.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment