errors when running ipython --profile=sfepy

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

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.
On 12/15/2016 11:55 PM, silesa...@hotmail.com wrote:
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
participants (2)
-
Robert Cimrman
-
silesa...@hotmail.com