agimus-project / happypose

Toolbox and trackers for object pose-estimation. Based on the work CosyPose and MegaPose
https://agimus-project.github.io/happypose/
BSD 2-Clause "Simplified" License
23 stars 9 forks source link

Python 3.11 support #32

Open MedericFourmy opened 1 year ago

MedericFourmy commented 1 year ago

In cosypose folder, while running conda env update --name happypose --file environment_noversion.yml (! typo, should be .yaml), I got an error while glumpy is being pip installed. Actually, the error seems to come from the triangle wheel, the error message ends with

      triangle/core.c:196:12: fatal error: longintrepr.h: No such file or directory
        196 |   #include "longintrepr.h"
            |            ^~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/home/mfourmy/miniconda3/envs/happypose/bin/x86_64-conda-linux-gnu-cc' failed with exit code 1
      [end of output]

It seems that the error is related to the conda python version, which is 11 by default, see this issue which seems to have the same problem.

Switching back to python 10 seems to solve the issue.

EDIT: looking at happypose/megapose6d/conda/environment_full.yaml, python=3.9 is enforced there, should we do it for cosypose/environment_noversion.yaml?

krrishdholakia commented 1 year ago

I'm facing the same error

nim65s commented 1 year ago

Hi @krrishdholakia,

This project is currently in alpha state: the first 0.x release is not ready, and it's not yet working well enough, even for its developers.

We can't provide support right now, I'd suggest you to wait for the first release before spending more time here