question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pip installs version 0.9.0 on Python 2.7

See original GitHub issue

Last night I put out the 0.8.6 release which works on either Python 2.7 or 3.4+ and contains various bug fixes.

This morning I put out the 0.9.0 release which only supports Python 3.4+. I noticed that when using pip with a Python 2.7 release that pip now attempts to install cmd2 version 0.9.0, which it should not.

We thought we had properly modified setup.py so that version 0.9.0 would only attempt to install on Python 3.4+. Obviously, something is wrong. We need to either fix setup.py or find a way to modify the configuration on PyPI so that on Python 2.7, version 0.8.x installs, but on Python 3.4+ version 0.9.x installs.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:28 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
mmalchukcommented, May 30, 2018

didn’t work either

$ pip2 install cmd2 Collecting cmd2 Downloading >https://files.pythonhosted.org/packages/07/4a/f8c16175fa806b9c81f60688411b09a84a23decf774f2cdd5657e43dfe9b/cmd2-0.9.0.post1.tar.gz (136kB) 100% |████████████████████████████████| 143kB 1.8MB/s cmd2 requires Python ‘>=3.4’ but the running Python is 2.7.15

1reaction
tleonhardtcommented, May 30, 2018

@queria Thanks for the heads up regarding it being broken again! So much for the good intentions on my part trying to “fix things more”.

I deleted the 0.9.0.post1 release, including the files this time.

Hopefully things should be back to the way they were.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation — Locust 0.9.0 documentation
0 is the latest version available. Installation¶. Locust is available on PyPI and can be installed with pip. for Python 2.7:.
Read more >
version 0.9.0 has dropped PY2 support but is still installable
Package version (if known): 0.9.0. Describe the bug. According to 0.9.0 release notes, python < 3.5 is no longer supported, but is still ......
Read more >
jedi 0.9.0 - PyPI
pip install jedi==0.9.0. Copy PIP instructions. Newer version available (0.18.2) ... If you want to test only a specific Python version (e.g. Python...
Read more >
Installation — FabIO 0.9.0 documentation - silx
PIP is the Python Installer Program, similar to apt-get for Python. It runs under any architecture. Since Python 2.7.10 and 3.4, PIP is...
Read more >
Installation — TRANSIT v3.2.2 documentation
The following libraries/modules are required to run TRANSIT: Python 2.7 · Numpy (tested on 1.15.0); Statsmodels (tested on 0.9.0); Scipy (tested on 1.1) ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found