running 'pip install' from virtualenv will not work if base-devel is not present
When running below procedure:
pacman python-virtualenv cd /home mkdir myvenv virtualenv --always-copy myvenv cd myvenv source bin/activate pip install numpy
I was getting following error:
RuntimeError: Broken toolchain: cannot link a simple C program
It seems gcc was missing from the system. After installing base-devel all works fine.
Should it mention Poetry?
In my experience, Poetry is superior to Pipenv in every way. And despite claims to the contrary, Pipenv has never been blessed as the "official one true way" of doing things.
For a long time, pipenv still got many problem. It provides a good way to specific the version of packages. But it is not the best. Just venv+pip is much better. What's more, Poetry is good enough to be mention. Someone say docker+python work well, which is not good enough to debug bug good to deploy.