LuxCore icon indicating copy to clipboard operation
LuxCore copied to clipboard

FIX/SOLUTION: ["ModuleNotFoundError: No module named 'pip'"] & ["This package is hosted on NVIDIA Python Package Index"]

Open BigSpice opened this issue 2 months ago • 3 comments

Found workarounds to install nvidia-pyindex and nvidia-cuda-nvrtc-cu112 in 2025 Blender 4.5.3 LTS Pip version - pip 25.2

nvidia-pyindex

Run the following:

python -m pip install wheel python -m pip install -U wheel setuptools

Wheel is an undeclared requirement of the package nvidia-pyindex.

You can now run:

python -m pip install nvidia-pyindex

nvidia-cuda-nvrtc-cu112

Run:

python -m pip install --no-cache-dir --index-url https://pypi.nvidia.com nvidia-cuda-nvrtc-cu112

My Working Proof.

Image

My Mess :(

Image Image

BigSpice avatar Oct 11 '25 19:10 BigSpice

Hello, could you please add some description of the original problem, i.e. why this is necessary to fix to begin with?

Does it affect a specific BlendLuxCore version? Is this related to your system in some way? Hardware requirements for an older nvrtc version?

CodeFHD avatar Oct 12 '25 09:10 CodeFHD

Problem:

On install of Lux renderer through documentation. The addon requested that all required modules are installed from python. Obtaining these modules using the given documentation, multiple errors were met not allowing me to proceed and use the renderer.

  • Affects the latest version hosted publicly.

  • System Unrelated as I had to repeat this on my older Win10 Machine when i was tinkering with multiple render devices on this render platform.

  • Its mostly caused from what I can observe and parse. The Nvidia team moved their repo from the orginal pypi.org (py-indexed pip) endpoint, this mucked up all relaint commands as the pypi.org address is assumed to be the sole source of the repo data for the install of the Nvrtc module.

Upon investigation and the above commands, just re-routing the download request to the correct location fixes the install issues.

I really thought a pip update would update the repo locations as even the attempt to download informs you that the current endpoint at pip is just a placeholder.

BigSpice avatar Oct 16 '25 02:10 BigSpice

On install of Lux renderer through documentation. The addon requested that all required modules are installed from python. Obtaining these modules using the given documentation, multiple errors were met not allowing me to proceed and use the renderer.

This sounds like there was either something unclear or some misunderstanding about the documentation, or there is some outdated documentation page somewhere that I am not aware of. The (latest) documentation does not describe to use pip install ... yourself, nor does it point to CUDA version 11 but version 12.

To be explicit from my side, this is the latest documentation: https://wiki.luxcorerender.org/BlendLuxCore_Installation

Could you please confirm this is the page you are referring to, or else post the link to the documentation you were following?

Affects the latest version hosted publicly.

In this case I'd also like to confirm explicitly: You are talking about v2.10.1? Or some other version?

Upon investigation and the above commands, just re-routing the download request to the correct location fixes the install issues.

Despite what I wrote above, this is OK, as the engine should not yet require any CUDA12 features and CUDA11 should work as well.

CodeFHD avatar Oct 16 '25 18:10 CodeFHD