mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 08:56:34 +03:00
parent
87279d5d03
commit
1ec0bb5633
|
@ -328,7 +328,7 @@ Psycopg 2.8 fails to install, Psycopg 2.7 was working fine.
|
|||
|
||||
I can't compile `!psycopg2`: the compiler says *error: Python.h: No such file or directory*. What am I missing?
|
||||
You need to install a Python development package: it is usually called
|
||||
``python-dev``.
|
||||
``python-dev`` or ``python3-dev`` according to your Python version.
|
||||
|
||||
|
||||
.. _faq-libpq-fe-h:
|
||||
|
|
|
@ -64,8 +64,9 @@ it from sources you will need:
|
|||
- A C compiler.
|
||||
|
||||
- The Python header files. They are usually installed in a package such as
|
||||
**python-dev**. A message such as *error: Python.h: No such file or
|
||||
directory* is an indication that the Python headers are missing.
|
||||
**python-dev** or **python3-dev**. A message such as *error: Python.h: No
|
||||
such file or directory* is an indication that the Python headers are
|
||||
missing.
|
||||
|
||||
- The libpq header files. They are usually installed in a package such as
|
||||
**libpq-dev**. If you get an *error: libpq-fe.h: No such file or directory*
|
||||
|
|
Loading…
Reference in New Issue
Block a user