opendilab / InterFuser

[CoRL 2022] InterFuser: Safety-Enhanced Autonomous Driving Using Interpretable Sensor Fusion Transformer
Apache License 2.0
514 stars 42 forks source link

Setup error #78

Open abol-karimi opened 8 months ago

abol-karimi commented 8 months ago

I followed the setup instructions, but I get the following errors:

ERROR: Ignored the following versions that require a different python version: 1.25.0 Requires-Python >=3.9; 1.25.0rc1 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.0b1 Requires-Python <3.13,>=3.9; 1.26.0rc1 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9; 1.26.2 Requires-Python >=3.9; 3.2 Requires-Python >=3.9; 3.2.1 Requires-Python >=3.9; 3.2rc0 Requires-Python >=3.9; 3.8.0 Requires-Python >=3.9; 3.8.0rc1 Requires-Python >=3.9; 3.8.1 Requires-Python >=3.9; 8.13.1 Requires-Python >=3.9; 8.13.2 Requires-Python >=3.9; 8.14.0 Requires-Python >=3.9; 8.15.0 Requires-Python >=3.9; 8.16.0 Requires-Python >=3.9; 8.16.1 Requires-Python >=3.9; 8.17.0 Requires-Python >=3.9; 8.17.1 Requires-Python >=3.9; 8.17.2 Requires-Python >=3.9
ERROR: Could not find a version that satisfies the requirement open3d==0.9.0.0 (from versions: 0.10.0.0, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.13.0, 0.14.1, 0.15.2, 0.16.0, 0.17.0)
ERROR: No matching distribution found for open3d==0.9.0.0
deepcs233 commented 8 months ago

Hi! Maybe you can delete this package in the requirement.txt? If the code cannot run, then you can pip install it again.

abol-karimi commented 8 months ago

Thanks! I was able to finish the setup.

I got some errors (but not sure whether it will affect using the code):

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
keyring 20.0.1 requires secretstorage; sys_platform == "linux", which is not installed.
verifai 1.1.0b1 requires matplotlib<4.0.0,>=3.2.1, but you have matplotlib 3.0.3 which is incompatible.
verifai 1.1.0b1 requires pandas<2.0.0,>=1.0.3, but you have pandas 0.25.3 which is incompatible.
verifai 1.1.0b1 requires pygame<2.0.0,>=1.9.6, but you have pygame 2.1.2 which is incompatible.
scenic 1.1.0b1 requires matplotlib<4.0.0,>=3.2.1, but you have matplotlib 3.0.3 which is incompatible.
scenic 1.1.0b1 requires pillow<8.0.0,>=7.1.1, but you have pillow 7.0.0 which is incompatible.

after installing requirements.txt, and

Error processing line 1 of /home/ak/anaconda3/envs/interfuser/lib/python3.7/site-packages/distutils-precedence.pth:

  Traceback (most recent call last):
    File "/home/ak/anaconda3/envs/interfuser/lib/python3.7/site.py", line 168, in addpackage
      exec(line)
    File "<string>", line 1, in <module>
  ModuleNotFoundError: No module named '_distutils_hack'

Remainder of file ignored

after running easy_install.

deepcs233 commented 8 months ago

maybe you can try:

pip install -U pip setuptools