yfeng95 / face3d

Python tools for 3D face: 3DMM, Mesh processing(transform, camera, light, render), 3D face representations.
2.65k stars 611 forks source link

face3d-master\face3d\mesh\io.py error #9

Open yyssmm opened 5 years ago

yyssmm commented 5 years ago

Hi, Thank you for sharing your code. I meet an error like this: File "F:\face3d-master\face3d\mesh\io.py", line 5, in ModuleNotFoundError: No module named 'numpy'

But I have install numpy and the version is 1.15.2. What can I do to solve it?

danindiana commented 5 years ago

What is the operating system you are using? What python version are you using? Note: Assuming you are using something like bash command line(try $python --version) Which python inherits that version? (try $which python)

What is your virtual environment? pip, conda?

Try: $pip install --upgrade pip

You might want to try $pip3 install numpy

...and then deactivate your shell and reactivate it and then try to run the code again. Hope this helps.