HugoTini / DeepBump

Normal & height maps generation from single pictures
https://hugotini.github.io/deepbump
GNU General Public License v3.0
1.07k stars 41 forks source link

Error when installing dependencies #4

Closed eyemcreative closed 1 year ago

eyemcreative commented 2 years ago

When I try to install the dependencies, it loads for a second and then gives me this error: Command '['C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\bin\python.EXE', '-m', 'pip', 'install', 'onnxruntime']' returned non-zero exit status 1.

I can't find any documentation or anyone else talking about this error

Globberbob commented 1 year ago

I am also having this issue. I tried installing DeepBump, and when I clicked the button to get the dependencies this same error occurred. As far as I can find there is no current solution still

FeuerTiger86 commented 1 year ago

Run Blender as Administrator.

HugoTini commented 1 year ago

It seems that on Windows, depending how Blender was installed, it can happen that the script doesn't get sufficient permissions to install the dependencies.

As mentioned by @FeuerTiger86, it should work by running Blender as admin (right click on Blender in Windows' menu -> run as administrator). I've updated the readme to mention this. Note that this is just needed for installing dependencies, then Blender can be run normally again