我已经使用pip install opencv-python通过cmd下载了opencv。但是,当我在py魅力中运行简单的读-写程序时,当我搜索时它无法加载import cv2命令,我开始了解到pycharm还有其他方式来安装opencv。我做了setting->project->project interperter,然后搜索opencv-python,但是在安装过程中给出了这个错误:
Collecting opencv-python
Could not fetch URL https://pypi.org/simple/opencv-python/: There was a
我是Python的新手,需要为我正在做的一个项目下载一些模块,然而,每当我尝试下载pip时,我都会收到这个错误。这个错误会不会是防火墙的结果?如果是这样的话,我有没有办法安装pip?
U:\>Py get-pip.py
WARNING: pip is configured with locations that require TLS/SSL, however
the ssl module in Python is not available.
Collecting pip
WARNING: Retrying (Retry(total=4, connect=None, read=Non
我正在尝试通过bash脚本/终端安装pip3。我使用以下命令:
curl -O https://bootstrap.pypa.io/get-pip.py
/usr/local/bin/python3.6 get-pip.py
当我运行这两个命令时,我会得到一些我不理解的奇怪错误。请有人解释一下这些错误意味着什么,以及如何修复它们(或者告诉我是否有比brew更好的安装pip3的方法)?
Operating system: Mac OSX
% Total % Received % Xferd Average Speed Time Time Time Current
问题
无论我尝试用pip从终端安装什么(macOS 10.12),我都会收到以下错误消息
我以前可能已经安装并完全删除了自制软件,但我不知道如何解决这个问题。
安装我尝试运行(所有情况相同的错误消息)
pip install -r requirements.txt
pip install django-storages
pip install ssl
错误消息
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WAR
我刚刚在电脑上安装了PyCharm,我想在WIN7上下载numpy。我将pip install numpy放在PaCharm的终端中,但得到以下错误: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting numpy
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection br
我试试看:
pip install numpy
我明白了:
The directory '/home/teoman/.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's -H flag.
pip is c
hbp@pop-os:~$ pip3 install Django
Defaulting to user installation because normal site-packages is not writeable
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None,
嗨,我已经安装了Anaconda/jupyter笔记本,但是有一个错误
这就是出现的文本
C:\Users\DELL>pip install pygame
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after conne
我尝试了很多不同版本发布的东西,但都无法解决这个问题。在脚本位置有什么要替换的吗?或者添加任何代码?
C:\Users\HARSHA>pip install speechrecognition
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting speechrecognition
Retrying (Retry(total=4, connect=None, read=None, redirect=None
在我的2020.3版本中,当我尝试用pip3安装请求时,我得到了这个错误,...Can任何人帮助我,我不能理解它
root@kali:~# pip3 install requests
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after
我从中看到解决方案是运行:
sage --pip install pycrypto
然而,当我尝试这样做时,我会得到以下错误:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'S
我在PyCharm中安装软件包时遇到了问题。我试图安装SpeechRecognition和其他软件包,我总是得到这样的结果: Collecting SpeechRecognition
Could not fetch URL https://pypi.org/simple/speechrecognition/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /sim
我正在尝试安装quandl以便在Jupyter notebook中使用。py -m pip install quandl 但是我得到以下错误,Python中的SSL模块不可用。 Collecting quandl
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is
每次我尝试通过pip安装什么东西时,它都会说: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS
如何在Anaconda3 (Python3.7) windows 10机器上安装pyttsx?我试着安装,但是得到了错误
ERROR: Could not find a version that satisfies the requirement pyttsx3 (from versions: none)
ERROR: No matching distribution found for pyttsx3
C:\Users\Ramesh\Anaconda3\Scripts>pip install pyttsx3
WARNING: pip is configured with locati
我是PyCharm的新手,我想在我的项目中安装熊猫。因此,我在PyCharm终端中使用了以下命令(因为第一个命令没有工作)来执行它。
>pip install pandas
>python -m pip install pandas
我对他们两个都犯了同样的错误。
错误:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting pandas
Retrying (Retry(total=4, connec
在Win10中安装Qt (5.14.2)之后,我在PyCharm 2020.1中创建了一个新项目。在项目设置对话框中,我尝试安装了PyQt5和qtpy包。我得到以下错误: Collecting PyQt5
Could not fetch URL https://pypi.org/simple/pyqt5/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simp
我发现了一个错误:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
在visual代码中试图在虚拟环境中安装numpy时。我注意到以下几点:
如果我在VS代码中在虚拟环境之外执行“”,一切都很好。
当我使用"py -3 -m venv NameOfVirtualEnvironment“在VS代码中创建虚拟环境时,没有创建.vscode文件。
我不能做“posts”或任何其他记忆来修复这个问题,就像前面类似文章中所
我的系统配置是: 操作系统:与蟒蛇一起安装的Windows10 Python。 当我尝试使用pip install selenium命令通过pip安装"Selenium“时。它会给出以下错误: D:\>pip install selenium
WARNING: pip is configured with locations that require TLS/SSL, however the ssl
module in Python is not available.
Collecting selenium
WARNING: Retrying (Retry(to
我用的是ubuntu。
我想安装tensorflow-gpu==1.15.0
python3.7 -m pip install tensorflow-gpu==1.15.0
我得到了这个,艾罗:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))
我是keras的新手,我试图在我的计算机上使用this在运行Windows10的计算机上安装keras和tensorflow in R,但标题中出现错误: install_keras()
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
All requested packages already installed.
WARNING: pip is configured with locations that r
因此,这可能听起来像是多个其他pots (,)的副本,但这些pots都不能解决我的问题。
我正在尝试运行pip3 install pipenv命令,但收到以下错误
$ pip3 install pipenv
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=
我正在尝试安装reverse_geocoder模块,但一直收到以下错误 PS C:\Users\Raneem> pip install reverse_geocoder
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting reverse_geocoder
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=Non
我已经在我的Windows10系统上安装了Anaconda3,但由于某种原因,似乎没有任何脚本工作!
因此,为了安装jupyter笔记本,我尝试使用pip进行以下操作:
python -m pip install jupyter notebook
但我经常遇到以下错误:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting jupyter
Retrying (Retry(total=4, connect=None
在运行以下命令时 pip install --upgrade pip 它显示以下错误,即使我无法安装任何其他包,因为它显示升级pip first。 WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broke
我从这里安装了python3.7,当我尝试使用/ https://tecadmin.net/install-python-3-6-on-centos/ /install pip时,我得到了以下错误: [cloudera@quickstart Python-3.7.6rc1]$ sudo pip3 install --upgrade
WARNING: pip is configured with locations that require TLS/SSL,
however the ssl module in Python is not available.
ERROR: You must g
我有一些使用密码的python代码
from Crypto.Random.random import getrandbits
from Crypto import Random
from Crypto.Random import random
from Crypto.PublicKey import ElGamal
import socket
import time
当我运行文件时,我会得到错误的Traceback (most recent call last): File "./alice_solution.py", line 6, in <module> fro
我想在我的虚拟环境中导入一些模块,比如Flask、Pandas、Matplotlib等等。但问题是终端会返回以下问题:
(env) PS C:\Users\User\Desktop\Mehr\Python\Blockchain-Course> pip install matplotlib
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, con
这与其说是一个问题,不如说是一个解决方案。我发现Stackoverflow上的任何解决方案都不适合我。我使用的是RHEL 8,突然我无法通过pip安装(使用的是pip3.6)。错误如下: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) af
我以管理员身份运行cmd,并创建了一个venv和一个pip文件。但是当尝试pipenv install zappa时,它会说(注意:这适用于一切,无论是flask还是libssl-dev等):
Error: An error occurred while installing zappa!
Error text: Could not fetch URL https://pypi.org/simple/zappa/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.or
我正在尝试用PyDev在Eclipse上导入numpy,我得到了如下结果: ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try git clean -xdf (removes all
files not under version control). Otherwise reinst
我正在使用一台运行Linux6的旧服务器,我被要求在机器上安装aws,这样我们就可以直接将文件保存到s3桶中。这需要python3.4或更高版本(从2020年1月开始)。
第一次尝试之后,我收到了以下错误:
# pip3 install awscli --upgrade --user
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Collecting awscli
WARNING: Retrying (Ret