1.Error: pg_config executable not foun
sudo apt-get install libpq-dev python-dev
2. EnvironmentError:mysql config not found
sudo apt-get install libmysqld-dev
3.error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
sudo apt-get install libxml2-dev libxslt1-dev python-dev
4.fatal error: ffi.h: No such file or directory
sudo apt-get install libffi-dev
5.openssl/aes.h: No such file or directory
sudo apt-get install libssl-dev
6.pg_config executable not found.
sudo apt-get install libpq-dev
7.生成配置文件执行tox -egenconfig出错
ERROR:oslo_messaging._drivers.zmq_driver.zmq_async:ZeroMQ not found!
需要安装pyzmq,安装需要依赖
sudo apt-get install libzmq3-dbg libzmq3-dev libzmq3
easy_install pyzmq
本文汇总了多种Python在连接数据库过程中遇到的典型错误及其解决方案,包括找不到pg_config、mysql配置未找到、编译失败等问题,并提供了具体的包安装指令。
116

被折叠的 条评论
为什么被折叠?



