diff --git a/windows/MAVProxyWinBuild.bat b/windows/MAVProxyWinBuild.bat index 9ad02f3e7c..6c82bcd2d6 100755 --- a/windows/MAVProxyWinBuild.bat +++ b/windows/MAVProxyWinBuild.bat @@ -35,6 +35,7 @@ python.exe -m pip install -U wheel setuptools pip python.exe -m pip install pywin32 lxml pymavlink numpy matplotlib pyserial opencv-python PyYAML Pygame Pillow wxpython prompt-toolkit scipy python.exe -m pip install -U openai wave pyaudio python.exe -m pip install -U pyinstaller==6.7.0 packaging +python.exe -m pip install -U requests rem -----Build MAVProxy----- cd ..\ diff --git a/windows/mavproxy.spec b/windows/mavproxy.spec index dc1db8a63b..17edf8a35d 100755 --- a/windows/mavproxy.spec +++ b/windows/mavproxy.spec @@ -13,6 +13,7 @@ MAVProxyAny = Analysis(['mavproxy.py'], 'wx.lib.embeddedimage', 'wx.lib.imageutils', 'wx.lib.agw.aquabutton', 'wx.lib.agw.gradientbutton', 'six','packaging', 'packaging.version', 'packaging.specifiers', + 'requests', ] + collect_submodules('MAVProxy.modules') + collect_submodules('pymavlink') + collect_submodules('yaml') + collect_submodules('pygame'), datas= [ ('modules\\mavproxy_map\\data\\*.*', 'MAVProxy\\modules\\mavproxy_map\\data' ), @@ -26,6 +27,7 @@ MAVExpAny = Analysis(['.\\tools\\MAVExplorer.py'], # all the needed pieces, so we also import them in mavproxy.py hiddenimports=['cv2', 'wx', 'pylab', 'numpy', 'dateutil', 'matplotlib', + 'requests', 'prompt_toolkit', 'HTMLParser', 'wx.grid', 'wx._grid', 'wx.lib.agw.genericmessagedialog', 'wx.lib.wordwrap', 'wx.lib.buttons', 'wx.lib.embeddedimage', 'wx.lib.imageutils', 'wx.lib.agw.aquabutton',