ModuleNotFoundError: No module named 'SofaRuntime.SofaRuntime' on macOS running on M3 #4800
Unanswered
bhattner143
asked this question in
SofaPython3
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have downloaded the sofa binary for Mac OS and I am able to run the runSofa. However when I am trying to run the Python code from the terminal, I am getting the following error:
Traceback (most recent call last):
![IMG_1005](https://private-user-images.githubusercontent.com/32504819/344379920-190aac58-8307-4532-b1da-5ea5fa2b5b8e.JPG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5NDM1NDgsIm5iZiI6MTcxOTk0MzI0OCwicGF0aCI6Ii8zMjUwNDgxOS8zNDQzNzk5MjAtMTkwYWFjNTgtODMwNy00NTMyLWIxZGEtNWVhNWZhMmI1YjhlLkpQRz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAyVDE4MDA0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVlYzE5YTJhYWQ3MjVhMGFhNDY3NGVlYjllNjQ1ZjQ3NjEwZWVmMDI5YmVmYTlkN2JhMjlkYmU5NzAyMzRhMmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.j-hoNCzR1B-Y6aicUQHFnhi3JJzej2FJNj_PC3dymzw)
File "/Users/dipankarbhattacharya/Documents/python/hello.py", line 12, in
import SofaRuntime
File "/Users/dipankarbhattacharya/Documents/SOFA_v24.06.00_MacOS/plugins/SofaPython3/lib/python3/site-packages/SofaRuntime/init.py", line 7, in
from .SofaRuntime import *
ModuleNotFoundError: No module named 'SofaRuntime.SofaRuntime'
I am also uploading the PATH, PYTHONPATH, and SOFA_ROOT variable
Beta Was this translation helpful? Give feedback.
All reactions