昨天试了一些方法不行,今天解决了,记录一下
终端运行:
pip install pyserial
提示警告:
WARNING: You are using pip version 21.2.4; however, version 22.1 is available.
You should consider upgrading via the 'C:\Users\Lenovo\AppData\Local\Programs\Python\Python310\python.exe -m pip install --upgrade pip' command.
直接
python -m pip install --upgrade
后依旧提示警告 版本不对
之后:
python -m pip install --upgrade pip
Starting Python ...
Requirement already satisfied: pip in e:\program\amesim\install\amesim\sys\python\win64\lib\site-packages (21.3.1)
pip install --target=e:\program\amesim\install\amesim\sys\python\win64\lib\site-package
s pyserial
成功
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)