-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: DLL load failed while importing ctlib: 找不到指定的模块 #13
Comments
Try to Import torch first
Best
Wenjun
From: fire5226 ***@***.***>
Sent: Monday, July 17, 2023 10:22 PM
To: xwj01/CTLIB ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [xwj01/CTLIB] ImportError: DLL load failed while importing ctlib: 找不到指定的模块 (Issue #13)
您好!感谢您的工作,我在安装库运行时报错:
ImportError: DLL load failed while importing ctlib: 找不到指定的模块
在pip list显示已安装ctlib 0.2.0,请教这如何解决?感谢!
环境:Win10, python 3.9, cuda 11.3, torch 11.3.1+cu116。
—
Reply to this email directly, view it on GitHub <#13> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJRVWQIXP4GGRG5SAMXTO2LXQXXOBANCNFSM6AAAAAA2NW5LF4> .
You are receiving this because you are subscribed to this thread. <https://github.com/notifications/beacon/AJRVWQPZDFWGBFYDEL2IUATXQXXOBA5CNFSM6AAAAAA2NW5LF6WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHGXUSPHA.gif> Message ID: ***@***.*** ***@***.***> >
|
抱歉打扰!我尝试了您说的方法在py文件中更改Import顺序,也修改过环境变量,但好像不起作用。请问还有什么尝试办法?感谢您! |
如果你安装成功,却无法导入,那么极大可能还是导入顺序的问题,请确认在导入ctlib之前先导入torch,目前我见到的这类错误都是因为这个原因。如果你确认了导入顺序没有问题,那么我目前也没有解决方案,只能试一下重新编译安装。
谢谢!
From: fire5226 ***@***.***>
Sent: Tuesday, July 18, 2023 10:35 PM
To: xwj01/CTLIB ***@***.***>
Cc: xwj01 ***@***.***>; Comment ***@***.***>
Subject: Re: [xwj01/CTLIB] ImportError: DLL load failed while importing ctlib: 找不到指定的模块 (Issue #13)
Try to Import torch first Best Wenjun From: fire5226 @.> Sent: Monday, July 17, 2023 10:22 PM To: xwj01/CTLIB @.> Cc: Subscribed @.> Subject: [xwj01/CTLIB] ImportError: DLL load failed while importing ctlib: 找不到指定的模块 (Issue #13 <#13> ) 您好!感谢您的工作,我在安装库运行时报错: ImportError: DLL load failed while importing ctlib: 找不到指定的模块 在pip list显示已安装ctlib 0.2.0,请教这如何解决?感谢! 环境:Win10, python 3.9, cuda 11.3, torch 11.3.1+cu116。 — Reply to this email directly, view it on GitHub <#13 <#13> > , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJRVWQIXP4GGRG5SAMXTO2LXQXXOBANCNFSM6AAAAAA2NW5LF4 . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/AJRVWQPZDFWGBFYDEL2IUATXQXXOBA5CNFSM6AAAAAA2NW5LF6WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHGXUSPHA.gif Message ID: @. @.***> >
抱歉打扰!我尝试了您说的方法在py文件中更改Import顺序,也修改过环境变量,但好像不起作用。请问还有什么尝试办法?感谢您!
—
Reply to this email directly, view it on GitHub <#13 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AJRVWQJR2GDD4R6ALPLZV73XQ5BT3ANCNFSM6AAAAAA2NW5LF4> .
You are receiving this because you commented. <https://github.com/notifications/beacon/AJRVWQINBF6GK7AD3CNYTKDXQ5BT3A5CNFSM6AAAAAA2NW5LF6WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTB2QRTC.gif> Message ID: ***@***.*** ***@***.***> >
|
请问您解决这个问题了吗,我也遇到了同样的情况 |
您好!感谢您的工作,我在安装库运行时报错:
ImportError: DLL load failed while importing ctlib: 找不到指定的模块
在pip list显示已安装ctlib 0.2.0,请教这如何解决?感谢!
环境:Win10, python 3.9, cuda 11.3, torch 11.3.1+cu116。
The text was updated successfully, but these errors were encountered: