CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   PyFoam instal on CAE_linux 2008 (http://www.cfd-online.com/Forums/openfoam/65592-pyfoam-instal-cae_linux-2008-a.html)

Adrien_B June 19, 2009 10:17

PyFoam instal on CAE_linux 2008
 
Hi everybody (it's my first post),
I am using CAElinux2008 distribution and I try to instal PyFoam for ploting the residual error on FoamX.
I have read the wiki (http://openfoamwiki.net/index.php/Co...lation_as_root) but didn't not find any solutions (I am begginer on Linux !!), the shell respond "unable to open /usr/lib/python2.4/config/Makefile (No such file or directory)".
How can I instal this library ?

Thank in advance
Adrien

gschaider June 20, 2009 20:34

It's a long time since I tested CAELinux so I'll have to do some guesses here.

Quote:

Originally Posted by Adrien_B (Post 219896)
Hi everybody (it's my first post),
I am using CAElinux2008 distribution and I try to instal PyFoam for ploting the residual error on FoamX.
I have read the wiki (http://openfoamwiki.net/index.php/Co...lation_as_root)

Just checking: you are acting as root (not as the caelinux-user or how is the default user called in CAELinux)

Quote:

Originally Posted by Adrien_B (Post 219896)
but didn't not find any solutions (I am begginer on Linux !!), the shell respond "unable to open /usr/lib/python2.4/config/Makefile (No such file or directory)".
How can I instal this library ?

Obviously the Makefile is looked for by the setup.py-utility is not present on this system. In theory it should be sufficient to move the stuff from the bin directory to some directory that is in the PATH and the PyFoam-directory to a place in the PYTHONPATH. For details on this see http://openfoamwiki.net/index.php/Co...a_regular_user

Bernhard


All times are GMT -4. The time now is 05:33.