You need to get future and compile it. https://pypi.python.org/pypi.future Save yourself a lot of extra trouble and install linux instead of trying to use emulators. Not that difficult and it doesn’t require a ton of disk space. I have windoze and 3 flavors of linux on this box. To get away from the problems with grub and dual booting with windoze install linux on a separate disk and don’t let it update the windoze boot manager. Ubuntu will recognize the windoze bootmanager and put it in its boot menu. Then just set that disk as your boot disk in the bios. No issues with dual booting that way.
Thanks for the reply! I have actually already grabbed future from the python site and no matter how I try it, it always tells me it’s already there. I’ll look into the Linux concept and go from there unless anyone else has a thought. Thanks again!
Got it! To be honest I’m not sure what the solution is to help others, other than to say that the complete reinstall ended up working. On the reinstall I accidentally ran the pip install of the future module from a standard command prompt instead of cygwin command window. Once I ran it from cygwin, everything worked fine.
When I ran the pip command to install the future module from the command prompt, it told me it was already there but would still give the error. So instead, open cygwin and run the same install command from that prompt. That did it for me. Hope this helps!
I did follow the directions of adding the export command to the end .bashrc file, but it wasn’t taking. I have just accustomed myself to running the export command every time I want to run the simulator. The extra step outweighs the extra hassle.
Steps to starting the simulation: (Windows)
1.) Open Cygwin
2.) cd ~/ardupilot/ArduCopter
3.) export PATH=$PATH:$HOME/ardupilot/Tools/autotest
4.) sim_vehicle.py -j4 -L NUCC --map
5.) Open a new Cygwin terminal
6.) cd ~/dronekit-python/examples/simple_goto
7.) python simple_goto.py --connect 127.0.0.1:14550
I was found this kind of error while building ardupilot from source code. I fixed it by check where’s my future library and which python that i use for build the ardupilot. Because i installed future library for python3, than i should build waf by python3 as well. You can change waf setting it by open waf file in /ardupilot and replace “#!/usr/bin/env python” by “#!/usr/bin/env python3”. Or maybe you can adapt it to your ubuntu’s settings