Hi all,
I have a virtualenv running with python2.5.
When I try to run the command: python setup.py develop I get the following error. I past the end of the eror:
_imaging.c:3038: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
_imaging.c:3039: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
_imaging.c:3041: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'functions'
_imaging.c:3138: warning: return type defaults to 'int'
_imaging.c: In function 'DL_EXPORT':
_imaging.c:3138: error: expected declaration specifiers before 'init_imaging'
_imaging.c:3149: error: expected '{' at end of input
error: Setup script exited with error: command 'gcc' failed with exit status 1
After some research I've found that I need the package python-dev installed. But I am on a shared host, so aptitude install python-dev doesn't work.
How can I install python-dev in the virtualenv? Or is there another solution? Thanks for your help!
Kind regards,
Niels