出现Running setup.py install for psycopg2 … error错误
sudo apt-get update sudo apt-get upgrade sudo apt-get install python-psycopg2 sudo apt-get install libpq-dev pip3 install psycopg2
如果出现Building wheel for python-ldap (setup.py) … error错误
解决方法:
sudo apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)