pipenv icon indicating copy to clipboard operation
pipenv copied to clipboard

Add support for specifying package to use from global site-packages

Open 1600 opened this issue 6 years ago • 2 comments

Frequently I use package installed in global site-packages to perform task like debugging or performance tuning, but I don't want to create a virtualenv via --system-site-packages , because that would enable access to all of the packages in global site-packages, which is excessive and not fine-grained.

Is it possible to add support for specifying packages to use from global site-packages in somewhere, maybe Pipfile?

1600 avatar Nov 30 '18 08:11 1600

If it is just a single package, pipenv run pip install somepackage can do that easily. It is fast without locking.

If you still would like to have this feature, you may need submit a PEEP for that. https://github.com/pypa/pipenv/blob/master/peeps/PEEP-000.md

jxltom avatar Dec 15 '18 03:12 jxltom

@1600 Are you still looking for this, and is this basically requesting the ability for pipenv install package --system to work with fewer warnings/problems, or is the problem more nuanced then that?

matteius avatar Sep 13 '22 16:09 matteius