Hi Yifan,
On 11/13/2017 04:17 PM, 董一帆 wrote:
> Dear developer of sfepy:
> My name is Yifan Dong.I installed sfepy using Anaconda3 on windows 7. And I tried to follow the guide in the primer to run the its2D_1.py test. But the error is No module named sfepy. How can I solve that?Do I need to add enviroment viriables?
When using sfepy from anaconda, you need to use the "installed build" versions
of commands found in the docs. Does sfepy-run command work (see [1])? If not,
add C:\ProgramData\Anaconda3\Lib\site-packages\sfepy\script to PATH (the search
path for executable files).
[1] http://sfepy.org/doc-devel/installation.html#running-automated-test-suite
> I also tried to run it using spyder with ipython console.But when I follow the instructions, it is told that can't find the text"get_config()".Do you know what is the problem?
I guess your ipython is newer than the one used when writing the instructions.
What is your version? Can you find the exec_lines list in ipython_config.py?
> I know they are basic questions. But I am a newbie in python and sfepy and have tried for several days. So I have to ask for help. Do you have any suggestions on finding the answers of such basic qustions.I've read several books on python but am still confused in linking different python files. Because they are all talking about small programs and not big programs like sfepy. Python is different from matlab and c++ at linking files.
No problem, feel free to ask!
r.
> Thanks! And best wishes!
> Yifan
> 2017-11-13
>
>
> 董一帆
>
>
>
> _______________________________________________
> SfePy mailing list
> sfepy@python.org
> https://mail.python.org/mm3/mailman3/lists/sfepy.python.org/
>
_______________________________________________
SfePy mailing list
sfepy@python.org
https://mail.python.org/mm3/mailman3/lists/sfepy.python.org/