编辑:我在评论或其他答案中建议的答案主要用于linux或使用brew安装的默认python。我面临的问题是使用pyenv安装的python版本。
当我试图使用pip安装任何软件包时,都会收到以下错误消息:
WARNING: pip is configured with locations that require TLS/SSL, however the SSL module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming t
$ sudo pip install numpy # or anything else
错误:
The directory '/home/user/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo'
我正在尝试使用OIDv4()从开放图像数据集下载花朵数据集,程序可以运行,但最终结果是一个巨大的CSV文件,其中包含整个开放图像数据集和零图像
我在anaconda虚拟环境中运行该程序,并且已经安装了所需的库。下面是我收到的错误消息
File "C:\ProgramData\Anaconda3\Scripts\aws.cmd", line 50, in <module>
File association not found for extension .py
import awscli.clidriver
File "C:\Users\xlim027\App
我在一个系统上安装paramiko时遇到了问题。同样的命令以前也有效,但是后来发生了一些变化,我重新安装了Python,现在paramiko将不会安装。我使用的是Windows 7和Python 3.6.4。Pip返回以下错误:
C:\Users\me>pip --trusted-host pypi.python.org install paramiko
Collecting paramiko
Could not fetch URL https://pypi.python.org/simple/paramiko/: There was a problem confirming the
当我尝试使用pip3时,在发出命令后,它会显示以下错误:
from OpenSSL import crypto, SSL File "/usr/local/lib/python3.5/dist-packages/OpenSSL/SSL.py", line 194, in <module>
if _lib.Cryptography_HAS_SSL_ST: AttributeError: module 'lib' has no attribute 'Cryptography_HAS_SSL_ST'
同样的问题发生在我运行pip
我正在尝试运行pip命令并在mac os上安装一个依赖项,但我只是收到了如下所示的错误消息
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS
我使用sudo pip uninstall packagename在ubuntu中卸载了一些python包,之后我的pip就被破坏了。当我做pip -V的时候,它展示了这个
from pip._internal.download import PipSession
File "/usr/local/lib/python2.7/dist-packages/pip/_internal/download.py", line 15, in <module>
from pip._vendor import requests, six, urllib3
F
我正在我的Linux服务器上安装Django。我已经成功地安装了Python和pip,但是当我运行这个时会得到SSL错误。
pip install Django
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting Django
Could not fetch URL https://pypi.python.org/simple/django/: There was a problem confirming t
我正在尝试在我的Mac上安装PIP包管理系统,但是我得到了一个错误。 当我编写一个cod sudo easy_install pip时,它给出了以下错误: Searching for pip
Reading https://pypi.python.org/simple/pip/
Download error on https://pypi.python.org/simple/pip/: [SSL:
TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) -- Some packages may not b
我在Catalina上使用PythonAir13‘,并使用PyCharm进行MacBook 3.8.3编码。我一直在尝试使用pip 21.1.3将包安装到项目中,但是,这个问题总是出现: Could not fetch URL https://pypi.org/simple/audioplayer/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/
我想在RStudio中为R使用Keras & Tensorflow包。
每次使用install_keras()或install_tensorflow()命令时,都会得到以下错误:
Collecting keras
Could not fetch URL https://pypi.python.org/simple/keras/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)
在升级了我的ubuntu服务器16.04之后,我无法为python3.6安装带有pip3的模块。这就是我尝试为python3安装tensorflow-gpu时得到的结果:
root@amax:~# pip3 install tensorflow-gpu
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting tensorflow-gpu
Could not fetch URL https://pypi.python
我正在尝试安装,但是使用pip时遇到了问题。
按照https://kivy.org/doc/stable/installation/installation-linux.html上的说明,我得到以下错误。
有人能帮忙吗?我应该在这里发表什么意见来解决这个问题?
$ python -m pip install --upgrade --user pip setuptools virtualenv
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not availab
在我的家庭办公室,我使用Ubuntu12.04。现在,我尝试用netcdf4配置python。我安装了很多软件包,如numpy,熊猫,matplotlib,hdf5,cython,h5py,.当我试图安装netcdf4时,我收到了错误消息:
Collecting netcdf
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages /urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SN
我尝试在conda环境中的Mac上安装最新版本的rpy2,方法是进入Conda Navigator中的环境,单击我的环境,然后搜索rpy2。但是,这个最新版本没有显示出来。 我还尝试通过终端进行安装,使用: pip install rpy2 这将生成以下错误消息: Could not fetch URL https://pypi.python.org/simple/rpy2/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protoco
我试图通过pip安装MechanicalSoup包,但得到了以下错误:
Download error on https://pypi.org/simple/pytest-runner/: [SSL:
TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version
(_ssl.c:645) --
Some packages may not be found!
Couldn't find index page for 'pytest-runner' (mayb