Skip to content
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

FileNotFoundError: Could not find module 'E:\gitstore\pointnet.pytorch-master\utils\render_balls_so.dll' (or one of its dependencies). Try using the full path with constructor syntax. #104

Open
liuzhihaozhengshuai opened this issue Jul 16, 2023 · 2 comments

Comments

@liuzhihaozhengshuai
Copy link

PS E:\gitstore\pointnet.pytorch-master\utils> python show_seg.py --model seg/seg_model_Chair_4.pth --dataset=E:\gitstore\pointnet.pytorch-master\shapenetcore_partanno_segmentation_benchmark_v0 --class_choice Earphone --idx 1
Traceback (most recent call last):
File "E:\gitstore\pointnet.pytorch-master\utils\show_seg.py", line 2, in
from show3d_balls import showpoints
File "E:\gitstore\pointnet.pytorch-master\utils\show3d_balls.py", line 23, in
dll=np.ctypeslib.load_library(r'E:\gitstore\pointnet.pytorch-master\utils\render_balls_so.dll','.')
File "D:\anaconda\lib\site-packages\numpy\ctypeslib.py", line 158, in load_library
return ctypes.cdll[libpath]
File "D:\anaconda\lib\ctypes_init_.py", line 449, in getitem
return getattr(self, name)
File "D:\anaconda\lib\ctypes_init_.py", line 444, in getattr
dll = self.dlltype(name)
File "D:\anaconda\lib\ctypes_init
.py", line 374, in init
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'E:\gitstore\pointnet.pytorch-master\utils\render_balls_so.dll' (or one of its dependencies). Try using the full path with constructor syntax.

but the file render_balls_so.dll already existence and located in the correct path

@liuzhihaozhengshuai
Copy link
Author

I have resolved this issue, which is caused by the missing DLL file, file render_ Balls_ So.dll requires four DLL files, kernel32.dll and libgcc_ S_ Seh-1.dll, libstdc++-6.dll, msvcrt.dll, from the website https://cn.dll-files.com/ You can download them, and after downloading, place these DLL files in render_ Balls_ The folder where the so.dll file is located (the "utils" folder) can solve the above problem

@liuzhihaozhengshuai
Copy link
Author

我已经解决了这个问题,这是因为缺少dll文件导致的,文件render_balls_so.dll需要四个dll文件,kernel32.dll,libgcc_s_seh-1.dll,libstdc++-6.dll,msvcrt.dll,从网站https://cn.dll-files.com/可以下载他们,下载好后,将这些dll文件放在render_balls_so.dll文件所在的文件夹("utils"文件夹)就能解决上述问题了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant