jhwangbo / ME491_2022_project

MIT License
0 stars 2 forks source link

DLL loading failure while compiling runner.py #13

Closed obj153 closed 2 years ago

obj153 commented 2 years ago

OS: Windows 10 Compiler: Anaconda Python Version: 3.9.7

When I used Anaconda prompt to compile the runner.py, following errors are occurs.

Traceback (most recent call last): File "D:\Documents\KAIST\Graduate\Master\2022\Lecture\ME491\raisim\raisimLib\raisimGymTorch\raisimGymTorch\env\envs\rsg_anymal\runner.py", line 4, in from raisimGymTorch.env.bin.rsg_anymal import NormalSampler ImportError: DLL load failed while importing rsg_anymal: 지정된 모듈을 찾을 수 없습니다.

I already adds D:\Documents\KAIST\Graduate\Master\2022\Lecture\ME491\raisim\raisimLib\raisim\win32\bin where the raisim compiled at PATH

SeungHunJeon commented 2 years ago

Check this site raisim install

I'm not familiar at window, but i think the path seems wrong 'raisim\win32\bin' -> 'raisim\win32'

obj153 commented 2 years ago

I changed PATH by 'raisim\win32\bin' -> 'raisim\win32' but do not make any changes and same error occurs.

SeungHunJeon commented 2 years ago

Did you build the raisimGymTorch?

python setup.py develop

check this raisimGymTorch

jhwangbo commented 2 years ago

'raisim\win32\bin' is the correct path. Are you using 64 bit python?

obj153 commented 2 years ago

Yes. I'm using 64 bit python, and I build the raisimGymTorch.

obj153 commented 2 years ago

I solved the problem by running Annaconda Powershell Prompt.