本文主要是介绍The necessary bits to build these optional modules were not found: _uuid _bz2 _curse _curses_panel,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
在安装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
这篇关于The necessary bits to build these optional modules were not found: _uuid _bz2 _curse _curses_panel的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!