How did you install sfepy?
On 11/19/2015 07:18 PM, Madhu Mahadevappa wrote:
Dear Robert, Thank you very much for the reply. I'm Using Canopy. Please let me know how and where to find the SfePy directory? I'm sorry if it is a stupid question.
On Thursday, 19 November 2015 15:23:43 UTC+5:30, Robert Cimrman wrote: >
Try using sfepy in-place build . This example is in SfePy, so you can run it simply by (in the sfepy source directory):
python simple.py examples/linear_elasticity/its2D_2.py
But feel free to copy it elsewhere (as long as you stay in the sfepy source directory when running commands.
You can also use your file, but correct the path, if both the example and the mesh are in the same directory:
filename_mesh = 'its2D.mesh'
The syntax error is strange - how/where did you run the command? Also, do not mix \ and / characters in paths.
Does that help?
On 11/18/2015 07:00 PM, Madhu Mahadevappa wrote:
Hello, I'm Madhu and very new to Sfepy, learning this for my Master Thesis. I'm trying to run the example given in the primer but getting an error.Please help me with this.
E:\Solution/simple.py its2D.py ^ SyntaxError: invalid syntax