django - pip install pyscopg2 error: cdefs.h not found -


on debian 8, i'm trying setup django 1.10 project. installing requirements have problem.

$ pip install psycopg2 

/usr/include/features.h:374:25: fatal error: sys/cdefs.h: file or directory not found

i search in package cdefs.h is:

$ dpkg -s cdefs.h 

libc6-dev:amd64: /usr/include/x86_64-linux-gnu/sys/cdefs.h

i checked if have installed , yes, it's installed.

what strange in same server have django project , it's working!

what i'm forgetting??


Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -