【发布时间】:2019-07-13 16:30:21
【问题描述】:
我对编码比较陌生,所以我(还没有)运行虚拟环境。相反,我只是将带有 pip 的软件包直接下载到我的电脑上,以便在 atom 中运行 python 3.7。
当我前几天尝试使用 pip 安装 scrapy 包时,像这样-m pip install --user scrapy
我收到此错误:Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: 'c:\\users\\adrian\\appdata\\roaming\\python\\python37\\site-packages\\pip-19.0.1.dist-info\\METADATA'
我在相关错误中看到的大多数其他答案是人们使用 conda 来安装我认为的某种类型的修复程序?当我尝试使用 conda 执行其中一项修复时,我收到了 CondaHTTPError:SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/free/noarch/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available.
任何方向都将不胜感激:-)
【问题讨论】:
-
我在此处列出的第一个副本中添加了另一种可能适用于某些人的方法:stackoverflow.com/a/58082184/10682164