error from solve_pde(’its2D_2.py’) of running sfepy in interactive mode

Hi all, I am new in sfepy. I have installed sfepy in my window 8 with python(x,y) 2.7.6.0 successfully and tested all examples. Everything is fine with that. But, as the subject indicated, I got errors when running solve_pde(’its2D_2.py’) of in interactive mode of ipython(sh).
I follow the instructions at http://sfepy.org/doc-devel/installation.html#using-ipython to customize ipython. When I followed the instruction from 4.5.1 Running Sfepy in interactive mode to run "pb, state = solve_pde(’its2D_2.py’)" , I got the error: "ImportError: no module named its2D_2" as shown in the figure below.
Any ideas? Thanks very much in advance.
My system is window 8 and python(x,y) installed is 2.7.6.0 with packages of pyparsing-2.0.2.win32-py2.7,umfpackpy_0.2 and msysGit-netinstall-1.9.2.
I install sfepy at C:/sfepy/ using git bash:
git clone git://github.com/sfepy/sfepy.git
Ouyang

Hi,
On 06/17/2014 06:01 AM, Ouyang wrote:
Hi all, I am new in sfepy. I have installed sfepy in my window 8 with python(x,y) 2.7.6.0 successfully and tested all examples. Everything is fine with that. But, as the subject indicated, I got errors when running solve_pde(’its2D_2.py’) of in interactive mode of ipython(sh).
I follow the instructions at http://sfepy.org/doc-devel/installation.html#using-ipython to customize ipython. When I followed the instruction from 4.5.1 Running Sfepy in interactive mode to run "pb, state = solve_pde(’its2D_2.py’)" , I got the error: "ImportError: no module named its2D_2" as shown in the figure below.
You need to use the full path:
pb, state = solve_pde('examples/linear_elasticity/its2D_2.py')
Does that work?
r.
Any ideas? Thanks very much in advance.
My system is window 8 and python(x,y) installed is 2.7.6.0 with packages of pyparsing-2.0.2.win32-py2.7,umfpackpy_0.2 and msysGit-netinstall-1.9.2.
I install sfepy at C:/sfepy/ using git bash:
git clone git://github.com/sfepy/sfepy.git
Ouyang

Thanks, Robert.
It works now with the full path in "pb, state = solve_pde('examples/linear_elasticity/its2D_2.py') "
Let me dive into sfepy to see if I can apply it to evaluate:
- the displacement caused by mining excavation underground where the
displacement field from gravity exist already; 2. plasticity in surrounding rocks 3. coupled liquid-solid fields in porous material to evaluate water flux into excavation from surrounding rocks and stresses etc.
....
OUyang
On Tuesday, June 17, 2014 6:10:14 PM UTC+8, Robert Cimrman wrote:
Hi,
On 06/17/2014 06:01 AM, Ouyang wrote:
Hi all, I am new in sfepy. I have installed sfepy in my window 8 with
python(x,y)
2.7.6.0 successfully and tested all examples. Everything is fine with
that.
But, as the subject indicated, I got errors when running solve_pde(’its2D_2.py’) of in interactive mode of ipython(sh).
I follow the instructions at http://sfepy.org/doc-devel/installation.html#using-ipython to customize
ipython.
When I followed the instruction from 4.5.1 Running Sfepy in interactive mode to run "pb, state = solve_pde(’its2D_2.py’)" , I got the error: "ImportError: no module named its2D_2" as shown in the figure below.
You need to use the full path:
pb, state = solve_pde('examples/linear_elasticity/its2D_2.py')
Does that work?
r.
Any ideas? Thanks very much in advance.
My system is window 8 and python(x,y) installed is 2.7.6.0 with
packages
of pyparsing-2.0.2.win32-py2.7,umfpackpy_0.2 and
msysGit-netinstall-1.9.2.
I install sfepy at C:/sfepy/ using git bash:
git clone git://github.com/sfepy/sfepy.git
Ouyang

On 06/17/2014 12:38 PM, Ouyang wrote:
Thanks, Robert.
It works now with the full path in "pb, state = solve_pde('examples/linear_elasticity/its2D_2.py') "
Let me dive into sfepy to see if I can apply it to evaluate:
- the displacement caused by mining excavation underground where the
displacement field from gravity exist already; 2. plasticity in surrounding rocks
Modelling plasticity is one of our long standing "would be nice to have" issues. Unfortunately, I do not know it sufficiently to be able to implement it. (Help needed!)
- coupled liquid-solid fields in porous material to evaluate water flux
into excavation from surrounding rocks and stresses etc.
The other things should be possible...
r.
....
OUyang
On Tuesday, June 17, 2014 6:10:14 PM UTC+8, Robert Cimrman wrote:
Hi,
On 06/17/2014 06:01 AM, Ouyang wrote:
Hi all, I am new in sfepy. I have installed sfepy in my window 8 with
python(x,y)
2.7.6.0 successfully and tested all examples. Everything is fine with
that.
But, as the subject indicated, I got errors when running solve_pde(’its2D_2.py’) of in interactive mode of ipython(sh).
I follow the instructions at
http://sfepy.org/doc-devel/installation.html#using-ipython to customize
ipython.
When I followed the instruction from 4.5.1 Running Sfepy in interactive mode to run "pb, state = solve_pde(’its2D_2.py’)" , I got the error: "ImportError: no module named its2D_2" as shown in the figure below.
You need to use the full path:
pb, state = solve_pde('examples/linear_elasticity/its2D_2.py')
Does that work?
r.
Any ideas? Thanks very much in advance.
My system is window 8 and python(x,y) installed is 2.7.6.0 with
packages
of pyparsing-2.0.2.win32-py2.7,umfpackpy_0.2 and
msysGit-netinstall-1.9.2.
I install sfepy at C:/sfepy/ using git bash:
git clone git://github.com/sfepy/sfepy.git
Ouyang
participants (2)
-
Ouyang
-
Robert Cimrman