menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Gitpod

Gitpod - one-click online IDE for GitHub

Channels
Team

Caching installed pip/conda packages

October 23, 2019 at 12:36pm

Caching installed pip/conda packages

October 23, 2019 at 12:36pm
Hi team , I'm trying to find a way to persist installed pip/conda packages in my env. Currently, I have bash script to install pip packages . This script is executed as part of .gitpod.yml.
Right now, all the installed pip packages disappear after I reopen my env. Just wondering if you could help

October 24, 2019 at 7:46am
Hi ! In the default workspace image we’ve configured pip to install in a user site by default, and the site’s location is under /workspace to guarantee that it preserved between restarts.
You mention conda. Could you share some info, maybe the repo if it’s public. I’m happy to help you to configure it accordingly.

November 4, 2019 at 3:45am
Hi Alex, I have resolved the issue by creating a conda env in workspace. This ensures that all conda packages persist through different sessions
like-fill
1

November 4, 2019 at 10:07am
That's good news! If it's a public repo, do you want to share details on this? It would be awesome for other Gitpod users how work with conda environments.

November 6, 2019 at 9:17pm
Just started working with Conda, any suggestions for installing correctly. Any repos I can look at?

November 16, 2019 at 12:15am
Let me know if you have any issues with it
like-fill
1

November 18, 2019 at 12:35am
that is awesome to have anaconda working. Thanks for sharing.