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

nb2plots pip install problem with python2 #4

Open
arthurzenika opened this issue Oct 10, 2017 · 3 comments
Open

nb2plots pip install problem with python2 #4

arthurzenika opened this issue Oct 10, 2017 · 3 comments

Comments

@arthurzenika
Copy link


cmdargs: ['/.tox/html/bin/pip', 'install', 'sphinx', 'sphinxcontrib-aafig', 'nb2plots', 'hieroglyph']

Collecting sphinx
  Downloading http://devpi.local:3141/root/pypi/+f/77b/c17e688e66ebf/Sphinx-1.6.4-py2.py3-none-any.whl (1.9MB)
Collecting sphinxcontrib-aafig
  Downloading http://devpi.local:3141/root/pypi/+f/b6f/741b5efdcd21c/sphinxcontrib-aafig-1.0.tar.gz
Collecting nb2plots
  Downloading http://devpi.local:3141/root/pypi/+f/663/fbc80432d2aa7/nb2plots-0.5.2.zip (164kB)
Collecting hieroglyph
  Downloading http://devpi.local:3141/root/pypi/+f/376/a36eb6f0db211/hieroglyph-1.0.0-py2.py3-none-any.whl (1.5MB)
Collecting Pygments>=2.0 (from sphinx)
  Downloading http://devpi.local:3141/root/pypi/+f/ce6/7fc58b51ffd29/Pygments-2.2.0-py2.py3-none-any.whl (841kB)
Requirement already satisfied: setuptools in ./.tox/html/lib/python2.7/site-packages (from sphinx)
Collecting alabaster<0.8,>=0.7 (from sphinx)
  Downloading http://devpi.local:3141/root/pypi/+f/633/f61d1ca584939/alabaster-0.7.10-py2.py3-none-any.whl
Collecting six>=1.5 (from sphinx)
  Downloading http://devpi.local:3141/root/pypi/+f/866/ab722be6bdfed/six-1.11.0-py2.py3-none-any.whl
Collecting requests>=2.0.0 (from sphinx)
  Downloading http://devpi.local:3141/root/pypi/+f/eb9/be71cc41fd73a/requests-2.18.4-py2.py3-none-any.whl (88kB)
Collecting Jinja2>=2.3 (from sphinx)
  Downloading http://devpi.local:3141/root/pypi/+f/61a/215bcdb0f7939/Jinja2-2.9.6-py2.py3-none-any.whl (340kB)
Collecting docutils>=0.11 (from sphinx)
  Downloading http://devpi.local:3141/root/pypi/+f/1d7/08ae8afa36739/docutils-0.14-py2-none-any.whl (543kB)
Collecting imagesize (from sphinx)
  Downloading http://devpi.local:3141/root/pypi/+f/bc8/6a6d01f5aa3ec/imagesize-0.7.1-py2.py3-none-any.whl
Collecting typing; python_version < "3.5" (from sphinx)
  Downloading http://devpi.local:3141/root/pypi/+f/c58/7eaddadb5294a/typing-3.6.2-py2-none-any.whl
Collecting sphinxcontrib-websupport (from sphinx)
  Downloading http://devpi.local:3141/root/pypi/+f/1b1/cc56a6264e071/sphinxcontrib_websupport-1.0.1-py2.py3-none-any.whl
Collecting snowballstemmer>=1.1 (from sphinx)
  Downloading http://devpi.local:3141/root/pypi/+f/198/b60fa6a36d22c/snowballstemmer-1.2.1-py2.py3-none-any.whl (64kB)
Collecting babel!=2.0,>=1.3 (from sphinx)
  Downloading http://devpi.local:3141/root/pypi/+f/e07/5ef09710cce29/Babel-2.5.1-py2.py3-none-any.whl (6.8MB)
Collecting aafigure>=0.3 (from sphinxcontrib-aafig)
  Downloading http://devpi.local:3141/root/pypi/+f/901/7ad567cfaed0f/aafigure-0.6-py2.py3-none-any.whl
Collecting ipython[notebook]>=3.0 (from nb2plots)
  Downloading http://devpi.local:3141/root/pypi/+f/687/3d91d340c6069/ipython-6.2.1.tar.gz (5.1MB)
    Complete output from command python setup.py egg_info:
    
    IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2.
    When using Python 2.7, please install IPython 5.x LTS Long Term Support version.
    Beginning with IPython 6.0, Python 3.3 and above is required.
    
    See IPython `README.rst` file for more information:
    
        https://github.com/ipython/ipython/blob/master/README.rst
    
    Python sys.version_info(major=2, minor=7, micro=13, releaselevel='final', serial=0) detected.
    
    
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sFnW_9/ipython/

ERROR: could not install deps [sphinx, sphinxcontrib-aafig, nb2plots, hieroglyph]; v = InvocationError('/.tox/html/bin/pip install sphinx sphinxcontrib-aafig nb2plots hieroglyph (see /.tox/html/log/html-1.log)', 1)
_________________________
@matthew-brett
Copy link
Owner

Thanks a lot for the report. I don't get that error just doing a pip install nb2plots into a fresh Python 2.7 virtualenv. IPython has set itself up so pip installs the earlier version on Python 2.7, by default. Do you have any idea why that isn't working in your case? Which Python version are you using? What pip version do you have?

@matthew-brett
Copy link
Owner

@arthurlogilab - did you have any luck working out how your install differs from a fresh virtualenv install?

@frenzymadness
Copy link
Contributor

This issue is kinda old but still … It might be caused by too old pip because pip < 9 cannot properly recognize which version of a package to pick up for your Python version. Try to update pip first via pip install -U pip

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

3 participants