Skip to content

Make it possible to create a virtualenv without --no-site-packages #218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
njsmith opened this issue Jul 11, 2012 · 1 comment
Closed

Make it possible to create a virtualenv without --no-site-packages #218

njsmith opened this issue Jul 11, 2012 · 1 comment
Labels
Improvement Minor improvement to code

Comments

@njsmith
Copy link

njsmith commented Jul 11, 2012

(This is sort of a companion to #217, see that for context.)

So I understand that installing of extensions which have dependencies on external C libraries is not really supported (except for the limited set of C libraries listed in the FAQ, I guess). However, some of these extensions are already installed system-wide, like numpy, which is super-handy because it avoids that whole C extension mess without causing any big head-aches for you guys.

I'd like to be able to use those pre-installed C extensions where 'pip install' doesn't work, and I'd also like to 'pip install' some other libraries that don't have external C dependencies.

But currently, it looks like you create virtualenvs with --no-site-packages, which means that I'm forced to choose: I can either have pre-installed C extensions, or extra pip installed packages, but not both. It'd be great if you either could stop using --no-site-packages, or have a checkbox to control it.

@njsmith
Copy link
Author

njsmith commented Jul 27, 2012

It looks like virtualenv has changed its defaults in newer releases, so depending on what version you're using you might have to say "--system-site-packages" explicitly to request access to system-installed packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Minor improvement to code
Projects
None yet
Development

No branches or pull requests

2 participants