Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jupyterenv to PATH #273

Closed
ckunki opened this issue Apr 25, 2024 · 0 comments · Fixed by #314
Closed

Add jupyterenv to PATH #273

ckunki opened this issue Apr 25, 2024 · 0 comments · Fixed by #314
Assignees
Labels
feature Product feature

Comments

@ckunki
Copy link
Contributor

ckunki commented Apr 25, 2024

Add /home/jupyter/jupyterenv/bin/ to Environment variable PATH to make calling pip3 easier.

stackoverflow/27093612 suggests adding the following line to Dockerfile.

ENV PATH="$PATH:$VIRTUAL_ENV/bin"

... and advises to not use curly braces like ${PATH} as this would use the path variable from the host system rather than from the OS inside the Docker container.

See also #77 Make systemd call entrypoint.py

Connecting an EC2 instance of the AI-Lab with an instance of Exasol SaaS DB showed
The Jupyter Notebook in the EC2 instance could

  • call magic %pip
  • successfully update the scikit-learn library inside the EC2 instance
@ckunki ckunki added the feature Product feature label Apr 25, 2024
@ckunki ckunki self-assigned this Aug 8, 2024
ckunki added a commit that referenced this issue Aug 13, 2024
…trypoint (#314)

* #273: Added jupyterenv/bin to evironment variable PATH inside the DockerContainer
* Moved modifying PATH to entrypoint.py
* Fixed broken link in documentation.
* Update PTB actions to @v4
* [CodeBuild]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Product feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant