wayveai / mile

PyTorch code for the paper "Model-Based Imitation Learning for Urban Driving".
MIT License
330 stars 31 forks source link

Carla installation error: Could not find suitable distribution for Requirement.parse('carla==0.9.11') #22

Open AmanSavaria1402 opened 11 months ago

AmanSavaria1402 commented 11 months ago

Trying to install carla 0.9.11 using the .egg file provided in the carla zip in the repository. Here is what I did to try and install it: easy_install D:\SelfDriving\CARLA_0.9.11\WindowsNoEditor\PythonAPI\carla\dist\carla-0.9.11-py3.7-win-amd64.egg

But Im getting this as a result:

WARNING: The easy_install command is deprecated and will be removed in a future version.
Processing carla-0.9.11-py3.7-win-amd64.egg
creating d:\users\asavaria\anaconda3\envs\mile\lib\site-packages\carla-0.9.11-py3.7-win-amd64.egg
Extracting carla-0.9.11-py3.7-win-amd64.egg to d:\users\asavaria\anaconda3\envs\mile\lib\site-packages
Adding carla 0.9.11 to easy-install.pth file

Installed d:\users\asavaria\anaconda3\envs\mile\lib\site-packages\carla-0.9.11-py3.7-win-amd64.egg
Processing dependencies for carla==0.9.11
Searching for carla==0.9.11
Reading https://pypi.org/simple/carla/
No local packages or working download links found for carla==0.9.11
error: Could not find suitable distribution for Requirement.parse('carla==0.9.11')
anthonyhu commented 11 months ago

There is an error message but I think carla has still been installed properly. Could you check this by: while inside your conda environment run pip list and verify if carla is present among the packages?

samehmohamed88 commented 3 months ago

thanks @anthonyhu you reply is correct. pip list does show carla 0.9.11 as installed