TUMFTM / EthicalTrajectoryPlanning

An Ethical Trajectory Planning Algorithm for Autonomous Vehicles
GNU Lesser General Public License v3.0
198 stars 29 forks source link

Installation Errors #1

Closed ntntnlstdnt closed 1 year ago

ntntnlstdnt commented 1 year ago

Hello,

First and foremost, thank you for this great resource. However, I ran into the following errors while following installation instructions provided, and I was wondering if you know how it can be resolved:

The error is shown below: Collecting commonroad-vehicle-models>=3.0.0 (from commonroad-drivability-checker->-r requirements.txt (line 2)) Could not find a version that satisfies the requirement commonroad-vehicle-models>=3.0.0 (from commonroad-drivability-checker->-r requirements.txt (line 2)) (from versions: 1.0.0, 2.0.0) No matching distribution found for commonroad-vehicle-models>=3.0.0 (from commonroad-drivability-checker->-r requirements.txt (line 2))

I also tried installing just common-drivability-checker and failed:

lpw51@lpw51-ThinkPad-P51:~/planner/EthicalTrajectoryPlanning$ pip3 install common-drivability-checker Collecting common-drivability-checker Could not find a version that satisfies the requirement common-drivability-checker (from versions: ) No matching distribution found for common-drivability-checker

I am installing the program in an Ubuntu 18.04 OS and using Python 3.6.

Your assistance will be much appreciated.

mgeisslinger commented 1 year ago

It seems that commonroad-vehicle-models was updated and requires Python3.7 or later: https://pypi.org/project/commonroad-vehicle-models/

Could you please try again with Python3.8 e.g.?

ntntnlstdnt commented 1 year ago

Still got an error (below). But I think the issue arises from my setup. My Python3.8 is missing a header file, Python.h, which is needed to build Polygon3. I will look into finding a solution and update the post for future reference.

image