Re:Why not tell people to “simply” use pyenv, poetry or anac...
by atemerev on Friday March 31, 2023 @03:50PM
(#35392542)
How do you manage python versions with venv? E.g. numba still doesn’t run on my system python 3.11, so I want a 3.10 somewhere, but can’t install it through a package manager, etc.
[ Parent
| on HN ]
Re:Why not tell people to “simply” use pyenv, poetry or anac...
by 0xDEFACED on Saturday April 01, 2023 @05:54PM
(#35404484)
If using apt, you can add the deadsnakes repository which allows installing the other versions of python3 not included with your linux distro. Then you can install them with
sudo apt install python3.X
I also recommend similarly sudo apt install python3.X-venv
which allows you to create venvs with whichever python version you have installed python3.X -m venv .venv