-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
I've installed pip-accel globally, but when I try to use it inside a virtual environment I get this error:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip_accel/cli.py", line 56, in main
accelerator = PipAccelerator(config)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip_accel/__init__.py", line 109, in __init__
self.validate_environment()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip_accel/__init__.py", line 141, in validate_environment
""", environment=environment, prefix=sys.prefix)
EnvironmentMismatchError: You are trying to install packages in environment #1 which is different from environment #2 where pip-accel is installed! Please install pip-accel under environment #1 to install packages there.
This is caused by validate_environment, which doesn't make much sense. Since pip-accel
uses pip
under the hood, why should I have to install another version of pip-accel
inside every virtual environment? The kicker is that if pip-accel
is already installed globally, pip
won't even let you install it inside a virtual environment. It's either one or the other.
Metadata
Metadata
Assignees
Labels
No labels