We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1016b94 commit 8bf0162Copy full SHA for 8bf0162
Plugin/src/SofaPython3/PythonEnvironment.cpp
@@ -206,7 +206,7 @@ void PythonEnvironment::Init()
206
207
// Workaround: try to import scipy from the main thread this prevents a deadlock when importing
208
// scipy from a worker thread when we use the SofaScene asynchronous loading
209
- executePython([]{ PyRun_SimpleString("try:\n\tfrom scipy import misc, optimize\nexcept:\n\tpass\n");});
+ executePython([]{ PyRun_SimpleString("try:\n\tfrom scipy import optimize\nexcept:\n\tpass\n");});
210
211
// If the script directory is not available (e.g. if the interpreter is invoked interactively
212
// or if the script is read from standard input), path[0] is the empty string,
0 commit comments