Talk:Python/Virtual environment
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.
Gregosky (talk) 00:39, 15 May 2015 (UTC)
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.
Thomastc (talk) 09:30, 1 February 2021 (UTC)
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.
Kearney (talk) 13:55, 18 August 2021 (UTC)
Should it mention to disable pip version check?
Pip by default always checks for latest version and that slows down update speed. Disabling the check speeds it up since it will be installed along python-pip anyway.
pip config set global.disable-pip-version-check true
Pickfire (talk) 03:27, 11 February 2022 (UTC)
Should this be moved under "Development" category?
In "Development", there are development tools and helpers like this one. And RVM is there, too. I suggest moving this page there. We can also create another category named like "Version managers" to put this page, RVM, rbenv and other related pages into it. Ismailarilik (talk) 10:13, 16 March 2025 (UTC)
- There is just one related rule about categories: "An article can belong to more than one category, provided one is not ancestor of the others." Since Category:Programming languages is a subcategory of Category:Development, we would need to replace the current category. Of course we can argue about which is more fitting... — Lahwaacz (talk) 16:10, 16 March 2025 (UTC)
- Replacing is OK I think. In any case, RVM, rbenv and Python/Virtual environment should be in the same category, which is not the case right now. And what about a new category named Version managers or something like that? Ismailarilik (talk) 16:17, 16 March 2025 (UTC)
- A new category is probably too much at this point, but feel free to move it to Category:Development. It was changed before, but with no reason given. — Lahwaacz (talk) 19:57, 16 March 2025 (UTC)
- Done, closing... Ismailarilik (talk) 20:11, 16 March 2025 (UTC)
- A new category is probably too much at this point, but feel free to move it to Category:Development. It was changed before, but with no reason given. — Lahwaacz (talk) 19:57, 16 March 2025 (UTC)
- Replacing is OK I think. In any case, RVM, rbenv and Python/Virtual environment should be in the same category, which is not the case right now. And what about a new category named Version managers or something like that? Ismailarilik (talk) 16:17, 16 March 2025 (UTC)