Skip to content

Error when setting up - subprocess.CalledProcessError: Command '['cmake', '--build', '.']' returned non-zero exit status 2 #1

@tan800630

Description

@tan800630

Hi,
When I try to run python setup.py build , I got an unexpected error which said
subprocess.CalledProcessError: Command '['cmake', '--build', '.']' returned non-zero exit status 2
at the end of error code. There is also one line of error code said
/home/tan/Github/PyLandmark/python/pyboost_cv4_converter.cpp:63:2: error: ‘UMatData’ does not name a type UMatData* allocate(PyObject* o, int dims, const int* sizes, int type,

I was wondering what happened and how can I fixed it.

thank you.


Some packages version of my environment are:
Ubuntu 16.04.6 LTS
python version : 3.5.2
numpy version : 1.17.4
opencv-python version : 4.1.2.30

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions