I trying to explore Menpo and Menpofit with PyCharm IDE. I have installed required packages but I have some issue:
So how I can run Menpo and Menpofit with PyCharm?
How did you install the required packages? With the conda
instructions, or via pip
?
The error you are seeing there is because CLookupPWA
and compute_normals
are compiled Python extensions that need to be built before the package can be loaded. The easiest way to do this is to use the make
command in the Menpo top level, which runs python setup.py build_ext --inplace
.
If you are on Windows, things start to get pretty tricky, because you need to be able to compile the code properly. Take a look at the instructions here which try to explain how to properly set up Visual Studio 2008.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.