升级到python3.7后,使用pip install会报错:
subprcess.CalledProcessError:Command’(‘lsb_release’, ‘-a’)’ returned …
解决办法:
Vim /use/bin/lsb_release
把第一行由原来的:
#!/usr/bin/python3-Es
改成升级后的版本即可:
#!/usr/bin/python3.7 -Es
python升级到python3..7后的问题
最新推荐文章于 2024-02-02 11:37:58 发布