pip install --pre cannot install pandas pre-release version
See original GitHub issueDescription
python3.7 -m pip install --pre "pandas<1.2.0"
installs 1.1.5
and does not install pre-release version 1.2.0rc0
of pandas, but from the pypi https://pypi.org/project/pandas/#history , the pre-release version 1.2.0rc0
exists.
Then I tried this python3.7 -m pip install --pre "pandas<1.2.0,>1.1.5"
, but it said that no such version match the range.
ERROR: Could not find a version that satisfies the requirement pandas<1.2.0,>1.1.5
ERROR: No matching distribution found for pandas<1.2.0,>1.1.5
Expected behavior
python3.7 -m pip install --pre "pandas<1.2.0,>1.1.5"
should install the existing pre-release version 1.2.0rc0
.
pip version
21.0.1
Python version
3.7.10
OS
Ubuntu 20.04.2 LTS (Focal Fossa)
How to Reproduce
Run python3.7 -m pip install --pre "pandas<1.2.0,>1.1.5"
Output
ERROR: Could not find a version that satisfies the requirement pandas<1.2.0,>1.1.5
ERROR: No matching distribution found for pandas<1.2.0,>1.1.5
Code of Conduct
- I agree to follow the PSF Code of Conduct.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Pre-release versions are not matched by pip when using the
By default, pip only finds stable versions. The premise of the question is that the --pre option should change the package-version-matching ...
Read more >pip install is downloading pre-release version without ... - GitHub
I have created a new gnuhealth pre-release package using PEP440 versioning (3.3a1). The problem is that if someone types "pip install --user ...
Read more >Error: Could not build wheels for pandas in Python | bobbyhadz
To solve the error "Could not build wheels for pandas", run the pip install --upgrade pip command to upgrade your pip version and...
Read more >Installation — pandas 1.5.2 documentation
Installing from PyPI pandas can be installed via pip from PyPI. You must have pip>=19.3 to install from PyPI.
Read more >Common Pipenv Errors and How to Solve Them: Why Won't it ...
You can resolve pre-release version conflicts by adding the --pre flag to the installation. pipenv install --pre. After this command, your Pipfile has...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
--pre
included prereleases, it does not exclude non-pre releases.sorry, the auto completion make me type wrong username. 😿 @uranusjr