zju3dv/PGSR

ImportError: DLL load failed while importing _C (running on Windows)

Closed this issue · 0 comments

Thanks for the excellent work.

I tried to run PGSR on Windows.
After intalling pytorch3d manually by facebookresearch/pytorch3d#1752 , which is not provided by official conda or pip, the installation could finish.
But we I run train.py, I got the error ImportError: DLL load failed while importing _C.

Traceback (most recent call last):
  File "train.py", line 20, in <module>
    from gaussian_renderer import render, network_gui
  File "D:\workspace\PGSR\gaussian_renderer\__init__.py", line 14, in <module>
    from diff_plane_rasterization import GaussianRasterizationSettings as PlaneGaussianRasterizationSettings
  File "C:\Users\Up2U\miniconda3\envs\pgsr\lib\site-packages\diff_plane_rasterization\__init__.py", line 15, in <module>
    from . import _C
ImportError: DLL load failed while importing _C: 找不到指定的程序。

Also, I have tried to compile pytorch3d by myself, and had the same result.

I could print version of pytorch and pytorch3d.
20240819174321

Do you have any idea about this?
Thank you.