Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install openpifpaf=0.13.0 #4

Closed
Matus-Tanonwong opened this issue Mar 1, 2022 · 4 comments
Closed

Unable to install openpifpaf=0.13.0 #4

Matus-Tanonwong opened this issue Mar 1, 2022 · 4 comments

Comments

@Matus-Tanonwong
Copy link

Hello!!
I have been trying to install the openpifpaf=0.13.0 on a conda environment but getting the following error:

Building wheel for openpifpaf (PEP 517) ... error
ERROR: Failed building wheel for openpifpaf Failed to build openpifpaf
ERROR: Could not build wheels for openpifpaf which use PEP 517 and cannot be installed directly

Here are my current dependencies:
Ubuntu 18.04
CUDA 10.2
conda 4.11.0
Python 3.8.12
torch 1.10.2
torch vision 0.11.3

Could anyone please guide me on how to fix this issue?

@younesbelkada
Copy link
Collaborator

Hi there,

Thank you very much for your comment!
On my side I have managed to install correctly the requirements using python virtual environment with python version 3.8.10. Could you try to run creating the virtual environment using venv?
I have also updated the requirements.txt file

Thanks!

@Matus-Tanonwong
Copy link
Author

Thank you very much for your quick response!

After I created the virtual environment using venv with python 3.8.5, I tried to install the openpifpaf but got a new error as the following:

RuntimeError: Error compiling objects for extension [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for openpifpaf Failed to build openpifpaf ERROR: Could not build wheels for openpifpaf, which is required to install pyproject.toml-based projects

Do I specifically need to install it with python version 3.8.10?

@younesbelkada
Copy link
Collaborator

Hi,

Yes could you please try it with Python 3.8.10 ?
If it still persists I suspect it is an issue related to your cuda version together with openpifpaf, I suggest you to post the issue on openpifpaf's official repo
Please let me know, thanks

@Matus-Tanonwong
Copy link
Author

Thank you very much for your response!

It worked with Python 3.8.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants