Yann Büchau :python: · @nobodyinperson
147 followers · 519 posts · Server fosstodon.org

Can you teach to *not* include the user's site-packages?

Interestingly, `python -I jupyter` doesn't work: Jupyter apparently populates its own sys.path. With PYTHONPATH and JUPYTER_PATH you can only add to sys.path.

Do you really have to manually manipulate sys.path at the beginning of every notebook?...

I'd very much like my host's to not pollute my conainer environment, but still have full access to my $HOME.

#juypter #Apptainer #python

Last updated 3 years ago

Anita Graser 🇪🇺🇺🇦 · @underdarkGIS
1570 followers · 283 posts · Server fosstodon.org
laskfar · @vortok
71 followers · 652 posts · Server merveilles.town