我无法安装任何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
问题内容: 问题答案: 解决: 编辑settings.py
我有一个Python flask应用程序,它需要LDAP身份验证。我正在尝试为此创建Docker文件,Docker生成失败,出现以下错误, 我有python-ldap已经安装,也pip安装-rrequirements.txt工作正常,但Docker给一个错误。我有Mac OS。 我查找了以前的问题,发现您应该尝试安装Dependencies, sudo apt-get安装libsasl2-dev
问题内容: 我试图让django / pip / mysql工作,但我似乎无法弄清楚如何安装mysql-python。这是我尝试安装mysql-python时收到的错误 谷歌搜索显示我需要安装python-dev但无论何时我尝试使用 我收到此错误: 我目前正在使用Linux Mint 15 RC,我认为这可能是问题所在…但我不确定。我没有主意: 问题答案: 尝试通过软件管理器下载python-de
我正在尝试让django/pip/mysql工作,但我似乎不知道如何安装mySQL-Python。这是我在尝试安装mysql-python时收到的错误 Googling显示我需要安装python-dev,但是每当我尝试用 我目前使用的是linux mint 15 RC,我想这可能是个问题...但我不确定。我没主意了:(
问题内容: 我正在尝试使用安装Python库pip,并收到SSL错误: 点子版本:点子9.0.1 如何解决此错误? 问题答案: 升级点如下: 注意:sudo python如果不在虚拟环境中,则可能需要使用以上内容。 (请注意,pip使用pipie进行升级也不会正确升级。这只是一个鸡与蛋的问题。pip除非使用,否则它将无法正常工作。) 如本详细答案所述,这是由于最近对pip的TLS弃用。网站已停止支
问题内容: 我是python新手,遇到了一个我无法解决的问题。我想在python中安装和使用spacy软件包。因此,我打开cmd并运行 安装依赖项时,出现错误消息: 命令““ c:\ users \ xxx \ appdata \ local \ programs \ python \ python37 \ python.exe” -u -c“导入设置工具,标记化; 文件 =’C:\ Users