Psycopg2 fails to install on python 3 with pip issuing a fatal error

前端 未结 4 1692
猫巷女王i
猫巷女王i 2020-12-19 15:39
$ yum install python3 postgresql python-devel libpqxx-devel
Loaded plugins: langpacks, refresh-packagekit
Package python3-3.3.2-8.fc20.x86_64 already installed and l         


        
4条回答
  •  再見小時候
    2020-12-19 16:20

    Install the python3-devel package to get it work

    sudo dnf install python3-devel
    

    If it works then alright or if it requires libpq-fe.h file then install it using the command:

    sudo dnf install postgresql-devel
    

提交回复
热议问题