Skip to content

ModuleNotFoundError: No module named 'code_saturne.Base' #1

@alcarnielo

Description

@alcarnielo

I have just finished the installation of salome_cfd module based on this (tutorial)[https://www.youtube.com/watch?v=wVxtVCC9HKY&t=1605s].

When I run the CFD module in salome, I get this error:

Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/salome/CFDSTUDYGUI.py", line 43, in
from code_saturne.Base.QtCore import *
ModuleNotFoundError: No module named 'code_saturne.Base'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/salome/CFDSTUDYGUI.py", line 43, in
from code_saturne.Base.QtCore import *
ModuleNotFoundError: No module named 'code_saturne.Base'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/salome/CFDSTUDYGUI.py", line 43, in
from code_saturne.Base.QtCore import *
ModuleNotFoundError: No module named 'code_saturne.Base'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/salome/CFDSTUDYGUI.py", line 43, in
from code_saturne.Base.QtCore import *
ModuleNotFoundError: No module named 'code_saturne.Base'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/salome/CFDSTUDYGUI.py", line 43, in
from code_saturne.Base.QtCore import *
ModuleNotFoundError: No module named 'code_saturne.Base'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/salome/CFDSTUDYGUI.py", line 43, in
from code_saturne.Base.QtCore import *
ModuleNotFoundError: No module named 'code_saturne.Base'

I have already exported the PYTHONPATH and included in my .bashrc file, but the error persists.

I installed everything in an UBUNTU22.04 using the last stable version of each one of the packages.

Note.: It seems that the CFDSTUDYGUI.py is calling the "Base" pack when the existing one is "base".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions