Have you checked the latest release for fixes?
Description
Expected Behavior
Following the instructions at https://docs.qgroundcontrol.com/master/en/qgc-dev-guide/getting_started/ should work on a Win10 system
Current Behavior
The step, "Install Additional Packages (Platform Specific)" for "Install Qt" (which is labeled as Step 1, but should be labeled as Step 4) says to run "python3 ./qgroundcontrol/tools/setup/install_dependencies.py --platform windows" on a windows system. On my system, the result from doing so is:
c:\cygwin64\home\rschulma>python3 qgroundcontrol\tools\setup\install_dependencies.py
Platform: windows
Installing Windows dependencies...
Architecture: AMD64
Installing GStreamer 1.28.1...
Downloading GStreamer installers in parallel...
Downloading gstreamer-1.0-msvc-x86_64-1.28.1.msi...
Downloading gstreamer-1.0-devel-msvc-x86_64-1.28.1.msi...
Traceback (most recent call last):
File "c:\cygwin64\home\rschulma\qgroundcontrol\tools\setup\install_dependencies.py", line 383, in download_file
import httpx
ModuleNotFoundError: No module named 'httpx'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\cygwin64\home\rschulma\qgroundcontrol\tools\setup\install_dependencies.py", line 869, in
sys.exit(main())
^^^^^^
File "c:\cygwin64\home\rschulma\qgroundcontrol\tools\setup\install_dependencies.py", line 858, in main
success = install_windows(
^^^^^^^^^^^^^^^^
File "c:\cygwin64\home\rschulma\qgroundcontrol\tools\setup\install_dependencies.py", line 678, in install_windows
if not install_windows_gstreamer(version, dry_run):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\cygwin64\home\rschulma\qgroundcontrol\tools\setup\install_dependencies.py", line 609, in install_windows_gstreamer
if not future.result():
^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures_base.py", line 401, in __get_result
raise self._exception
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\cygwin64\home\rschulma\qgroundcontrol\tools\setup\install_dependencies.py", line 402, in download_file
with urllib.request.urlopen(req, timeout=timeout) as response, open(dest, "wb") as out:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
Steps To Reproduce
- clone the qgroundcontrol repo grabbing the latest clone-able bits
2 .perform steps 1-3 under "Install Qt" on the QGC "Getting Started" web page
- invoke python to install additional, windows-specific packages
Additional Details
Add any extra info (errors, warnings, etc.) here.
Platform
Windows
Flight Stack
PX4
System Information
QGC 5.0.8
Win10
Log Files and Screenshots
N/A
Have you checked the latest release for fixes?
Description
Expected Behavior
Following the instructions at https://docs.qgroundcontrol.com/master/en/qgc-dev-guide/getting_started/ should work on a Win10 system
Current Behavior
The step, "Install Additional Packages (Platform Specific)" for "Install Qt" (which is labeled as Step 1, but should be labeled as Step 4) says to run "python3 ./qgroundcontrol/tools/setup/install_dependencies.py --platform windows" on a windows system. On my system, the result from doing so is:
c:\cygwin64\home\rschulma>python3 qgroundcontrol\tools\setup\install_dependencies.py
Platform: windows
Installing Windows dependencies...
Architecture: AMD64
Installing GStreamer 1.28.1...
Downloading GStreamer installers in parallel...
Downloading gstreamer-1.0-msvc-x86_64-1.28.1.msi...
Downloading gstreamer-1.0-devel-msvc-x86_64-1.28.1.msi...
Traceback (most recent call last):
File "c:\cygwin64\home\rschulma\qgroundcontrol\tools\setup\install_dependencies.py", line 383, in download_file
import httpx
ModuleNotFoundError: No module named 'httpx'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\cygwin64\home\rschulma\qgroundcontrol\tools\setup\install_dependencies.py", line 869, in
sys.exit(main())
^^^^^^
File "c:\cygwin64\home\rschulma\qgroundcontrol\tools\setup\install_dependencies.py", line 858, in main
success = install_windows(
^^^^^^^^^^^^^^^^
File "c:\cygwin64\home\rschulma\qgroundcontrol\tools\setup\install_dependencies.py", line 678, in install_windows
if not install_windows_gstreamer(version, dry_run):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\cygwin64\home\rschulma\qgroundcontrol\tools\setup\install_dependencies.py", line 609, in install_windows_gstreamer
if not future.result():
^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures_base.py", line 401, in __get_result
raise self._exception
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\cygwin64\home\rschulma\qgroundcontrol\tools\setup\install_dependencies.py", line 402, in download_file
with urllib.request.urlopen(req, timeout=timeout) as response, open(dest, "wb") as out:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "c:\Users\rschulma\AppData\Local\Programs\Python\Python311\Lib\urllib\request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
Steps To Reproduce
2 .perform steps 1-3 under "Install Qt" on the QGC "Getting Started" web page
Additional Details
Add any extra info (errors, warnings, etc.) here.
Platform
Windows
Flight Stack
PX4
System Information
QGC 5.0.8
Win10
Log Files and Screenshots
N/A