You are not logged in.
Hello all,
I am having an issue where I cannot create python virtual environments other than my system version of python (currently updated to 3.13). Following https://wiki.archlinux.org/title/Python … nvironment however I am in a bit of a loop where
- I try to create an env with a specific version of python,
- I error out with not being able to find said version
- searching on the web tells me to not to install more than one version and instead just use virtual environments to manage multiple python versions.
Steps I've taken
- my machine is up to date
- tried all methods of virtual envs listed in the link above
- I've also tried to download a version of python and point to a custom path and I am hit with a permission denied.
- attempted to change ower and permissions but still no luck getting custom path running
- tried taking an freshly made repo and env and tried to initialize with older version of python
Any help on getting this up and running would be greatly appreciated, thanks!
Last edited by jidderbug92 (2025-07-01 22:16:25)
Offline
Following will create a venv (in .venv/) using python 3.10 and install cowsay, as an example:
$ uv venv -p 3.10
$ uv pip install cowsay
$ uv run cowsay # or .venv/bin/cowsay, or source .venv/bin/activate, then run cowsay, etcLast edited by bulletmark (2025-07-01 21:57:39)
Offline
Sweet this worked thank you!
Offline