'Install Salome Failed with error "No module named '_omnipy'"
I've trying to install SALOME-9.8 on ubuntu 20.04. After the download and extraction, I ran the script salome. But i get the following error:
ERROR:salomeContext:Unexpected error:
Traceback (most recent call last):
File "/home/$USER/Downloads/SALOME-9.8.0-native-UB20.04-SRC/BINARIES-UB20.04/SALOME/bin/salome/salomeContext.py", line 279, in _startSalome
res = getattr(self, command)(options) # run appropriate method
File "/home/$USER/Downloads/SALOME-9.8.0-native-UB20.04-SRC/BINARIES-UB20.04/SALOME/bin/salome/salomeContext.py", line 354, in _runAppli
import setenv
File "/home/$USER/Downloads/SALOME-9.8.0-native-UB20.04-SRC/BINARIES-UB20.04/KERNEL/bin/salome/setenv.py", line 26, in <module>
import orbmodule
File "/home/$USER/Downloads/SALOME-9.8.0-native-UB20.04-SRC/BINARIES-UB20.04/KERNEL/bin/salome/orbmodule.py", line 31, in <module>
from omniORB import CORBA
File "/home/$USER/Downloads/SALOME-9.8.0-native-UB20.04-SRC/BINARIES-UB20.04/omniORB/lib/python3.8/site-packages/omniORB/__init__.py", line 44, in <module>
import _omnipy
ModuleNotFoundError: No module named '_omnipy'
I've also installed anaconda on my pc. I'm not sure if it is related with it.
Solution 1:[1]
After that, I've tried to download the image from here. But it seems that the container Singularity doesn't work so well on my computer. I can only run the software in CPU mode. And when I was doing something related to the mesh, it would be very slow.
Finally, I installed the salome-meca according to this video. After deal with some small problem with the help of the instructions in the video page, the salome works pretty well.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | CHEN Duanwu |
