CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [PyFoam] Bad Interpreter: No such file or directory (https://www.cfd-online.com/Forums/openfoam-community-contributions/148325-bad-interpreter-no-such-file-directory.html)

mbcx4jc2 February 9, 2015 10:55

Bad Interpreter: No such file or directory
 
Having some issues with a fresh install of pyFoam after installing anaconda. There have been some previous conflicts which has made me re-think whether I should use anaconda in the future again...

In any case, I've removed anaconda but not before it had done its damage. It seems that pyFoam wants to use the python binary in my old anaconda directory so that when I run

Code:

pyFoamVersion.py
I get back

Code:

bash: /usr/local/bin/pyFoamVersion.py: /home/james/anaconda/bin/python: bad interpreter: No such file or directory
What do I need to set to have this point to the right place?

Many thanks.

maxkcngcfd June 28, 2016 12:20

i was working with window OS Openfoam files and had the same problem as you did.

hope link below help.

http://stackoverflow.com/questions/1...e-or-directory


All times are GMT -4. The time now is 10:01.