CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[PyFoam] Bad Interpreter: No such file or directory

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 9, 2015, 11:55
Default Bad Interpreter: No such file or directory
  #1
New Member
 
James
Join Date: Jun 2012
Posts: 8
Rep Power: 13
mbcx4jc2 is on a distinguished road
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.
mbcx4jc2 is offline   Reply With Quote

Old   June 28, 2016, 13:20
Default
  #2
New Member
 
Max Ng
Join Date: Jun 2016
Posts: 9
Rep Power: 9
maxkcngcfd is on a distinguished road
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
maxkcngcfd is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 09:06
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 18:18
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' mfiandor OpenFOAM Installation 2 January 25, 2010 10:50


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