在windows机器上尝试使用带有asyncio的pyserial。def get_from_serial_port(self): serial_data = yield from self.get_byte_asyncself.s.inWaiting()) return data
# Runs blocking function in executor, yiel
我正在尝试导入PySerial import serial,但我得到了一个ModuleNotFoundError: No module named 'serial'。我通过conda install pyserial安装了PySerial,并且我也尝试了使用pip install pyserial,在这两种情况下,我都得到了相同的错误,但是如果列表中出现executeconda list或pip list pyserial。我在Windows上使用VS代码,卸载并重新安装了Ancond
': ('https://pythonhosted.org/pyserial/', None),我的index.rst中有以下内容
This project depends on the :ref:`pyserial <pyserial:???我希望链接指向http://pythonhosted.org/pyserial/,intersphinx_mapping中的根URL,但我不知道???应该是什么。