No module named shell

Asked by Danial

Hi all,

I have recently installed Yade and just when I run the software I get this errors in my terminal:

Welcome to Yade 0.70.0
WARN: unhandled IPython version 0.3, assuming 0.10 instead.
TCP python prompt on localhost:9000, auth cookie `dscyua'
XMLRPC info provider on http://localhost:21000
Running script text.py
Traceback (most recent call last):
  File "/usr/bin/yade", line 262, in <module>
    userSession(qt4=True,qapp=qapp)
  File "/usr/bin/yade", line 213, in userSession
    from IPython.Shell import IPShellEmbed
ImportError: No module named Shell

Can any body please tell what's missing?

Thanks,
Danial

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Danial
Solved:
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hi Danial,
what system do you use on your computer and how did you install Yade (from
source, from packages..)?
thanks
Jan

2014-10-22 14:36 GMT+02:00 Danial <email address hidden>:

> New question #256047 on Yade:
> https://answers.launchpad.net/yade/+question/256047
>
> Hi all,
>
> I have recently installed Yade and just when I run the software I get this
> errors in my terminal:
>
> Welcome to Yade 0.70.0
> WARN: unhandled IPython version 0.3, assuming 0.10 instead.
> TCP python prompt on localhost:9000, auth cookie `dscyua'
> XMLRPC info provider on http://localhost:21000
> Running script text.py
> Traceback (most recent call last):
> File "/usr/bin/yade", line 262, in <module>
> userSession(qt4=True,qapp=qapp)
> File "/usr/bin/yade", line 213, in userSession
> from IPython.Shell import IPShellEmbed
> ImportError: No module named Shell
>
>
> Can any body please tell what's missing?
>
> Thanks,
> Danial
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Danial (d-pourjafar) said :
#2

Hi Jan,

I just figured it out. I had to add these two lines at the begining of my input file:

import IPython
IPython.embed()

Thanks,
Danial

Revision history for this message
Anton Gladky (gladky-anton) said :
#3

You are using an old Yade version. In newer versions
this is fixed already.

Cheers

Anton

2014-10-22 15:31 GMT+02:00 Danial <email address hidden>:
> Question #256047 on Yade changed:
> https://answers.launchpad.net/yade/+question/256047
>
> Status: Answered => Solved
>
> Danial confirmed that the question is solved:
> Hi Jan,
>
> I just figured it out. I had to add these two lines at the begining of
> my input file:
>
> import IPython
> IPython.embed()
>
> Thanks,
> Danial
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp