-
Notifications
You must be signed in to change notification settings - Fork 164
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
Error when installing nvdiffrast #199
Comments
I got the same issue. |
We have seen a somewhat similar problem in issue #170, and back then it was an environment issue. I suggest checking if the problem persists in a clean Python installation. |
I had this same error and found a workaround. Setup.py is attempting to import nvdiffrast before it is installed. You can modify the setup.py as such in order to install it. At the top of the setup.py, change "import nvdiffrast" to the following:
And change the setup tools version line to the following: The setup.py will then run and will install the repository with a made-up version number of 0.0.0. However, nvdiffrast will register as being installed. Then, revert to the original setup.py and re-run. The module will import successfully at the outset and then the script will run correctly and register as installing the current version. |
I have a problem.
Platform: Windows
Python version: 3.11.8
The following is an error after running pip install .
my pip list
Package Version
aiohttp 3.9.5
aiosignal 1.3.1
antlr4-python3-runtime 4.9.3
attrs 23.2.0
certifi 2024.7.4
cffi 1.16.0
charset-normalizer 3.3.2
click 8.1.7
cmake 3.30.2
colorama 0.4.6
coloredlogs 15.0.1
contourpy 1.3.0
cryptography 43.0.1
cycler 0.12.1
dataclasses-json 0.6.7
Deprecated 1.2.14
diffusers 0.30.2
einops 0.8.0
executing 2.1.0
filelock 3.15.4
flatbuffers 24.3.25
fonttools 4.53.1
frozenlist 1.4.1
fsspec 2024.6.1
ftfy 6.2.3
gitdb 4.0.11
GitPython 3.1.43
gpytoolbox 0.3.2
hatchling 1.25.0
huggingface-hub 0.23.4
humanfriendly 10.0
idna 3.7
imageio 2.35.1
imageio-ffmpeg 0.5.1
importlib_metadata 8.4.0
intel-openmp 2021.4.0
jaxtyping 0.2.34
Jinja2 3.1.4
jsonschema 4.23.0
jsonschema-specifications 2023.12.1
kiui 0.2.5
kiwisolver 1.4.7
kornia 0.7.3
kornia_rs 0.1.5
lazy_loader 0.4
lightning-utilities 0.11.7
llvmlite 0.43.0
markdown-it-py 3.0.0
MarkupSafe 2.1.5
marshmallow 3.22.0
matplotlib 3.9.2
matrix-client 0.4.0
mdurl 0.1.2
mkl 2021.4.0
mpmath 1.3.0
msvc_runtime 14.40.33807
multidict 6.0.5
mypy-extensions 1.0.0
nerfacc 0.5.3
networkx 3.3
ninja 1.11.1.1
numba 0.60.0
numpy 1.26.4
objprint 0.2.3
omegaconf 2.3.0
onnxruntime 1.19.2
open_clip_torch 2.26.1
opencv-python 4.10.0.84
opencv-python-headless 4.10.0.84
packaging 24.1
pathspec 0.12.1
pillow 10.4.0
pip 24.2
platformdirs 4.3.1
pluggy 1.5.0
plyfile 1.1
pooch 1.8.2
protobuf 5.28.0
psutil 6.0.0
pycparser 2.22
pygit2 1.15.1
PyGithub 2.4.0
pygltflib 1.16.2
Pygments 2.18.0
pyhocon 0.3.61
PyJWT 2.9.0
PyMatting 1.1.12
PyMCubes 0.1.6
pymeshlab 2023.12.post1
PyNaCl 1.5.0
pyparsing 3.1.4
pyreadline3 3.4.1
python-dateutil 2.9.0.post0
pytorch-lightning 2.4.0
pytorch-msssim 1.0.0
PyYAML 6.0.1
referencing 0.35.1
regex 2024.5.15
rembg 2.0.59
requests 2.32.3
rich 13.8.0
rpds-py 0.20.0
safetensors 0.4.3
scikit-image 0.24.0
scipy 1.14.0
sentencepiece 0.2.0
setuptools 65.5.0
shellingham 1.5.4
six 1.16.0
slangtorch 1.2.6
smmap 5.0.1
soundfile 0.12.1
spandrel 0.3.4
sympy 1.13.0
tbb 2021.13.0
tifffile 2024.8.30
timm 1.0.9
tokenizers 0.19.1
torch 2.3.0+cu121
torchaudio 2.3.0+cu121
torchmetrics 1.4.1
torchsde 0.2.6
torchtyping 0.1.5
torchvision 0.18.0+cu121
tqdm 4.66.4
trampoline 0.1.2
transformers 4.42.4
trimesh 4.4.9
trove-classifiers 2024.7.2
typeguard 2.13.3
typer 0.12.5
typing_extensions 4.12.2
typing-inspect 0.9.0
urllib3 1.26.20
varname 0.13.3
wcwidth 0.2.13
wheel 0.43.0
wrapt 1.16.0
xatlas 0.0.9
yarl 1.9.4
zipp 3.20.1
How can I fix this error to ensure that nvdiffrast will install properly?
The text was updated successfully, but these errors were encountered: