gerkone / pyTORCS-docker

Docker-based, gym-like torcs environment with vision.
17 stars 3 forks source link

Error during launch of pytorcs.py #6

Closed MattiaCarolo closed 2 years ago

MattiaCarolo commented 2 years ago

Hi, I was trying to run your code but I can't pass past the the initialization. When I try to run python pytorcs.py it returns me this error

Traceback (most recent call last):
  File "driver/launch.py", line 4, in <module>
    import importlib.util
ImportError: No module named util

I tried running it with different versions of python but all to no avail.

gerkone commented 2 years ago

Hey Mattia. I can’t access a pc right now. Are you sure you are using python3?

MattiaCarolo commented 2 years ago

Yeah to be sure I tried python, python3 and pyton3.8 but always same error message

MattiaCarolo commented 2 years ago

I managed to make it run after reinstalling ubuntu 20.04. Tried to understand what was wrong but all to no avail sorry for the hassle

gerkone commented 2 years ago

Glad you solved, sorry I wasn’t any more helpful. The only thing that came to mind was that your python binaries were mixed up and you were actually running python2 regardless