I do not think that sfepy is included in Canopy (correct me if I am wrong). IMHO you need to install it manually - try following the instructions [1].
r. [1] http://sfepy.org/doc-devel/installation.html#generic-installation-instructio...
On 11/20/2015 10:35 AM, Madhu Mahadevappa wrote:
Hi Robert, I used Enthought Canopy.
C:\Users\Madhu N.M\Canopy- There are two folders inside this named licenses and scripts. C:\Users\Madhu N.M\.sfepy- This folder is empty.
Regards, Madhu
On Friday, 20 November 2015 13:38:35 UTC+5:30, Robert Cimrman wrote:
Hi Madhu,
How did you install sfepy?
r.
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.
Regards, Madhu
On Thursday, 19 November 2015 15:23:43 UTC+5:30, Robert Cimrman wrote:
Hello Madhu,
Try using sfepy in-place build [1]. 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?
r. [1] http://sfepy.org/doc-devel/installation.html#in-place-build
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. 1. I'm trying to invoke SfePy with the command 'E:|Solution/simple.py its2D.py' . My Problem definition file and .mesh file are located in my E drive with a folder named Solution. When I run this, I'm getting the following error "" E:\Solution/simple.py its2D.py ^ SyntaxError: invalid syntax
"" 2. I have attached both the problem definition file and .mesh file I have been trying from past 2 days to rectify but I couln't. Kindly help me.
Regards, Madhu