code-saturne / code-saturne/salome_cfd_extensions

ModuleNotFoundError: No module named 'code_saturne.Base'

Open
#1 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
20
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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".

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.