dolphin
dolphin copied to clipboard
Importing external module (numpy) hangs up dolphin
I'm not sure if I identified the exact problem so I will write down what I try to achieve.
I would like to use some modules that aren't in the embedded python of this project. For this I modify the sys.path and add the folder where I store the external modules and import numpy like this:
import sys
sys.path.append("path\\to\\Python\\Python38\\Lib\\site-packages")
import numpy as np
Loading this script the emulator hangs up, if I load the script directly in the command-line the Dolphin window doesn't even come up. I tried numpy versions 1.19.5 and then upgraded it and used 1.21.3, in both cases I had the same hang up.
Maybe that's just a problem on my end. Would be interested how you would import external modules that aren't included in the embedded python package.