Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory:
2020-03-01 01:17
591 查看
安装pygame时,dos窗口出现Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory:
下面将方法说一下,希望对大家有所帮助。
经过分析,错误是在当前文件夹中无法找到相应的文件,我的文件在D盘,首先改变目录,输入D:,然后使用cd+相应的文件夹的位置,最后使用pip install,最后安装成功。
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory
- pip安装出现Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '
- Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory
- 安装QScintilla时报错:Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:
- Could not install packages due to an EnvironmentError: [Errno 13] 权限不够: '/usr/local/lib/python3.5/di
- Could not install packages due to an EnvironmentError: [Errno 13] 权限不够: '/usr/local/lib/python2.7/di
- pip install pycurl "Error: Could not run curl-config: [Errno 2] No such file or directory"
- Could not install packages due to an EnvironmentError: [Erroe 13]
- Pip "Could not install packages due to an EnvironmentError: Missing dependencies for SOCKS support."
- Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。
- VScode配置Python环境更新pip报错——ERROR: Could not install packages due to an EnvironmentError: [WinError 5]
- Could not install packages due to an EnvironmentError: [WinError 5]
- Python 更新pip报错:Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问
- Could not install packages due to an EnvironmentError: Missing dependencies for SOCKs support
- python的pip10.1版本出现了安装包时的错误Could not install packages due to anEnvironmentError: [WinError 5] 拒绝访问
- Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问
- windows 安装python pip Could not install packages due to anEnvironmentError: [WinError 5] 拒绝访问
- ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。
- 安装 pyspider ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory
- Xcode 错误- Could not launch app - No such file or directory Error.