在安装Python3.7可能遇到如题的错误,只需安装uuid库就可以
ubuntu下安装uuid链接库
sudo apt-get install uuid-dev
CentOS
yum install libuuid-devel
对于以下的问题
The necessary bits to build these optional modules were not found:
_bz2 _curses _curses_panel
_dbm _gdbm _lzma
_sqlite3 _ssl _tkinter
readline zlib
需要安装
apt-get install libbz2-dev libncurses5-dev libgdbm-dev liblzma-dev sqlite3 libsqlite3-dev openssl libssl-dev tcl8.6-dev tk8.6-dev libreadline-dev zlib1g-dev
解决No module named ‘_ctypes’
apt install libffi-dev