You are not logged in.
It seems strange to me a new VENV that uses the `--system-site-packages` argument (for accessing the Arch base Python packages), creates a new VENV that isn't a complete mirror of the non-VENV environment.
How I tested this:
1) `pip freeze` of my current install of Python from Arch packages.
2) Created a virtual environment, venv
`$mkvirtualenv --system-site-packages venv`
3) Compared a second `pip freeze` from inside the active venv using `diff`.
I expected the diff to be the same (except for the one package I installed with pip, python-magic), but there are numerous differences.
I believe all the packages were installed with `pacman` (positive all the major ones).
It's possible, over time, that I've used PIP for a few packages, but more often than not, I stuck with `pacman` install to take advantage of the Arch community fixing incompatibilities.
How can I troubleshoot the problem of different packages in my VENV using the `--system-site-packages` argument?
// UPDATE. I rewrote the question to hopefully make it easier to answer
Last edited by xtian (2017-04-29 17:29:28)
Offline
Still looking for help to troubleshoot why Python virtualenv doesn't play well with Arch install of iPython.
- should I reinstall?
- should I follow most advise and switch to PIP install iPython?
Offline
I often use virtualenv , beat's me why one would even want virtualenv to use the systems python, doesn't that defeat the purpose of a virtualenv ?
what are you trying to accomplish with the virtualenv ?
pip is often used to install to virtualenv, not pacman.
good luck.
Last edited by cirrus (2017-05-06 23:07:53)
Ancestoral Clan https://cirrus.freevar.com/mclean.html
Offline
My activities with Python are not shared within a development environment, so I'm not concerned about which versions the team is using. So Arch packages are sufficient. And the Arch packages for all the Python packages have worked great up to now: iPython, jupyter notebooks, matplotlib, numpy, pandas. Everything is updated with my regular `pacman` system updates.
// I wish for Python to use all of these common packages installed via Pacman, and in this one environment I wish to use the dev-version of Pandas.
I dunno...seemed like a reasonable use of VENV
[Update] Revisitng my post and thought to clarify my earlier comment...
Last edited by xtian (2018-03-24 16:43:07)
Offline