self-driving-car icon indicating copy to clipboard operation
self-driving-car copied to clipboard

TypeError: can't multiply sequence by non-int of type 'float'

Open cvpfus opened this issue 5 years ago • 1 comments

I got this message when running main.py

Traceback (most recent call last): File "D:/Source code/self-driving-car-master/self-driving-car-master/main.py", line 135, in map = CarMap() File "D:\Source code\self-driving-car-master\self-driving-car-master\Car_Map.py", line 13, in init self.in_grey = [160] * (len(self.in_map) / 2) TypeError: can't multiply sequence by non-int of type 'float'

I'm totally newbie

cvpfus avatar Mar 07 '19 00:03 cvpfus

try to run it with python 2.7

rotem154154 avatar Apr 17 '19 15:04 rotem154154