Salome Python Error cannot import name geomBuilder
- Dietrich Bollmann
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
10 years 5 months ago #7658
by Dietrich Bollmann
Salome Python Error cannot import name geomBuilder was created by Dietrich Bollmann
Hi,
I am experimenting with the scripting introduction "Work with scripts only" ( www.salome-platform.org/user-section/sal...ials/edf-exercise-10 ) and get the following error when trying to import the geometry builder:
>>> execfile(r"/home/dietrich/home/cae/salome-meca/python/exp/exp_2014_06_21_000.py")
dir(salome.geom)
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/home/dietrich/home/cae/salome-meca/python/exp/exp_2014_06_21_000.py", line 38, in <module>
from salome.geom import geomBuilder
ImportError: cannot import name geomBuilder
Any help?
Could it be that the tutorial is for a newer / older version of salome meca than the one installed on CAELinux?
If so, which version should I use?
Or should I rather use some different command (not geomBuilder but ...)?
Is there a preferred way to update / install other versions of salome meca on CAELinux?
Thanks, Dietrich
I am experimenting with the scripting introduction "Work with scripts only" ( www.salome-platform.org/user-section/sal...ials/edf-exercise-10 ) and get the following error when trying to import the geometry builder:
>>> execfile(r"/home/dietrich/home/cae/salome-meca/python/exp/exp_2014_06_21_000.py")
dir(salome.geom)
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/home/dietrich/home/cae/salome-meca/python/exp/exp_2014_06_21_000.py", line 38, in <module>
from salome.geom import geomBuilder
ImportError: cannot import name geomBuilder
Any help?
Could it be that the tutorial is for a newer / older version of salome meca than the one installed on CAELinux?
If so, which version should I use?
Or should I rather use some different command (not geomBuilder but ...)?
Is there a preferred way to update / install other versions of salome meca on CAELinux?
Thanks, Dietrich
- Dietrich Bollmann
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
10 years 5 months ago #7659
by Dietrich Bollmann
Replied by Dietrich Bollmann on topic Re: Salome Python Error cannot import name geomBuilder
[an answer to my own posting]
Hi again,
I installed the newest version of salome-meca and importing geomBuilder now works.
There are other problems with the tutorial example, though. But I hope to be able to solve them myself after some more experimentation.
Regards,
Dietrich
Hi again,
I installed the newest version of salome-meca and importing geomBuilder now works.
There are other problems with the tutorial example, though. But I hope to be able to solve them myself after some more experimentation.
Regards,
Dietrich
Moderators: catux
Time to create page: 0.123 seconds