BachiLi / diffvg

Differentiable Vector Graphics Rasterization
https://people.csail.mit.edu/tzumao/diffvg/
Apache License 2.0
902 stars 152 forks source link

DLL load failed while importing diffvg #58

Closed Saivaks closed 1 year ago

Saivaks commented 1 year ago

Hi. I was able to install diffvg but there is an error at the import stage. I get: DLL load failed while importing diffvg: The specified module was not found. I tried to rebuild diffvg, I tried to update python and I tried to change the whole virtual environment but the result is the same. What must be the problem? I have 10 windows and python 3.9.

kristianQh commented 1 year ago

Take a look at this: https://github.com/BachiLi/diffvg/issues/12#issuecomment-917303306 - this should hopefully fix the loading fail

ljq142105 commented 1 year ago

Hi. I was able to install diffvg but there is an error at the import stage. I get: DLL load failed while importing diffvg: The specified module was not found. I tried to rebuild diffvg, I tried to update python and I tried to change the whole virtual environment but the result is the same. What must be the problem? I have 10 windows and python 3.9.

Hello, have you solved this problem? It has been bothering me for a long time

kristianQh commented 1 year ago

Have you tried renaming site-packages/diffvg-0.0.1-py3.8-win-amd64.egg/diffvg to diffvg.pyd, as in the commented I linked?