当前位置:   article > 正文

Linux系统内Python打包程序pyinstaller_pyinstaller linux

pyinstaller linux

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

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/657247
推荐阅读
相关标签
  

闽ICP备14008679号