英文:
I am getting an error while installing neat through pip
问题
I'm only providing translations of non-code content:
当尝试通过pip安装neat时出现以下错误:
C:\Windows\System32>pip install neat
警告:忽略无效的分发 -ip (c:\python310\lib\site-packages)
警告:忽略无效的分发 - (c:\python310\lib\site-packages)
警告:忽略无效的分发 -ip (c:\python310\lib\site-packages)
警告:忽略无效的分发 - (c:\python310\lib\site-packages)
正在收集 neat
正在使用缓存的 neat-0.4.1.tar.gz (88 kB)
准备元数据 (setup.py) ... 出错
错误:子进程退出并出现错误
× python setup.py egg_info 未成功运行。
│ 退出代码:1
╰─> [1 行输出]
在neat设置命令中出现错误:use_2to3无效。
[输出结束]
注意:此错误源自子进程,可能与pip无关。
错误:生成元数据时遇到错误。
× 生成软件包元数据时遇到错误。
╰─> 请参阅上面的输出。
注意:这是上述提到的软件包的问题,而不是pip的问题。
提示:请参阅上面的详细信息。
刚刚尝试安装,但出现了这个错误。
英文:
getting the following error when trying to install neat through pip:
C:\Windows\System32>pip install neat
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
Collecting neat
Using cached neat-0.4.1.tar.gz (88 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in neat setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution -ip (c:\python310\lib\site-packages)
WARNING: Ignoring invalid distribution - (c:\python310\lib\site-packages)
just tried to install but instead got this error
答案1
得分: 1
"maybe the neat is not installed correctly ,
try this
pip install neat-python
also if this doesn't work maybe it's due to some spelling error try share the code"
英文:
maybe the neat is not installed correctly ,
try this
pip install neat-python
also if this doesn't work maybe it's due to some spelling error try share the code
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论