服务器上装着python2和python3.
python2装了psycopg2,pip show可以看到,但是import失败,pip uninstall也不行显示
Cannot uninstall 'psycopg2'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
python3没有psycopg2,pip3 install显示
command 'gcc' failed with exit status 1
按照网上说的安装python3-devel也没卵用