Looks like you need to install the appropriate python-dev package (or
otherwise point setup.py to the appropriate include directory if you
build python from source).



Vivek Ranjan wrote:
> I downloaded the latest pymol by using the following command:
> 
> svn co https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol pymol
> 
> Then, while running the command "python setup.py install", I
> encountered the following:
> 
> In file included from layer5/main.h:35,
>                  from layer0/Block.c:20:
> layer0/os_python.h:28:19: error: Python.h: No such file or directory
> In file included from layer0/Block.c:20:
> layer5/main.h:45: error: expected ‘)’ before ‘*’ token
> layer5/main.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘*’ token
> error: command 'gcc' failed with exit status 1
> 
> Any help ??
> 
> Thanks,
> 
> Vivek
> 
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to