gradslam/gradslam

No matching distribution found for open3d==0.10.0.0

Closed this issue · 4 comments

I tried both
pip install gradslam
and
pip install 'git+https://github.com/gradslam/gradslam.git' -q

Both gives the same error:

ERROR: Could not find a version that satisfies the requirement open3d==0.10.0.0 (from gradslam) (from versions: none)
ERROR: No matching distribution found for open3d==0.10.0.0

It seems the latest open3d is 0.15.0 now, is it possible to upgrade the open3d dependency?

Hi @yangyi02,

I am actually working with open3d==0.16.0 and so far every thing works fine.

Here is the full error message I got. I am using a virtualenv with python 3.10.8 and pip 22.2

pip install gradslam

Collecting gradslam
Downloading gradslam-0.1.0-py3-none-any.whl (87 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.7/87.7 kB 4.2 MB/s eta 0:00:00
Collecting torch>=1.6.0
Downloading torch-1.13.1-cp310-cp310-manylinux1_x86_64.whl (887.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 887.5/887.5 MB 1.3 MB/s eta 0:00:00
Collecting plotly>=4.10
Downloading plotly-5.11.0-py2.py3-none-any.whl (15.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.3/15.3 MB 65.8 MB/s eta 0:00:00
ERROR: Could not find a version that satisfies the requirement open3d==0.10.0.0 (from gradslam) (from versions: 0.16.0)
ERROR: No matching distribution found for open3d==0.10.0.0

Hi @yangyi02,

I noticed this issue with newer python versions. The workaround, for now (until we push a PR), will be to install this from source (and not via pip). As @EdwardjkFeng points out (and based on my recent tests), latest versions of open3d work well too.

So,

  1. Clone the gradslam repo
  2. Edit requirements.txt to remove the ==0.10.0 suffix for open3d
  3. Uninstall any previous gradslam installations by running pip uninstall gradslam
  4. Build from source by running python setup.py build develop

We are working towards a newer version release that addresses this issue, with other feature additions and support. This workaround should do well in the meantime.

Great, thank you for the fast reply.