opensdpc icon indicating copy to clipboard operation
opensdpc copied to clipboard

Running into some issues while using Windows system calls

Open 870045787 opened this issue 1 year ago • 2 comments

Thanks for your efforts, I'm having some issues with windows system calls. My python version is 3.9, and here's the error message Traceback (most recent call last): File "F:\Pythoncode\learn_pytorch\asd.py", line 6, in import opensdpc File "D:\anaconda\ascii\envs\pytorch\lib\site-packages\opensdpc_init_.py", line 1, in from opensdpc.OpenSdpc import OpenSdpc File "D:\anaconda\ascii\envs\pytorch\lib\site-packages\opensdpc\OpenSdpc.py", line 25, in os.chdir(os.path.join(dirname, 'WINDOWS\dll')) FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\anaconda\ascii\envs\pytorch\lib\site-packages\opensdpc\WINDOWS\dll'

870045787 avatar Oct 02 '24 11:10 870045787

Hi, you should try install sdpc-win with windows system, see https://github.com/WonderLandxD/opensdpc#-sdpc-win-for-windows-users-only-

WonderLandxD avatar Oct 04 '24 02:10 WonderLandxD

I have settled the error by following steps.

  1. Copy the dll from "xxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\sdpc\DLL\dll"
  2. Create folder "WINDOWS" and subfolder "dll" on following directory "xxx\AppData\Local\Programs\Python\Python312\Lib\site-packages\opensdpc"
  3. Paste the dll copied in step 1 to the folder dll created in step 2.

Please try.

KennyKwokProg avatar Dec 18 '24 03:12 KennyKwokProg