yfeng95 / face3d

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

Cannot import name 'mesh_core_cython' #79

Open Iswarya05 opened 3 years ago

Iswarya05 commented 3 years ago

I am getting an "ImportError: cannot import name 'mesh_core_cython' from 'face3d.mesh.cython' (unknown location)" while executing the 1_pipeline.py file. can you please check and let me know.

sablea commented 3 years ago

same problem

yxdydgithub commented 3 years ago

cd ./engineer/render/face3d/mesh/cython python3 setup.py build_ext --inplace python3 setup.py install

453875726 commented 3 years ago

cd ./engineer/render/face3d/mesh/cython python3 setup.py build_ext --inplace python3 setup.py install

`dongchenbo@dongchenbo-Inspiron-5577:~/face3d/face3d/mesh/cython$ python3 setup.py install

running install

running build

running build_ext

skipping 'mesh_core_cython.cpp' Cython extension (up-to-date)

running install_lib

running install_egg_info

Removing /usr/local/lib/python3.6/dist-packages/mesh_core_cython-0.0.0.egg-info

error: [Errno 13] Permission denied: '/usr/local/lib/python3.6/dist-packages/mesh_core_cython-0.0.0.egg-info'

dongchenbo@dongchenbo-Inspiron-5577:~/face3d/face3d/mesh/cython$ `

duy1851999 commented 11 months ago

the same problem

siyuehua commented 7 months ago

the same problem. How to solve it?

siyuehua commented 7 months ago

After successfully compiling the file according to the method in the comment section, it can be run.