miraymen / pix2surf

Learning to Transfer Texture from Clothing Images to 3D Humans, CVPR 2020
Other
342 stars 62 forks source link

Problem running demo.py #33

Open RoQueAngel opened 2 years ago

RoQueAngel commented 2 years ago

Hi everyone!

I am running the program on a server in a virtual environment called pix2surf, which has all the pertinent installations and when I execute the command python3 demo.py, it returns an error as if numpy was not installed, when numpy is installed. This can be seen in the attached photo.

I have tried to reinstall numpy, to update it to the latest and the specified version in the guide and even to reinstall the package from scratch and it doesn't work.

How could I fix this error?

image_error

abhishekmaroon5 commented 2 years ago

Hey, the problem is not with the pix2surf environment, the problem is your blender python can not find a module named numpy. When you run render.py inside blender will look into available modules in blender pip rather than your conda environment. I hope it's clear now.