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

zope.interface reported as not installed when it was installed #5195

Closed
nessita opened this issue Apr 9, 2018 · 7 comments
Closed

zope.interface reported as not installed when it was installed #5195

nessita opened this issue Apr 9, 2018 · 7 comments
Labels
auto-locked Outdated issues that have been locked by automation resolution: duplicate Duplicate of an existing issue/PR

Comments

@nessita
Copy link

nessita commented Apr 9, 2018

  • Pip version: 10.0.0b2
  • Python version: 2.7.12
  • Operating system: Ubuntu Xenial (16.04.4 LTS)

Description:

When installing twisted 17.9.0, which depends on zope.interface (which is part of a namespace package), pip reports an error as a "red message" saying that "twisted 17.9.0 requires zope.interface>=3.6.0, which is not installed.", but zope.interface was indeed installed as part of the process

What I've run:

nessita@miro:~$ virtualenv --python python2 env-test
Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/nessita/env-test/bin/python2
Also creating executable in /home/nessita/env-test/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.

nessita@miro:~$ env-test/bin/pip --version
pip 10.0.0b2 from /home/nessita/env-test/local/lib/python2.7/site-packages/pip (python 2.7)

nessita@miro:~$ env-test/bin/pip install twisted==17.9.0
Collecting twisted==17.9.0
Collecting hyperlink>=17.1.1 (from twisted==17.9.0)
  Using cached hyperlink-18.0.0-py2.py3-none-any.whl
Collecting zope.interface>=3.6.0 (from twisted==17.9.0)
  Using cached zope.interface-4.4.3-cp27-cp27mu-manylinux1_x86_64.whl
Collecting constantly>=15.1 (from twisted==17.9.0)
  Using cached constantly-15.1.0-py2.py3-none-any.whl
Collecting incremental>=16.10.1 (from twisted==17.9.0)
  Using cached incremental-17.5.0-py2.py3-none-any.whl
Collecting Automat>=0.3.0 (from twisted==17.9.0)
  Using cached Automat-0.6.0-py2.py3-none-any.whl
Collecting idna>=2.5 (from hyperlink>=17.1.1->twisted==17.9.0)
  Using cached idna-2.6-py2.py3-none-any.whl
Requirement already satisfied: setuptools in ./env-test/lib/python2.7/site-packages (from zope.interface>=3.6.0->twisted==17.9.0) (39.0.1)
Collecting attrs (from Automat>=0.3.0->twisted==17.9.0)
  Using cached attrs-17.4.0-py2.py3-none-any.whl
Collecting six (from Automat>=0.3.0->twisted==17.9.0)
  Using cached six-1.11.0-py2.py3-none-any.whl
twisted 17.9.0 requires zope.interface>=3.6.0, which is not installed.
Installing collected packages: idna, hyperlink, zope.interface, constantly, incremental, attrs, six, Automat, twisted
Successfully installed Automat-0.6.0 attrs-17.4.0 constantly-15.1.0 hyperlink-18.0.0 idna-2.6 incremental-17.5.0 six-1.11.0 twisted-17.9.0 zope.interface-4.4.3
nessita@miro:~$ 

Attaching an image to show the redness of the message:
twisted-error

@pradyunsg
Copy link
Member

Hey @nessita! Thanks for testing out the beta and filing this issue.

Is this still an issue with the latest release branch -- pip install -U https://github.com/pypa/pip/archive/release/10.0.0.zip?

I believe this has been fixed -- see #5160.

@pradyunsg
Copy link
Member

Sorry, I meant #5134.

@di
Copy link
Member

di commented Apr 9, 2018

@pradyunsg I can confirm that this fails on 10.0.0b2 and has been fixed on the release/10.0.0 branch.

@pradyunsg
Copy link
Member

Thanks for confirming @di! :)

@nessita
Copy link
Author

nessita commented Apr 9, 2018

I can confirm this is solved in 10.0.0. Thanks!!!

@pradyunsg pradyunsg added the resolution: duplicate Duplicate of an existing issue/PR label Apr 9, 2018
@pradyunsg
Copy link
Member

Thanks again for filing this @nessita. ^>^

@lock
Copy link

lock bot commented Jun 2, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 2, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation resolution: duplicate Duplicate of an existing issue/PR
Projects
None yet
Development

No branches or pull requests

3 participants