Closed elitewill1200 closed 2 years ago
Added traceback for clarificuation:
Traceback (most recent call last):
File "/opt/insightcae/bin/isofRun.py", line 6, in <module>
from Insight.toolkit import *
ModuleNotFoundError: No module named 'Insight'
it seems to be failing right as snappyHexMeshConfiguration is starting
I also just ran
sudo apt install insighttoolkit4-python3
to see if that works. No dice...
Hi,
the package "insighttoolkit4-python3" has nothing to do with InsightCAE.
Please try installing our development package first. I recently made some changes in the python integration.
The steps for installing from the development repo are the same as outlined on our website but you need to replace the URL with:
$ sudo add-apt-repository http://downloads.silentdynamics.de/ubuntu_dev
(note the "_dev" suffix in the URL) Please let me know, if that changed something.
I added the dev branch after your suggestion but my internet is taking a while.
I installed the development package on a fresh install of Ubuntu, the same error occurred when hitting run. TestCase.zip here is the test case I am trying
Ok, thanks for the feedback.
I will check your case and get back in due course.
I found the issue:
in the file /opt/insightcae/bin/insight_setenv.sh, line 45 should be changed from
if which python >/dev/null 2>&1; then
to
if which python3 >/dev/null 2>&1; then
I will schedule that fix in the next rebuild.
By the way:
I corrected three issues in your input file "test.iscb":
Please find the file with corrections attached. test_modified.iscb.zip
I have installed insightcae-ce using apt on ubuntu 20.04 as descibed in the docuemtnation. I was following a simple tutorial to build a case and every time it runs into the same issue
It appears the python module didn't install correctly. This error is also thrown when trying to import the insight toolkits into python3.8. I tried installing Insight with
it seemed successful but the error persists