UsingNet / nvjpeg-python

nvjpeg for python
MIT License
91 stars 24 forks source link

ERROR: Failed building wheel for pynvjpeg #5

Closed advanced373 closed 3 years ago

advanced373 commented 3 years ago

Hi,

I'm trying to install this module, but I received ERROR: Failed building wheel for pynvjpeg - nvjpeg-python.c(2): fatal error C1083: Cannot open include file: 'nvjpeg.h': No such file or directory. I mentioned that I have cuda toolkit 11.0, OS Windows, Python 3.9.

zeng-qinghui commented 3 years ago

This package has not been tested on Windows, I will get back to you after testing it.

zeng-qinghui commented 3 years ago

Can you find the file in "NVIDIA GPU Computing Toolkit\CUDA{YOUR CUDA VERSION}\include\nvjpeg.h" ?

advanced373 commented 3 years ago

Yes, I found it.

zeng-qinghui commented 3 years ago

Yes, I found it.

I updated it. The version 0.0.13 can be built in Windows.

nistarlwc commented 1 year ago

How to install in windows10 with cuda 11.2?

src\x86\JpegCoder.cpp(2): fatal error C1083: “nvjpeg.h”: No such file or directory error: command 'D:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.36.32532\bin\HostX86\x64\cl.exe' failed with exit code 2