电脑无法安装python-无法安装Python库
我无法安装任何Python库.我正在使用pip 9.0.1和python 2.7.我收到以下错误:
EN-NishantS:~ 8417$pip install presto-python-client
Collecting presto-python-client
Could not find a version that satisfies the requirement presto-python-client (from versions: )
No matching distribution found for presto-python-client
在使用pip install -vvv运行时,我得到以下内容:
Collecting presto-python-client
1 location(s) to search for versions of presto-python-client:
* https://pypi.python.org/simple/presto-python-client/
Getting page https://pypi.python.org/simple/presto-python-client/
Looking up "https://pypi.python.org/simple/presto-python-client/" in the cache
No cache entry available
Starting new HTTPS connection (1): pypi.python.org
"GET /simple/presto-python-client/ HTTP/1.1" 403 170
Status code 403 not in [200, 203, 300, 301]
Could not fetch URL https://pypi.python.org/simple/presto-python-client/: 403 Client Error: TLSv1.2+ is required for url: https://pypi.python.org/simple/presto-python-client/ - skipping
Could not find a version that satisfies the requirement presto-python-client (from versions: )
Cleaning up...
No matching distribution found for presto-python-client
Exception information:
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/commands/install.py", line 324, in run
requirement_set.prepare_files(finder)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_set.py", line 554, in _prepare_file
require_hashes
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/req/req_install.py", line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/index.py", line 514, in find_requirement
'No matching distribution found for %s' % req
DistributionNotFound: No matching distribution found for presto-python-client
Looking up "https://pypi.python.org/pypi/pip/json" in the cache
No cache entry available
Starting new HTTPS connection (1): pypi.python.org
"GET /pypi/pip/json HTTP/1.1" 403 170
Status code 403 not in [200, 203, 300, 301]
There was an error checking the latest version of pip
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/utils/outdated.py", line 128, in pip_version_check
resp.raise_for_status()
File "/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/models.py", line 862, in raise_for_status
raise HTTPError(http_error_msg, response=self)
HTTPError: 403 Client Error: TLSv1.2+ is required for url: https://pypi.python.org/pypi/pip/json
电脑无法安装python-无法安装Python库相关推荐
- 离线安装python第三方库的实用方法:解决公司内网,服务器/电脑不能上网却需要安装python三方库问题(上:Windows环境中)
离线安装python第三方库的实用方法:解决公司内网,服务器/电脑不能上网却需要安装python三方库问题(上:Windows环境中) 参考文章: (1)离线安装python第三方库的实用方法:解决公 ...
- .net安装_无需安装Python,就可以在.NET里调用Python库
作者 | Meinrad Recheis 译文来源 | 草根专栏(ID:Cgzl-Tech) Pythonnet这个屌爆的项目的出现,使得我们可以用一种新的方式,让C#可以和Python之间进行 ...
- python怎么安装requests库-Python3.6安装及引入Requests库
本博客可能没有那么规范,环境之类的配置.只是让你直接开始编程写python. 至于各种配置网络上有多种方法. 本文仅代表我的观点的一种方法. 电脑环境:win10 64位 第一步:下载python. ...
- 苹果电脑安装python-在Mac上安装Python环境
一. 安装python mac系统其实自带了一个python的执行执行环境,用来运行python还行,但是开发可能就不够了,因此我们需要重新安装python.这里有两种方案安装: 1.在电脑上安装ho ...
- python怎么安装requests库-Python3.6安装及引入Requests库的实现方法
本博客可能没有那么规范,环境之类的配置.只是让你直接开始编程写python. 至于各种配置网络上有多种方法. 本文仅代表我的观点的一种方法. 电脑环境:win10 64位 第一步:下载python. ...
- python需要安装的库_使用python学习【机器学习】需要安装的库~
---------------------------------------------------------------------------------------------------- ...
- python的opencv库_用于Python的Opencv可视化库安装,面向,OpenCV,视觉
计算机视觉最重要的库莫过于OpenCV,ananconda功能很强大,但是也有比较重要的几个库,还没做成集成开发环境,需要自己安装. 在安装的过程中也走了许多弯路,因为安装的方法有许多许多,有些随着O ...
- python如何安装panda数据库_在Pycharm中安装Pandas库方法(简单易懂)
开发环境的搭建是一件入门比较头疼的事情,在上期的文稿基础上,增加一项Anaconda的安装介绍.Anaconda是Python的一个发行版本,安装好了Anaconda就相当于安装好了Python,并且 ...
- python package安装包_安装Python包(第三方库)
检查python版本 如果"提示 'python' 不是内部或外部命令,也不是可运行的程序或批处理文件.",可能有2种原因 1.进入的目录不对 (切换目录后再查看) C:\User ...
- 如何检查python的库是否安装成功_Python——查看安装位置和安装的库
查看Python 安装位置和安装的库 步骤一: 1. Start 一个command prompt 2. 找到电脑中已经安装的Python 位置: where python 1 打开路径, cd 到输 ...
最新文章
- Data guard概念篇一(转载)
- 如何在 Shell 脚本中执行语法检查调试模式
- php 点击删除数据,使用php脚本删除数据
- 拾取模型的原理及其在THREE.JS中的代码实现
- F. Cowmpany Cowmpensation(树形dp + 拉格朗日插值)
- 世界时钟 软件_Clocker for Mac(世界时钟软件)
- 【机器学习】机器学习用到的常用术语
- Java笔记-JdbcTemplate批量执行insert及update
- python类和对象基础_Python(基础)---类和面向对象编程
- 防止浏览器嗅探音视频--blob对象在audio和video标签中的使用
- 【SELinux】vendor_file_contexts没有被编译到vendor/etc/selinux/路径下
- SSRF漏洞-Gopher协议扩展利用
- 基于微信小程序的实验室管理系统 文档+云开发项目源码及云数据库+部署说明
- 当下OA系统的使用缺陷以及相关解决方案
- Spring中如何操作JDBC
- Anton and Fairy Tale
- 看过之后,今年的深信服创新大会确实有点儿不一样……
- 绁炵粡缃戠粶鏁版嵁鏍煎紡,鏂囨湰绁炵粡缃戠粶
- 前端错误监控与错误日志
- c 语言的产生及发展过程,在意识的产生和发展过程中,起决定性作用的是( ) A.人脑B.语言C.物质D.劳动 - 赏学吧...
热门文章
- (4)打鸡儿教你Vue.js
- SSH学习-Hibernate关联查询
- WMIC 命令如何使用?
- singleInstance和singleTask导致startActivityForResult回调失败
- 安装MySQL时出现黄色感叹号,提示3306已被占用
- HDU_oj_2050 折线分割平面
- java基础学习,一些零散的笔记之内部类
- IIS7.5 HTTP 错误 500.19 - Internal Server Error 问题的解决方案
- ASP.NET在IE10中Form表单身份验证失效问题解决方法
- python资料库-Python对接六大主流数据库(只需三步)