Joelzeller / CoPilot

Raspberry Pi powered in-car infotainment system
http://joelzeller.wixsite.com/copilot
121 stars 38 forks source link

mapview concurrent.futures #8

Open rcpilotp51 opened 6 years ago

rcpilotp51 commented 6 years ago

Ive installed futures - do you know why I am getting this error?

Traceback (most recent call last): File "main.py", line 47, in from kivy.garden.mapview import MapView File "/usr/local/lib/python2.7/dist-packages/kivy/garden/init.py", line 100, in load_module return self._load_module(fullname, moddir) File "/usr/local/lib/python2.7/dist-packages/kivy/garden/init.py", line 104, in _load_module ('', '', imp.PKG_DIRECTORY)) File "/home/pi/CoPilot/libs/garden/garden.mapview/init.py", line 3, in from .mapview import * File "/home/pi/CoPilot/libs/garden/garden.mapview/mapview/init.py", line 30, in from mapview.source import MapSource File "/home/pi/CoPilot/libs/garden/garden.mapview/mapview/source.py", line 9, in from mapview.downloader import Downloader File "/home/pi/CoPilot/libs/garden/garden.mapview/mapview/downloader.py", line 8, in from concurrent.futures import ThreadPoolExecutor, TimeoutError, as_completed ImportError: No module named concurrent.futures

THanks for your help

rcpilotp51 commented 6 years ago

i removed sudo from the launcher.sh and dont get this error any longer

chaoman commented 6 years ago

You can also resolve this by installing futures from the mapview path.

pi@raspberrypi:~/CoPilot/libs/garden/garden.mapview/mapview $ sudo pip install futures