I was taught that installing Python versions alongside the one which came from the system can be catastrophic in Mint and that I should use pyenv. I really like pyenv + PyCharm, but in Manjaro it requires ncurses5, which comes from AUR. As a noob, I’d rather not use the AUR. I looked into virtualenv and pipenv, but it is my impression that they require that I do exactly what I’m trying to avoid, namely to install Python versions directly to my SSD.
However, Manjaro is different from Mint. Can I, for instance, just install Python 3.10 and 3.8.2 without any worries?
Repository : community
Name : pyenv
Version : 2.0.4-1
Description : Easily switch between multiple versions of Python
Architecture : any
URL : https://github.com/pyenv/pyenv
Licenses : MIT
Groups : None
Provides : None
Depends On : bash
Optional Deps : git: installing development versions
Conflicts With : None
Replaces : None
Download Size : 199.12 KiB
Installed Size : 2358.74 KiB
Packager : David Runge <dvzrv@archlinux.org>
Build Date : Tuesday 27 July 2021 02:15:47 AM
Validated By : MD5 Sum SHA-256 Sum Signature
Oh. I was certain that I was having problems because of the lack of dependencies.
I installed pyenv via Pamac and tried to install Python 3.8.2. Build failed.
Last 10 log lines:
config.status: creating pyconfig.h
creating Modules/Setup.local
creating Makefile
If you want a release build with all stable optimizations active (PGO, etc),
please run ./configure --enable-optimizations
/usr/share/pyenv/plugins/python-build/bin/python-build: line 785: make: command not found
First I had a problem because I needed gcc. That was solved, but another problem appeared.
I believe you. I had looked up base-devel in Pamac and saw some meta stuff from AUR, as well as a bunch of packages which I had already had installed. I took this to mean base-devel is from AUR.