In the past this installation had been succeeding. If you want to install psycopg2 from source, please install the packagesįor further information please check the 'doc/src/install.rst' file (also atĮrror: command 'gcc' failed with exit status 1įailed building wheel for psycopg2-binary The psycopg2 wheel package will be renamed from release 2.8 in order to keep installing from binary please use 'pip install psycopg2-binary' instead. sudo apt-get install python-psycopg2 python-pip python-yaml sudo mkdir /db/etcd sudo. Type pip install psycopg2 without quotes and hit Enter. Red-Hat-based systems need to install the EPEL package for the. You may install a binary package by installing 'psycopg2-binary' from PyPI. Similarly, you can install psycopg2 on macOS in four steps: Open your macOS terminal. It appears you are missing some prerequisite to build the package from source. Psycopg/psycopgmodule.c:689:18: error: dereferencing pointer to incomplete type ‘PyInterpreterState ’ First install the prerequisites (not needed on Windows, please adapt to your nix distribution): sudo apt install python3-dev libpq-dev Then install the module: pip install psycopg2 The complete version For all the details, please check the installation docs. Here is the error: psycopg/psycopgmodule.c: In function ‘psyco_is_main_interp’: About a week ago, I noticed that my build that uses Python 3.8-dev was erroring out when attempting to “pip install psycopg2-binary”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |