mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +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?
|
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
|
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:
|
.. _faq-libpq-fe-h:
|
||||||
|
|
|
@ -64,8 +64,9 @@ it from sources you will need:
|
||||||
- A C compiler.
|
- A C compiler.
|
||||||
|
|
||||||
- The Python header files. They are usually installed in a package such as
|
- 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
|
**python-dev** or **python3-dev**. A message such as *error: Python.h: No
|
||||||
directory* is an indication that the Python headers are missing.
|
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
|
- 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*
|
**libpq-dev**. If you get an *error: libpq-fe.h: No such file or directory*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user