Windows Diffvg missing module
See original GitHub issueEnvironment
Windows 10 , Python Version 3.7.4
Problem
After installation using python setup install I get this
Using c:\programdata\anaconda3\lib\site-packages
Finished processing dependencies for diffvg==0.0.1
But when running the example single circle i get this
(base) D:\GitHub\AI projects\diffvg\apps>python single_circle.py
Traceback (most recent call last):
File "single_circle.py", line 1, in <module>
import pydiffvg
File "C:\ProgramData\Anaconda3\lib\site-packages\diffvg-0.0.1-py3.7-win-amd64.egg\pydiffvg\__init__.py", line 4, in <module>
from .render_pytorch import *
File "C:\ProgramData\Anaconda3\lib\site-packages\diffvg-0.0.1-py3.7-win-amd64.egg\pydiffvg\render_pytorch.py", line 2, in <module>
import diffvg
ModuleNotFoundError: No module named 'diffvg'
Testing if diffvg is available:
(base) D:\GitHub\AI projects\diffvg\apps>python -c "import diffvg"
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'diffvg'
Also checking the package exists on the folder:
Could there be something wrong with compilation or something like that? Also is it possible to have a compiled version? I don’t mind for which OS. hopefully for non CUDA.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:7
Top Results From Across the Web
Windows 10 Missing Module - Microsoft Community
The issue seems to be due to some .dll file corrupted. I would suggest you to run SFC scan. a) Press 'Windows +...
Read more >DiffVG/pybind11/tools/FindPythonLibsNew.cmake · ma-xu ...
This module finds the libraries corresponding to the Python ... VERSION will typically be like "2.7" on unix, and "27" on windows.
Read more >diffq · PyPI
Differentiable Model Compression via Pseudo Quantization Noise. linter badge tests badge cov badge. DiffQ performs differentiable quantization using pseudo ...
Read more >KeyError: pixel - pixray - Issues Antenna
Not running with pydiffvg drawer support No module named 'pydiffvg' ... git clone https://github.com/pixray/diffvg && cd diffvg && git submodule update ...
Read more >CMake must be installed to build the following extensions: dlib ...
No need to install VSCode. I used create python virtual environment version 3.6 and installed dlib with wheel file as it was supporting...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What worked for me, for whatever reason, is renaming the
site-packages/diffvg-0.0.1-py3.8-win-amd64.egg/diffvg
file todiffvg.pyd
@surjikal It worked for me too! Thank you!