sense-emu未检测到模拟器并且不支持close_fds

时间:2018-12-08 12:30:45

标签: python python-3.x raspberry-pi

我正在尝试在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

我正在使用python 3.6

0 个答案:

没有答案