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

[Other] PyFoam, error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 22, 2021, 11:19
Default PyFoam, error
  #1
Senior Member
 
mohammad
Join Date: Dec 2010
Location: UK
Posts: 245
Rep Power: 16
mohammad is on a distinguished road
Hi everybody,

I have installed PyFoam. However, when I check it using the following commands:

import PyFoam
import PyFoam.FoamInformation
print PyFoam.FoamInformation.foamTutorials()


after the last command, i get the following error

File "<stdin>", line 1
print PyFoam.FoamInformation.foamTutorials()
^
SyntaxError: invalid syntax


any idea please?
mohammad is offline   Reply With Quote

Reply


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
[PyFoam] PyFoam 6.6.9 installation problems klausb OpenFOAM Community Contributions 2 October 2, 2022 05:56
[PyFoam] PyFoam on macOS xuegy OpenFOAM Community Contributions 7 April 13, 2022 23:42
[PyFoam] Installing PyFoam from pip, can't tell if its installed correctly? EternalSeekerX OpenFOAM Community Contributions 0 June 6, 2021 20:23
[PyFoam] How to extract values with pyFoam? chriss85 OpenFOAM Community Contributions 13 January 27, 2014 20:16
pyFoam, pyFlu, extend: How does they relate? Horus OpenFOAM 9 May 21, 2011 12:49


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