-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hallo,
I was not able to use the this PAF workflow, as It does not use the interpreter of the prepared anaconda env, but instead uses the internal Interpeter:
I amended the run_opensim_example.bat to verify this:
call conda activate opensim_example
where python
echo "===="
echo $Env:%PATH%
echo "===="
python "%~dp0qtm2opensim.py" --c3d_dir "%~1"
pause
exit
resulting in the following output:
C:\Program Files (x86)\Qualisys\Qualisys Track Manager>call conda activate opensim_example
C:\Program Files (x86)\Qualisys\Qualisys Track Manager\python.exe
C:\Users\user0\anaconda3\envs\opensim_example\python.exe
C:\Python312\python.exe
C:\Users\user0\AppData\Local\Microsoft\WindowsApps\python.exe
C:\Users\user0\anaconda3\python.exe
"===="
$Env:C:\Users\user0\anaconda3\envs\opensim_example;C:\Users\user0\anaconda3\envs\opensim_example\Library\mingw-w64\bin;C:\Users\user0\anaconda3\envs\opensim_example\Library\usr\bin;C:\Users\user0\anaconda3\envs\opensim_example\Library\bin;C:\Users\user0\anaconda3\envs\opensim_example\Scripts;C:\Users\user0\anaconda3\envs\opensim_example\bin;C:\Program Files (x86)\Measurement Computing\DAQ;C:\Python312\Scripts;C:\Python312;C:\Windows\system32; [...] ;C:\Users\user0\anaconda3\condabin;C:\Users\user0\anaconda3;.
"===="
Traceback (most recent call last):
File "F:\00_Dev\06_qtm_paf_examples\paf-opensim-example\Templates\qtm2opensim.py", line 3, in <module>
import scipy.signal
ModuleNotFoundError: No module named 'scipy'From the Env I would assume that in general the activation of the anaconda env. was successful.
Using the qtm2opensim.py from a cmd instance with activated env worked as expected, as well as the paf-python-example. <-> in this paf example the environement is the same, apart from using another conda env. which python only differs in that regard that the internal interpreter is not listed.
Any guideance on what could be the issue here is highly appreciated.
Example Version: main/tag v1.0.5
QTM Version 2023.3