errors when running ipython --profile=sfepy

13 views
Skip to first unread message

silesa...@hotmail.com

unread,
Dec 15, 2016, 5:55:46 PM12/15/16
to sfepy-devel
Hello,
I have created an ipython profile for sfepy, i have edited the file  ~/.ipython/profile_sfepy/ipython_config.py addinging the suggested lines in the installation manual. My system is Fedora 24
Igot the following errors:

IPython profile: sfepy
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-3df2942fcc0c> in <module>()
----> 1 from sfepy.base.base import *

ImportError: No module named sfepy.base.base
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-7107ce501ecc> in <module>()
----> 1 from sfepy.discrete import *

ImportError: No module named sfepy.discrete
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-4cb6370fc83c> in <module>()
----> 1 from sfepy.discrete.fem import *

ImportError: No module named sfepy.discrete.fem
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-774ff483fc4b> in <module>()
----> 1 from sfepy.applications import solve_pde

ImportError: No module named sfepy.applications

Is it possible to correct those errors?

I'll appreciate any help.

Hugo

Robert Cimrman

unread,
Dec 16, 2016, 5:01:34 AM12/16/16
to sfepy...@googlegroups.com
Hi Hugo,

it seems that python cannot find sfepy. Try running the ipython from the sfepy
directory, or add the sfepy directory to PYTHONPATH, (or install sfepy).

r.
Reply all
Reply to author
Forward
0 new messages