-
-
Notifications
You must be signed in to change notification settings - Fork 890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src/twisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory #668
Comments
Probably, you need python3-dev package. |
What platform are you building on? Normally Twisted binaries will just be downloaded, in your case it appears to be compiling. |
I've got the same error on CentOS, with included python-devel package:
|
You seem to be running a 3.5 Python and probably intalled a 2.7 Python development environment. For now it's best to run on Python 2 (Python 3 mostly works but not completely yet) Remove your virtual environment and create a new one using Python 2 like this:
Then repeat the steps. |
Maybe you need install python dev first, In ubuntu:
|
i faced same problem when installing scrapy on ubuntu, i tried changing version of twisted and it worked for me. |
What version you used for twisted? I am facing same issue it is perfectly installing globaly but with virtualenv its creating problem |
The |
For the Python dependencies, the INSTALL.md states: |
Ah! I see there's a mismatch now, later in the README it suggests a Python3 virtual environment. |
Yup I am using Python3 |
I've added a new line to INSTALL.md to document Python3 dependencies. Could you give that a try, please? |
Could be caused when installing in venv for python3.6, although I'm on an older system with python3 being 3.4, although |
it works |
Installation step 4:
Debian GNU/Linux 9.3 (stretch)
The text was updated successfully, but these errors were encountered: