赞
踩
1、sudo apt install python3-pip 2、sudo apt update 3、sudo apt install make build-essential libssl-dev zlib1g-dev liblzma-dev 4、sudo apt install libbz2-dev libreadline-dev libsqlite3-dev llvm 5、sudo apt install libncurses5-dev libncursesw5-dev xz-utils tk-dev 6、sudo pip3 install pyinstaller
inux将python3设为默认的 python
sudo rm -rf /usr/bin/python
删除后再建立新的链接关系:
sudo ln -s /usr/bin/python3 /usr/bin/python
如果想还原回原python2.7,只需
sudo rm -rf /usr/bin/pythonsudo ln -s /usr/bin/ptyhon2.7 /usr/bin/python
临时打开串口权限:sudo chmod 666 /dev/ttyS0
pip install --no-deps PyQt5-stubs==5.15.6.0
python.exe -m pip install --upgrade pip
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。