PDA

View Full Version : some Python help



Cyraxzz
July 24th, 2006, 02:47 AM
Just used a py program that ships with Python 2.4, called freeze for compiling .py into executables, i perfomed a simple example just to check if this program worked.

I got an error msg in the terminal saying that it did not found an required file
named:
"/usr/lib/python2.4/config/config.c.in"

But how is that? isin't this supposed to be included in the python 2.4?

Daverz
July 24th, 2006, 05:26 AM
It's in python-dev. For these things I usually google on the filename and debian, though maybe experienced debian people know of some way to do it from the command-line.

Cyraxzz
July 24th, 2006, 06:44 AM
i've fixed this problem, it was in another location here, something must have moved it.

ifokkema
July 24th, 2006, 11:40 PM
It's in python-dev. For these things I usually google on the filename and debian, though maybe experienced debian people know of some way to do it from the command-line.

sudo apt-get install apt-file
sudo apt-file update
apt-file search /usr/lib/python2.4/config/config.c.in
:)