Python 您所在的位置:网站首页 serial驱动需要装吗 Python

Python

2023-12-19 10:00| 来源: 网络整理| 查看: 265

安装 pip install serial。下载了一会安装好了,再运行,还是提示同样的错误。上网查了一下,应该安装 pip install pyserial。

https://github.com/pyserial/pyserial         

https://pypi.org/project/pyserial/#files        

如果上述方法安装失败,可能需要下载下来再安装。

在 https://pypi.org/project/pyserial/#files     中,有

Windows下下载这个wheel格式的文件。

————————————————————————————————————————————

关于wheel文件 如果你已经安装了pip,那么你需要把它升级到最新版本。以管理员身份运行cmd转到Python安装目录的Scripts目录下: cd C:\Program Files\Python36\Scriptspip install wheelpip install 路径\文件名.whl: pip install C:\Users\0AQZ0\Downloads\matplotlib-2.1.2-cp27-cp27m-win_amd64.whl


【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有