用PIP 安装或升级python遇到错误提示 $ pip install pythons Collecting pythons Could not find a version that satisfies the requirement pythons (from versions: ) No matching distribution found for pythons 这是因为网络的问题,需要使用国内的镜像源来加速,比如豆瓣源 命令改为: pip install scikit-image …
python下载.whl安装文件后使用pip安装有时候会提示报错"xxxxx not a supported wheel on this platform",应该是下载的库文件版本与当前运行的python不一致,重新下载安装包即可. 一般第三方库都会同时支持好几个python版本和环境,如何正确选择下载的安装包呢?例如安装OpenCV第三方库,官网上有这么多安装文件: 可以通过以下方法查看应该下载怎么样的安装文件: 打开DOS命令行,进入python交互界面: C:\Python36\…
问题 pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. 本人使用 Cmder 使用 python ,无需写环境变量 set PATH=%ConEmuBaseDir%\Scripts;%PATH%;C:\Users\admin\AppData\Local\Libssl alias py2=C:\Users\admin\Miniconda2…
Ubuntu 18.04 上 使用 pip 安装 opencv-python,出现的错误如下: 1 ~$: pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple 2 DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no lon…