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

Installation issues with virtualenvwrapper on Debian and Ubuntu #170

Open
eamanu opened this issue Apr 7, 2017 · 2 comments
Open

Installation issues with virtualenvwrapper on Debian and Ubuntu #170

eamanu opened this issue Apr 7, 2017 · 2 comments

Comments

@eamanu
Copy link
Contributor

eamanu commented Apr 7, 2017

When I do:

pip install -r requirements.txt

and install ipython[notebook]

I have this problem when I open a terminal in ubuntu and Debian.

Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/lib/python2.7/dist-packages/virtualenvwrapper/hook_loader.py", line 16, in
from stevedore import ExtensionManager
File "/usr/local/lib/python2.7/dist-packages/stevedore/init.py", line 11, in
from .extension import ExtensionManager
File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 17, in
import pkg_resources
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 72, in
import packaging.requirements
File "/usr/local/lib/python2.7/dist-packages/packaging/requirements.py", line 59, in
MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
TypeError: call() takes exactly 2 arguments (1 given)
virtualenvwrapper.sh: There was a problem running the initialization hooks.

If Python could not import the module virtualenvwrapper.hook_loader,
check that virtualenvwrapper has been installed for
VIRTUALENVWRAPPER_PYTHON=/usr/bin/python and that PATH is
set properly.

This error happen twice in a Deban virtual machine and in an Ubuntu

@eamanu
Copy link
Contributor Author

eamanu commented Apr 7, 2017

I solve this doing:

pip install setuptools==33.1.1

@donnemartin
Copy link
Owner

Hi @eamanu, thanks for the report and update on the fix! Perhaps we might need to update the README for Debian/Ubuntu users?

@donnemartin donnemartin changed the title Installation crash virtualenvwrapper Installation issues with virtualenvwrapper on Debian and Ubuntu Apr 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants