fatal error :“python.h” no file or directory?
While looking for a solution for the Hungarian problem, I found this GitHub link.
I went through the readme.md
file and I performed everything described there. After copying hungarian.so
into my working directory, when I tried to compile hungarian.cpp
using make hungarian
, I got this output:
anupam@JAZZ:~/Python/hungarian-master$ make hungarian
g++ hungarian.cpp -o hungarian
hungarian.cpp:7:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
make: *** [hungarian] Error 1
I found this related question on Stack Overflow, but the answer didn't work for me.
I am very new to GitHub I don't know how to add modules on g++
. Can someone help me with that, and what to do next?
python compiling g++
add a comment |
While looking for a solution for the Hungarian problem, I found this GitHub link.
I went through the readme.md
file and I performed everything described there. After copying hungarian.so
into my working directory, when I tried to compile hungarian.cpp
using make hungarian
, I got this output:
anupam@JAZZ:~/Python/hungarian-master$ make hungarian
g++ hungarian.cpp -o hungarian
hungarian.cpp:7:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
make: *** [hungarian] Error 1
I found this related question on Stack Overflow, but the answer didn't work for me.
I am very new to GitHub I don't know how to add modules on g++
. Can someone help me with that, and what to do next?
python compiling g++
3
So runningsudo apt-get install python-dev
did not work?
– Salem
Sep 21 '14 at 14:35
yeah ,, @Salem it didn,t worked for me..
– lazarus
Sep 21 '14 at 14:46
add a comment |
While looking for a solution for the Hungarian problem, I found this GitHub link.
I went through the readme.md
file and I performed everything described there. After copying hungarian.so
into my working directory, when I tried to compile hungarian.cpp
using make hungarian
, I got this output:
anupam@JAZZ:~/Python/hungarian-master$ make hungarian
g++ hungarian.cpp -o hungarian
hungarian.cpp:7:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
make: *** [hungarian] Error 1
I found this related question on Stack Overflow, but the answer didn't work for me.
I am very new to GitHub I don't know how to add modules on g++
. Can someone help me with that, and what to do next?
python compiling g++
While looking for a solution for the Hungarian problem, I found this GitHub link.
I went through the readme.md
file and I performed everything described there. After copying hungarian.so
into my working directory, when I tried to compile hungarian.cpp
using make hungarian
, I got this output:
anupam@JAZZ:~/Python/hungarian-master$ make hungarian
g++ hungarian.cpp -o hungarian
hungarian.cpp:7:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
make: *** [hungarian] Error 1
I found this related question on Stack Overflow, but the answer didn't work for me.
I am very new to GitHub I don't know how to add modules on g++
. Can someone help me with that, and what to do next?
python compiling g++
python compiling g++
edited Oct 5 '18 at 13:28
Zanna
50.4k13133241
50.4k13133241
asked Sep 21 '14 at 14:17
lazaruslazarus
65641437
65641437
3
So runningsudo apt-get install python-dev
did not work?
– Salem
Sep 21 '14 at 14:35
yeah ,, @Salem it didn,t worked for me..
– lazarus
Sep 21 '14 at 14:46
add a comment |
3
So runningsudo apt-get install python-dev
did not work?
– Salem
Sep 21 '14 at 14:35
yeah ,, @Salem it didn,t worked for me..
– lazarus
Sep 21 '14 at 14:46
3
3
So running
sudo apt-get install python-dev
did not work?– Salem
Sep 21 '14 at 14:35
So running
sudo apt-get install python-dev
did not work?– Salem
Sep 21 '14 at 14:35
yeah ,, @Salem it didn,t worked for me..
– lazarus
Sep 21 '14 at 14:46
yeah ,, @Salem it didn,t worked for me..
– lazarus
Sep 21 '14 at 14:46
add a comment |
3 Answers
3
active
oldest
votes
After looking at https://github.com/hrldcpr/hungarian/blob/master/hungarian.cpp, it seems that you need both:
#include "Python.h"
#include "numpy/arrayobject.h"
So install the following packages:
sudo apt-get install libpython2.7-dev python-numpy
To identify the missing packages (the ones providing the headers), look at packages.ubuntu.com.
,I had this too installed ,,,libpython2.7-dev is already the newest version.
– lazarus
Sep 21 '14 at 14:49
1
@jazzz: Since you installedpython-dev
you now havelibpython2.7-dev
as well as it's a dependency ofpython-dev
. Problem solved isn't it?
– Sylvain Pineau
Sep 21 '14 at 14:51
1
@jazz You can check the packages dependencies here: packages.ubuntu.com/trusty/python-dev and packages.ubuntu.com/trusty/libpython-dev
– Sylvain Pineau
Sep 21 '14 at 14:54
Thanx @Sylvain Pineau ,,well meanwhile I looked at stackoverflow.com/questions/11041299/… ,and in one of the comment I got Most likely Python.h is not in your build systems' include path. You can find out where your Python.h is by running dpkg -L python-dev | grep Python.h and when I tried this on my system I am getting nothig??? anupam@JAZZ:~/Python/hungarian-master$ dpkg -L python-dev | grep Python.h anupam@JAZZ:~/Python/hungarian-master$ how can I resolve it??
– lazarus
Sep 21 '14 at 15:42
1
@jazzz Try with this command instead:dpkg-query -L libpython2.7-dev | grep Python.h
– Sylvain Pineau
Sep 21 '14 at 15:58
|
show 4 more comments
For Ubuntu 15.10 and Python 3:
sudo apt-get install python-dev
sudo apt-get install python3-dev
sudo apt-get install libpython3-dev
sudo apt-get install libpython3.4-dev
sudo apt-get install libpython3.5-dev
add a comment |
This is python code extending with C. No need to use make
. Python itself will take care of the cpp
code compilation with proper flags.
First you need to have header files and a static library. Install those as,
sudo apt-get install python-dev
Now follow these commands to execute example.py
in your code.
python setup.py build
cp build/lib.linux-i686-2.7/hungarian.so .
python example.py
Note: I am using
python2.7
, you should take care of your version of python when execute the above commands. It is worth mentioning that you need to installpython-numpy
if you not have it as pyhton script need it.
Thanx @souravc ,it worked but when I run $python example.py it gives me anupam@JAZZ:~/Python/hungarian-master$ python example.py [1 2 0 4 5 3 7 6] but I need to calculate the net Assignment profit,, here it is giving output for print hungarian.lap(a)[0],, (what is this)?
– lazarus
Sep 21 '14 at 15:00
1
@jazzz I have no idea about hungarian problem. I think they have provided the basic codehungarian.cpp
and an example to execute some basic function of it ineample.py
. If you need more you might have to write your own code.
– souravc
Sep 21 '14 at 15:06
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f526708%2ffatal-error-python-h-no-file-or-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
After looking at https://github.com/hrldcpr/hungarian/blob/master/hungarian.cpp, it seems that you need both:
#include "Python.h"
#include "numpy/arrayobject.h"
So install the following packages:
sudo apt-get install libpython2.7-dev python-numpy
To identify the missing packages (the ones providing the headers), look at packages.ubuntu.com.
,I had this too installed ,,,libpython2.7-dev is already the newest version.
– lazarus
Sep 21 '14 at 14:49
1
@jazzz: Since you installedpython-dev
you now havelibpython2.7-dev
as well as it's a dependency ofpython-dev
. Problem solved isn't it?
– Sylvain Pineau
Sep 21 '14 at 14:51
1
@jazz You can check the packages dependencies here: packages.ubuntu.com/trusty/python-dev and packages.ubuntu.com/trusty/libpython-dev
– Sylvain Pineau
Sep 21 '14 at 14:54
Thanx @Sylvain Pineau ,,well meanwhile I looked at stackoverflow.com/questions/11041299/… ,and in one of the comment I got Most likely Python.h is not in your build systems' include path. You can find out where your Python.h is by running dpkg -L python-dev | grep Python.h and when I tried this on my system I am getting nothig??? anupam@JAZZ:~/Python/hungarian-master$ dpkg -L python-dev | grep Python.h anupam@JAZZ:~/Python/hungarian-master$ how can I resolve it??
– lazarus
Sep 21 '14 at 15:42
1
@jazzz Try with this command instead:dpkg-query -L libpython2.7-dev | grep Python.h
– Sylvain Pineau
Sep 21 '14 at 15:58
|
show 4 more comments
After looking at https://github.com/hrldcpr/hungarian/blob/master/hungarian.cpp, it seems that you need both:
#include "Python.h"
#include "numpy/arrayobject.h"
So install the following packages:
sudo apt-get install libpython2.7-dev python-numpy
To identify the missing packages (the ones providing the headers), look at packages.ubuntu.com.
,I had this too installed ,,,libpython2.7-dev is already the newest version.
– lazarus
Sep 21 '14 at 14:49
1
@jazzz: Since you installedpython-dev
you now havelibpython2.7-dev
as well as it's a dependency ofpython-dev
. Problem solved isn't it?
– Sylvain Pineau
Sep 21 '14 at 14:51
1
@jazz You can check the packages dependencies here: packages.ubuntu.com/trusty/python-dev and packages.ubuntu.com/trusty/libpython-dev
– Sylvain Pineau
Sep 21 '14 at 14:54
Thanx @Sylvain Pineau ,,well meanwhile I looked at stackoverflow.com/questions/11041299/… ,and in one of the comment I got Most likely Python.h is not in your build systems' include path. You can find out where your Python.h is by running dpkg -L python-dev | grep Python.h and when I tried this on my system I am getting nothig??? anupam@JAZZ:~/Python/hungarian-master$ dpkg -L python-dev | grep Python.h anupam@JAZZ:~/Python/hungarian-master$ how can I resolve it??
– lazarus
Sep 21 '14 at 15:42
1
@jazzz Try with this command instead:dpkg-query -L libpython2.7-dev | grep Python.h
– Sylvain Pineau
Sep 21 '14 at 15:58
|
show 4 more comments
After looking at https://github.com/hrldcpr/hungarian/blob/master/hungarian.cpp, it seems that you need both:
#include "Python.h"
#include "numpy/arrayobject.h"
So install the following packages:
sudo apt-get install libpython2.7-dev python-numpy
To identify the missing packages (the ones providing the headers), look at packages.ubuntu.com.
After looking at https://github.com/hrldcpr/hungarian/blob/master/hungarian.cpp, it seems that you need both:
#include "Python.h"
#include "numpy/arrayobject.h"
So install the following packages:
sudo apt-get install libpython2.7-dev python-numpy
To identify the missing packages (the ones providing the headers), look at packages.ubuntu.com.
edited Sep 21 '14 at 14:48
answered Sep 21 '14 at 14:40
Sylvain PineauSylvain Pineau
48.5k16104149
48.5k16104149
,I had this too installed ,,,libpython2.7-dev is already the newest version.
– lazarus
Sep 21 '14 at 14:49
1
@jazzz: Since you installedpython-dev
you now havelibpython2.7-dev
as well as it's a dependency ofpython-dev
. Problem solved isn't it?
– Sylvain Pineau
Sep 21 '14 at 14:51
1
@jazz You can check the packages dependencies here: packages.ubuntu.com/trusty/python-dev and packages.ubuntu.com/trusty/libpython-dev
– Sylvain Pineau
Sep 21 '14 at 14:54
Thanx @Sylvain Pineau ,,well meanwhile I looked at stackoverflow.com/questions/11041299/… ,and in one of the comment I got Most likely Python.h is not in your build systems' include path. You can find out where your Python.h is by running dpkg -L python-dev | grep Python.h and when I tried this on my system I am getting nothig??? anupam@JAZZ:~/Python/hungarian-master$ dpkg -L python-dev | grep Python.h anupam@JAZZ:~/Python/hungarian-master$ how can I resolve it??
– lazarus
Sep 21 '14 at 15:42
1
@jazzz Try with this command instead:dpkg-query -L libpython2.7-dev | grep Python.h
– Sylvain Pineau
Sep 21 '14 at 15:58
|
show 4 more comments
,I had this too installed ,,,libpython2.7-dev is already the newest version.
– lazarus
Sep 21 '14 at 14:49
1
@jazzz: Since you installedpython-dev
you now havelibpython2.7-dev
as well as it's a dependency ofpython-dev
. Problem solved isn't it?
– Sylvain Pineau
Sep 21 '14 at 14:51
1
@jazz You can check the packages dependencies here: packages.ubuntu.com/trusty/python-dev and packages.ubuntu.com/trusty/libpython-dev
– Sylvain Pineau
Sep 21 '14 at 14:54
Thanx @Sylvain Pineau ,,well meanwhile I looked at stackoverflow.com/questions/11041299/… ,and in one of the comment I got Most likely Python.h is not in your build systems' include path. You can find out where your Python.h is by running dpkg -L python-dev | grep Python.h and when I tried this on my system I am getting nothig??? anupam@JAZZ:~/Python/hungarian-master$ dpkg -L python-dev | grep Python.h anupam@JAZZ:~/Python/hungarian-master$ how can I resolve it??
– lazarus
Sep 21 '14 at 15:42
1
@jazzz Try with this command instead:dpkg-query -L libpython2.7-dev | grep Python.h
– Sylvain Pineau
Sep 21 '14 at 15:58
,I had this too installed ,,,libpython2.7-dev is already the newest version.
– lazarus
Sep 21 '14 at 14:49
,I had this too installed ,,,libpython2.7-dev is already the newest version.
– lazarus
Sep 21 '14 at 14:49
1
1
@jazzz: Since you installed
python-dev
you now have libpython2.7-dev
as well as it's a dependency of python-dev
. Problem solved isn't it?– Sylvain Pineau
Sep 21 '14 at 14:51
@jazzz: Since you installed
python-dev
you now have libpython2.7-dev
as well as it's a dependency of python-dev
. Problem solved isn't it?– Sylvain Pineau
Sep 21 '14 at 14:51
1
1
@jazz You can check the packages dependencies here: packages.ubuntu.com/trusty/python-dev and packages.ubuntu.com/trusty/libpython-dev
– Sylvain Pineau
Sep 21 '14 at 14:54
@jazz You can check the packages dependencies here: packages.ubuntu.com/trusty/python-dev and packages.ubuntu.com/trusty/libpython-dev
– Sylvain Pineau
Sep 21 '14 at 14:54
Thanx @Sylvain Pineau ,,well meanwhile I looked at stackoverflow.com/questions/11041299/… ,and in one of the comment I got Most likely Python.h is not in your build systems' include path. You can find out where your Python.h is by running dpkg -L python-dev | grep Python.h and when I tried this on my system I am getting nothig??? anupam@JAZZ:~/Python/hungarian-master$ dpkg -L python-dev | grep Python.h anupam@JAZZ:~/Python/hungarian-master$ how can I resolve it??
– lazarus
Sep 21 '14 at 15:42
Thanx @Sylvain Pineau ,,well meanwhile I looked at stackoverflow.com/questions/11041299/… ,and in one of the comment I got Most likely Python.h is not in your build systems' include path. You can find out where your Python.h is by running dpkg -L python-dev | grep Python.h and when I tried this on my system I am getting nothig??? anupam@JAZZ:~/Python/hungarian-master$ dpkg -L python-dev | grep Python.h anupam@JAZZ:~/Python/hungarian-master$ how can I resolve it??
– lazarus
Sep 21 '14 at 15:42
1
1
@jazzz Try with this command instead:
dpkg-query -L libpython2.7-dev | grep Python.h
– Sylvain Pineau
Sep 21 '14 at 15:58
@jazzz Try with this command instead:
dpkg-query -L libpython2.7-dev | grep Python.h
– Sylvain Pineau
Sep 21 '14 at 15:58
|
show 4 more comments
For Ubuntu 15.10 and Python 3:
sudo apt-get install python-dev
sudo apt-get install python3-dev
sudo apt-get install libpython3-dev
sudo apt-get install libpython3.4-dev
sudo apt-get install libpython3.5-dev
add a comment |
For Ubuntu 15.10 and Python 3:
sudo apt-get install python-dev
sudo apt-get install python3-dev
sudo apt-get install libpython3-dev
sudo apt-get install libpython3.4-dev
sudo apt-get install libpython3.5-dev
add a comment |
For Ubuntu 15.10 and Python 3:
sudo apt-get install python-dev
sudo apt-get install python3-dev
sudo apt-get install libpython3-dev
sudo apt-get install libpython3.4-dev
sudo apt-get install libpython3.5-dev
For Ubuntu 15.10 and Python 3:
sudo apt-get install python-dev
sudo apt-get install python3-dev
sudo apt-get install libpython3-dev
sudo apt-get install libpython3.4-dev
sudo apt-get install libpython3.5-dev
answered Nov 14 '15 at 23:15
Martin ThomaMartin Thoma
6,503155172
6,503155172
add a comment |
add a comment |
This is python code extending with C. No need to use make
. Python itself will take care of the cpp
code compilation with proper flags.
First you need to have header files and a static library. Install those as,
sudo apt-get install python-dev
Now follow these commands to execute example.py
in your code.
python setup.py build
cp build/lib.linux-i686-2.7/hungarian.so .
python example.py
Note: I am using
python2.7
, you should take care of your version of python when execute the above commands. It is worth mentioning that you need to installpython-numpy
if you not have it as pyhton script need it.
Thanx @souravc ,it worked but when I run $python example.py it gives me anupam@JAZZ:~/Python/hungarian-master$ python example.py [1 2 0 4 5 3 7 6] but I need to calculate the net Assignment profit,, here it is giving output for print hungarian.lap(a)[0],, (what is this)?
– lazarus
Sep 21 '14 at 15:00
1
@jazzz I have no idea about hungarian problem. I think they have provided the basic codehungarian.cpp
and an example to execute some basic function of it ineample.py
. If you need more you might have to write your own code.
– souravc
Sep 21 '14 at 15:06
add a comment |
This is python code extending with C. No need to use make
. Python itself will take care of the cpp
code compilation with proper flags.
First you need to have header files and a static library. Install those as,
sudo apt-get install python-dev
Now follow these commands to execute example.py
in your code.
python setup.py build
cp build/lib.linux-i686-2.7/hungarian.so .
python example.py
Note: I am using
python2.7
, you should take care of your version of python when execute the above commands. It is worth mentioning that you need to installpython-numpy
if you not have it as pyhton script need it.
Thanx @souravc ,it worked but when I run $python example.py it gives me anupam@JAZZ:~/Python/hungarian-master$ python example.py [1 2 0 4 5 3 7 6] but I need to calculate the net Assignment profit,, here it is giving output for print hungarian.lap(a)[0],, (what is this)?
– lazarus
Sep 21 '14 at 15:00
1
@jazzz I have no idea about hungarian problem. I think they have provided the basic codehungarian.cpp
and an example to execute some basic function of it ineample.py
. If you need more you might have to write your own code.
– souravc
Sep 21 '14 at 15:06
add a comment |
This is python code extending with C. No need to use make
. Python itself will take care of the cpp
code compilation with proper flags.
First you need to have header files and a static library. Install those as,
sudo apt-get install python-dev
Now follow these commands to execute example.py
in your code.
python setup.py build
cp build/lib.linux-i686-2.7/hungarian.so .
python example.py
Note: I am using
python2.7
, you should take care of your version of python when execute the above commands. It is worth mentioning that you need to installpython-numpy
if you not have it as pyhton script need it.
This is python code extending with C. No need to use make
. Python itself will take care of the cpp
code compilation with proper flags.
First you need to have header files and a static library. Install those as,
sudo apt-get install python-dev
Now follow these commands to execute example.py
in your code.
python setup.py build
cp build/lib.linux-i686-2.7/hungarian.so .
python example.py
Note: I am using
python2.7
, you should take care of your version of python when execute the above commands. It is worth mentioning that you need to installpython-numpy
if you not have it as pyhton script need it.
edited Sep 21 '14 at 14:52
answered Sep 21 '14 at 14:47
souravcsouravc
26.7k1375105
26.7k1375105
Thanx @souravc ,it worked but when I run $python example.py it gives me anupam@JAZZ:~/Python/hungarian-master$ python example.py [1 2 0 4 5 3 7 6] but I need to calculate the net Assignment profit,, here it is giving output for print hungarian.lap(a)[0],, (what is this)?
– lazarus
Sep 21 '14 at 15:00
1
@jazzz I have no idea about hungarian problem. I think they have provided the basic codehungarian.cpp
and an example to execute some basic function of it ineample.py
. If you need more you might have to write your own code.
– souravc
Sep 21 '14 at 15:06
add a comment |
Thanx @souravc ,it worked but when I run $python example.py it gives me anupam@JAZZ:~/Python/hungarian-master$ python example.py [1 2 0 4 5 3 7 6] but I need to calculate the net Assignment profit,, here it is giving output for print hungarian.lap(a)[0],, (what is this)?
– lazarus
Sep 21 '14 at 15:00
1
@jazzz I have no idea about hungarian problem. I think they have provided the basic codehungarian.cpp
and an example to execute some basic function of it ineample.py
. If you need more you might have to write your own code.
– souravc
Sep 21 '14 at 15:06
Thanx @souravc ,it worked but when I run $python example.py it gives me anupam@JAZZ:~/Python/hungarian-master$ python example.py [1 2 0 4 5 3 7 6] but I need to calculate the net Assignment profit,, here it is giving output for print hungarian.lap(a)[0],, (what is this)?
– lazarus
Sep 21 '14 at 15:00
Thanx @souravc ,it worked but when I run $python example.py it gives me anupam@JAZZ:~/Python/hungarian-master$ python example.py [1 2 0 4 5 3 7 6] but I need to calculate the net Assignment profit,, here it is giving output for print hungarian.lap(a)[0],, (what is this)?
– lazarus
Sep 21 '14 at 15:00
1
1
@jazzz I have no idea about hungarian problem. I think they have provided the basic code
hungarian.cpp
and an example to execute some basic function of it in eample.py
. If you need more you might have to write your own code.– souravc
Sep 21 '14 at 15:06
@jazzz I have no idea about hungarian problem. I think they have provided the basic code
hungarian.cpp
and an example to execute some basic function of it in eample.py
. If you need more you might have to write your own code.– souravc
Sep 21 '14 at 15:06
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f526708%2ffatal-error-python-h-no-file-or-directory%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
So running
sudo apt-get install python-dev
did not work?– Salem
Sep 21 '14 at 14:35
yeah ,, @Salem it didn,t worked for me..
– lazarus
Sep 21 '14 at 14:46