Skip to content
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

Use expected pip binary #6

Closed
mknecht opened this issue Mar 25, 2016 · 2 comments
Closed

Use expected pip binary #6

mknecht opened this issue Mar 25, 2016 · 2 comments

Comments

@mknecht
Copy link

mknecht commented Mar 25, 2016

try seems to use the system-provided pip binary. (I got the out-of-date warning, which I don't get usually because my user-level pip is up to date.)

This is not what I'd have expected: When I try python packages myself, I of course just type pip install whatever.

@timofurrer
Copy link
Owner

I think the problem here is that virtualenv is copying the pip and setuptools packages during creation from the system-level and not, as you want, from the user-level.
try itself just calls python -m pip ... which takes the pip from the virtualenv.

The only way I see to fix this is to create the virtualenv with --no-pip and --no-setuptools and somehow install them in the virtualenv manually.
What I don't like about that is the time it would take..

@mknecht
Copy link
Author

mknecht commented Mar 27, 2016

Hey, you're right and you're right. It's the exact behavior that virtualenv/mkvirtualenv show, and therefore not your problem. Thanks for pointing this out!

Closing.

@mknecht mknecht closed this as completed Mar 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants