cosbidev / PyTrack

a Map-Matching-based Python Toolbox for Vehicle Trajectory Reconstruction
https://pytrack-lib.readthedocs.io/en/latest/#
BSD 3-Clause Clear License
62 stars 9 forks source link

Installation error: Minimum supported PROJ version is 8.0.0, installed version is 5.2.0. #16

Open pabst2009 opened 6 months ago

pabst2009 commented 6 months ago

PyTrack version checks

Issue Description

I had an error when installing PyTrack by pip.

Reproducible Example

pip install PyTrack-lib

Error Message

Collecting PyTrack-lib
  Downloading PyTrack_lib-2.0.8-py3-none-any.whl.metadata (5.5 kB)
Collecting numpy~=1.23.2 (from PyTrack-lib)
  Downloading numpy-1.23.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.3 kB)
Collecting pandas~=1.4.4 (from PyTrack-lib)
  Downloading pandas-1.4.4.tar.gz (4.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.9/4.9 MB 61.9 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting networkx~=2.8.6 (from PyTrack-lib)
  Downloading networkx-2.8.8-py3-none-any.whl.metadata (5.1 kB)
Collecting shapely~=1.8.4 (from PyTrack-lib)
  Downloading Shapely-1.8.5.post1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (43 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.1/43.1 kB 4.7 MB/s eta 0:00:00
Collecting pyproj~=3.3.1 (from PyTrack-lib)
  Downloading pyproj-3.3.1.tar.gz (219 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 219.1/219.1 kB 22.5 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [2 lines of output]
      <string>:9: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
      ERROR: Minimum supported PROJ version is 8.0.0, installed version is 5.2.0. For more information see: https://pyproj4.github.io/pyproj/stable/installation.html
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

PyTrack/Python version information

Python 3.11.4 PyTrack_lib-2.0.8-py3-none-any.whl

Additional Context

No response