Error in mavlink files cant build ardupilot

hi i did everything step by step when i run ./waf copter i get following errror kindly help me in solving this issue
Waf: Leaving directory `/home/muntaha/ardupilot/build/sitl’
Build failed
Traceback (most recent call last):
File “/home/muntaha/ardupilot/modules/waf/waflib/Task.py”, line 338, in process
ret = self.run()
File “Tools/ardupilotwaf/mavgen.py”, line 55, in run
from pymavlink.generator import mavgen
File “/home/muntaha/ardupilot/modules/mavlink/pymavlink/generator/mavgen.py”, line 12, in
from future import standard_library
ImportError: No module named future

muntaha@muntaha-ThinkPad-T450s:~/ardupilot$

please help me asap as i have project to complete
also after this are there any steps or installation and build is complete

You’re missing a Python package, use:
pip install future

The development Wiki has instructions for setting up the build environment: http://ardupilot.org/dev/docs/building-setup-linux.html

1 Like

dear sir i did pip install future
muntaha@muntaha-ThinkPad-T450s:~/ardupilot$ sudo pip install future
The directory ‘/home/muntaha/.cache/pip/http’ or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
The directory ‘/home/muntaha/.cache/pip’ or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
Requirement already satisfied: future in /home/muntaha/.local/lib/python2.7/site-packages

then again did configure copter it is giving same error again:
Waf: Leaving directory `/home/muntaha/ardupilot/build/sitl’
Build failed
Traceback (most recent call last):
File “/home/muntaha/ardupilot/modules/waf/waflib/Task.py”, line 338, in process
ret = self.run()
File “Tools/ardupilotwaf/mavgen.py”, line 55, in run
from pymavlink.generator import mavgen
File “/home/muntaha/ardupilot/modules/mavlink/pymavlink/generator/mavgen.py”, line 12, in
from future import standard_library
ImportError: No module named future

Hello Muntaha

I am getting same issue as yours. Did you manage to solve the problem?

Thanks
Rokon

Do you solve the problem?

From the ardupilot/ArduPlane directory, try this:

…/Tools/autotest/sim_vehicle.py --map –console

If you want to open ArduCopter then just replace the ArduPlane with ArduCopter in the above command