senseemu未检测到仿真器,不支持关闭\u fds

2024-06-10 05:09:34 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图在我的windows机器上运行sense emu,但我有多个错误。你知道吗

我做了什么?我安装了sense emu python模块

有哪些错误?你知道吗

E:\VS\SHARED\Python36_64\lib\site-packages\sense_emu\sense_hat.py:91: 
Warning: No emulator detected; spawning sense_emu_gui
warnings.warn(Warning('No emulator detected; spawning sense_emu_gui'))
Traceback (most recent call last):
File "E:/PyCharmProjects/projet-3/main.py", line 5, in <module>
s = SenseHat()
File "E:\VS\SHARED\Python36_64\lib\site-packages\sense_emu\sense_hat.py", 
line 102, in __init__
close_fds=True)
 File "E:\VS\SHARED\Python36_64\lib\subprocess.py", line 624, in __init__
"close_fds is not supported on Windows platforms"
ValueError: close_fds is not supported on Windows platforms if you redirect 
stdin/stdout/stderr

我使用的是python3.6


Tags: inpycloselibpackages错误linesite