Ubuntu16.04 安装python3.7和pip3

到官网下载源码

装个依赖包:apt-get install libffi-dev

三部曲

./configure

make

make install

但此时pip3可能不行,加个local,前提是前面三步都没报错

Ubuntu16.04 安装python3.7和pip3

错误参考:

https://askubuntu.com/questions/1025189/pip-is-not-working-importerror-no-module-named-pip-internal

https://github.com/pypa/pip/issues/4924

报这种错:

return Command 'lsb_release -a' returned non-zero exit status 1

运行 rm /usr/bin/lsb_release

上一篇:chmod命令用法详解-chmod修改目录权限


下一篇:JS的防抖和节流