py3dtilers icon indicating copy to clipboard operation
py3dtilers copied to clipboard

can't install the py3dtiles

Open STILLMOREzzz opened this issue 2 years ago • 2 comments

I used ubuntu to follow the instructions to install the dependency, but the installation was unsuccessful.The error is as follows:

ERROR: Could not find a version that satisfies the requirement py3dtiles (unavailable) (from py3dtilers) (from versions: 0.0.9, 1.0.1, 1.0.2)
ERROR: No matching distribution found for py3dtiles (unavailable)

How to solve this problem?

STILLMOREzzz avatar Feb 18 '23 15:02 STILLMOREzzz

I gave up using the library, and it took 7-8 hours to install the dependencies without success. It was awful

STILLMOREzzz avatar Feb 19 '23 02:02 STILLMOREzzz

Hi ! Sorry that it was so hard for you to install.

Which ubuntu version are you using ? Which python version and pip version are you using ? Do you have another py3dtiles (not py3dtileRs) package installed ?

Fyi, Py3DTilers uses py3dtiles python library (forked from Oslandia's py3dtiles) for its in memory representation of tilesets.

From what I can deduce from your error log, it tries to install a specific version of py3dtiles instead of using the github repository that holds the fork (see this line.

When installing the dependencies, you should have something similar to this :

  Cloning https://github.com/VCityTeam/py3dtiles (to revision Tiler) to /tmp/pip-install-q4vw6c9l/py3dtiles_b0201e564afa4931990a90fa77010137
  Running command git clone --filter=blob:none --quiet https://github.com/VCityTeam/py3dtiles /tmp/pip-install-q4vw6c9l/py3dtiles_b0201e564afa4931990a90fa77010137
  Running command git checkout -b Tiler --track origin/Tiler
  Switched to a new branch 'Tiler'
  Branch 'Tiler' set up to track remote branch 'Tiler' from 'origin'.
  Resolved https://github.com/VCityTeam/py3dtiles to commit 291b02421a54a3bd6d46303a9f4e1426731ea7de
  Preparing metadata (setup.py) ... done

clementcolin avatar Feb 21 '23 10:02 clementcolin