[JdeRobot] [jderobot][MavLink-SITL] problem in import "from future import standard_library"

Jose Antonio cbyte18 at gmail.com
Sun Dec 18 18:45:53 CET 2016


Hi all,

I'm on install SITL software to emulate a plane which can be operated 
over MAVLink commands, all the install instruction are here 
http://ardupilot.org/dev/docs/setting-up-sitl-on-linux.html for anyone 
interested.

/I had a trouble finished the installation on the first launch.

Waf: Entering directory `/home/josete/ardupilot/build/sitl'
[4/4] Processing modules/mavlink/message_definitions/v1.0/ardupilotmega.xml
Traceback (most recent call last):
   File 
"/home/josete/ardupilot/modules/mavlink/pymavlink/tools/mavgen.py", line 
16, in <module>
     from pymavlink.generator import mavgen
   File 
"/home/josete/ardupilot/modules/mavlink/pymavlink/generator/mavgen.py", 
line 12, in <module>
     from future import standard_library
ImportError: No module named future

mavgen returned 1 error code
Waf: Leaving directory `/home/josete/ardupilot/build/sitl'
Build failed
  -> task in 'mavlink' failed (exit status 1):
     {task 140126879052096: mavgen ardupilotmega.xml -> }
''/

It seems can't do the import " from future import standard_library". 
Future library is installed and in the last version but for import 
future y usually use __future__ not future. Searching more information I 
saw in the future's web http://python-future.org/quickstart.html the 
import is correct but ¿what can I do to solve the problem?

Thanks a lot
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://gsyc.urjc.es/pipermail/jde-developers/attachments/20161218/ec57922f/attachment.html>


More information about the Jde-developers mailing list