Re: [Yade-users] [Question #663441]: some modules fail to be loaded when i call a class from a python file

2018-01-25 Thread JOHN
Question #663441 on Yade changed: https://answers.launchpad.net/yade/+question/663441 Description changed to: Good evening, I have the following problem I have a python script that calls yade functions from another file. When the other file just has the functions defined as functions (def etc)

Re: [Yade-users] [Question #663441]: some modules fail to be loaded when i call a class from a python file

2018-01-24 Thread JOHN
Question #663441 on Yade changed: https://answers.launchpad.net/yade/+question/663441 Status: Answered => Open JOHN is still having a problem: That is a fair point, i apologize I feel the issue is that within the class i cant seem to be able to import some modules (the pack module among

Re: [Yade-users] [Question #663441]: some modules fail to be loaded when i call a class from a python file

2018-01-24 Thread Bruno Chareyre
Question #663441 on Yade changed: https://answers.launchpad.net/yade/+question/663441 Status: Open => Answered Bruno Chareyre proposed the following answer: Could you please narrow down the problem by yourself (it may explain why you don't have much replies)? For instance, is the problem

Re: [Yade-users] [Question #663441]: some modules fail to be loaded when i call a class from a python file

2018-01-23 Thread JOHN
Question #663441 on Yade changed: https://answers.launchpad.net/yade/+question/663441 JOHN posted a new comment: And when i try to put from yade import pack and pack.inG i get File "/home/john/Desktop/workingclass/myclass.py", line 42, in run pred = pack.inGtsSurface(s)

[Yade-users] [Question #663441]: some modules fail to be loaded when i call a class from a python file

2018-01-23 Thread JOHN
New question #663441 on Yade: https://answers.launchpad.net/yade/+question/663441 Good evening, I apologise for this question. I thought i had solved it before, but turns out the problem is still there. So i have a class in a file called myclass.py that looks like this from yade.pack import *