我对编码比较陌生,所以还没有运行过虚拟环境。相反,我只是用 pip 将软件包直接下载到我的电脑,以在 atom 中运行 python 3.7。
当我试图使用 pip 的一天,安装这样的 -m pip install --user scrapy
的 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.
任何方向都将受到衷心的感谢: -)