I stumbled upon a problem that I can’t solve in the past 2 hours, and I would be very grateful if you could help me.
I accidently removed the file pyconfig.h from /usr/include/python2.7 and now my python2.7 version doesn’t work. I tried the following steps:
- Tried to find the pyconfig.h file on the net and simple place it in /usr/include/python2.7 but I couldn’t find this file.
- Tried to find a way to re-install Python 2.7
- Tried to remove Python 2.7 and install it again
Can you help me solve this problem? I am on debian squeeze and linux beginner.
Thanks in advance!
Solving the dependency issue should be the best way for you to fix this.
But you could always download the package from debian and unpack the deb and get the file like this: