pix2surf icon indicating copy to clipboard operation
pix2surf copied to clipboard

Problem running demo.py

Open RoQueAngel opened this issue 3 years ago • 1 comments

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

RoQueAngel avatar Nov 12 '21 18:11 RoQueAngel

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.

abhishekmaroon5 avatar Dec 21 '21 17:12 abhishekmaroon5