Cannot install botocore 1.25.12 with pip
See original GitHub issueDescribe the bug
When I run pip install botocore==1.25.12
I get an error:
Could not find a version that satisfies the requirement botocore==1.25.12 (from versions: 0.4.1, 0.4.2, ..., 1.25.11)
Expected Behavior
It should be installed without warning.
Current Behavior
pip install botocore==1.25.12 -v
Based on the logs pip collects the available versions from this URL: https://pypi.org/simple/botocore/. When I open this website manually, I also don’t see the mentioned version.
Versions on this page:
...
botocore-1.25.9-py3-none-any.whl
botocore-1.25.9.tar.gz
botocore-1.25.10-py3-none-any.whl
botocore-1.25.10.tar.gz
botocore-1.25.11-py3-none-any.whl
botocore-1.25.11.tar.gz
botocore-1.25.12-py3-none-any.whl
Note that botocore-1.25.12.tar.gz
is missing.
I don’t know in which system the error lies, but you might have some control over it.
Reproduction Steps
pip install botocore==1.25.12
Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.25.12
Environment details (OS name and version, etc.)
Centos7 Python 2.7.5 pip 8.1.2
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
botocore - PyPI
A low-level interface to a growing number of Amazon Web Services. The botocore package is the foundation for the AWS CLI as well...
Read more >AWS Boto3 Compatibility Issue, How can I install an older ...
The problem is when I am installing Boto3 i am getting this message in red. awsebcli 3.20.3 requires botocore<1.24.0,>1.23.41, but you have ...
Read more >Installing botocore - Amazon Elastic File System
Run the following command to install wget . sudo yum -y install wget · Run the following commands to install botocore . sudo...
Read more >Build fails installing awsebcli because of botocore version
Description. We are trying to install awsebcli using the command pip3 install awsebcli --upgrade and it's failing: Could not find a version that...
Read more >AWS Failed to import the required Python library (botocore or ...
Your browser can't play this video. ... [root@demo aws]# pip3.8 install boto3 WARNING: Running pip install with root privileges is generally not a...
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 FreeTop 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
Top GitHub Comments
Ah, I believe you have a few options. If you’re using Python 2.7, we haven’t released a version of Boto3 or the CLI that’s compatible since July of 2021. Pinning your installs to
awscli<1.20
andbotocore<1.21
(boto3<1.18
if needed) should stop pip from trying to grab the latest version and backtracking.A second fix is pip 9.0.2 and later should never try to grab this version of botocore for you. I would recommend trying to upgrade that if possible as it should mitigate the issue as well.
Let us know if you have any other questions or comments on the above options.
Hi @bencehornak-gls, this is a bug in the CDN fronting PyPI. There’s an open tracking ticket in Warehouse (pypa/warehouse#10390), the system that PyPI is built on. We unfortunately have no control over fixing this. It will be resolved either when the CDN cache refreshes, or when we publish a new package (which is generally every weekday by 13:00 PT).
What’s interesting here is that the wheel is available but
pip
isn’t using it. All versions ofpip
released with Python 3.7+ should be defaulting to using the wheel. Could you provide more information about your environment (Python version, pip version, any global pip settings you’ve changed)?