Keypoint_Communities icon indicating copy to clipboard operation
Keypoint_Communities copied to clipboard

Error while installing openpifpaf

Open samymdihi opened this issue 4 years ago • 4 comments

While running the requirements.txt I got stuck on an issue regarding openpifpaf==0.13.0. It seems like the version cannot be found. Do you have a way to bypass that ?

samymdihi avatar Oct 18 '21 16:10 samymdihi

I just removed the version specification and it worked

samymdihi avatar Oct 19 '21 10:10 samymdihi

Could you specify which OS and python version you are using? Only the newest openpifpaf version (0.13.0) includes a C++ implementation of the decoder which is crucial for a high inference speed. You can check your openpifpaf version with python -m openpifpaf.train --version.

DuncanZauss avatar Oct 19 '21 15:10 DuncanZauss

I am on windows 10, python 3.9 and the installed openpifpaf version is 0.12.14

samymdihi avatar Oct 19 '21 15:10 samymdihi

I see. Could you try to install OpenPifPaf from source? I.e. git clone OpenPifPaf and then run the following command in the folder where the setup.py file is:

pip install -e .

Also for openpifpaf 0.13.0 you need to make sure that you have a C++ compiler installed.

DuncanZauss avatar Nov 23 '21 13:11 DuncanZauss