![](/img/trans.png)
[英]Spent like an hour trying to fix this I'm getting no where someone please help.. python
[英]please I'm trying to install bpy but i keep getting this error can someone help me?
使用缓存的 bpy-0.0.0a0.tar.gz (19 kB) 准备元数据 (setup.py)... 错误错误:subprocess-exited-with-error
× python setup.py egg_info 没有运行成功。 │ 退出代码:1 ╰─> [17行输出] Traceback(最近一次调用最后一次):文件“C:\Users\kwale cedric\AppData\Local\Programs\Python\Python310\lib\tokenize.py”,行344,在 find_cookie 编解码器 = 查找(编码)查找错误:未知编码:future_fstrings
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 28, in <module>
File "C:\Users\kwale cedric\AppData\Local\Programs\Python\Python310\lib\tokenize.py", line 396, in open
encoding, lines = detect_encoding(buffer.readline)
File "C:\Users\kwale cedric\AppData\Local\Programs\Python\Python310\lib\tokenize.py", line 383, in detect_encoding
encoding = find_cookie(second)
File "C:\Users\kwale cedric\AppData\Local\Programs\Python\Python310\lib\tokenize.py", line 352, in find_cookie
raise SyntaxError(msg)
SyntaxError: unknown encoding for 'C:\\Users\\kwale cedric\\AppData\\Local\\Temp\\pip-install-dc132n33\\bpy_e9289df316154351a1730ff323d0ba6b\\setup.py': future_fstrings
[end of output]
注意:此错误源自子进程,可能不是 pip 的问题。 错误:元数据生成失败
× 生成 package 元数据时遇到错误。 ╰─> output见上。
注意:这是上面提到的 package 的问题,而不是 pip 的问题。 提示:详见上文。
bpy 的 PyPi 页面似乎包含关于“fstrings”的说明:
py -3.7-64 -m pip install --upgrade pip wheel future-fstrings
发现于:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.