在 python 中安装街机包时出现问题
problem in installing arcade package in python
我在使用 pip install arcade 命令安装 arcade 包时遇到错误,它开始下载并成功,但在安装时遇到描述与 matadata 相关的错误的错误。
enter image description here
错误:命令出错,退出状态为 1:
'c:\program files\python39\python.exe'
'C:\Users\kaush\AppData\Roaming\Python\Python39\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel
'C:\Users\kaush\AppData\Local\Temp\tmpm02r2wt7'
enter image description here
这是 python3.9 中的一个错误,但它可以很容易地在 python 的早期版本中工作,即 python3.8.6 以下步骤显示了如何在 python3.8.6:
- 卸载最新版本,即 python 3.9 或任何其他版本。
- 转到文件在您的 PC 中存储的路径,在我的例子中,路径是
C:\Users\kaush\AppData\Local\Programs\Python\
因为您必须删除文件夹 python39 如果您已经卸载 python3.9.
通过 arcade file 访问站点并下载文件。
现在从python下载python版本3.8.6并安装到你的电脑上。
安装后打开命令提示符并键入pip install <arcade whl file full name you downloaded from the link in step 3> and press enter.
只需等待几分钟即可安装。
此过程在 window 有效。
我在使用 pip install arcade 命令安装 arcade 包时遇到错误,它开始下载并成功,但在安装时遇到描述与 matadata 相关的错误的错误。
enter image description here 错误:命令出错,退出状态为 1: 'c:\program files\python39\python.exe' 'C:\Users\kaush\AppData\Roaming\Python\Python39\site-packages\pip_vendor\pep517_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\kaush\AppData\Local\Temp\tmpm02r2wt7'
enter image description here
这是 python3.9 中的一个错误,但它可以很容易地在 python 的早期版本中工作,即 python3.8.6 以下步骤显示了如何在 python3.8.6:
- 卸载最新版本,即 python 3.9 或任何其他版本。
- 转到文件在您的 PC 中存储的路径,在我的例子中,路径是
C:\Users\kaush\AppData\Local\Programs\Python\
因为您必须删除文件夹 python39 如果您已经卸载 python3.9.
通过 arcade file 访问站点并下载文件。
现在从python下载python版本3.8.6并安装到你的电脑上。
安装后打开命令提示符并键入
pip install <arcade whl file full name you downloaded from the link in step 3> and press enter.
只需等待几分钟即可安装。
此过程在 window 有效。