R
RunPod12mo ago
WarySloth

Python3.8.10 and Venv

How do I start a pod where I run a specific distribution of python (3.8.10, not just the default version in apt list, 3.8.18) and create a venv on it? I've tried to do it multiple times, but every time I start a new pod, I lose access to python3.8 and pip. This is despite the fact that I am running my pods on a network volume, so I still see the venv, but the python installation seems to disappear. Would really appreciate some help on this!
1 Reply
ashleyk
ashleyk12mo ago
Python installation is at OS level on the temporary container disk so you can't persist it unless you create your own Docker image.
Want results from more Discord servers?
Add your server