I am getting error while installing ```
pipwin install gdal
ERROR: GDAL-3.4.3-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
I am getting error while installing ```
pipwin install gdal
ERROR: GDAL-3.4.3-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
Hi,
pipwin
is a tool for installing packages on Windows.
Jeteson is an ARM system with Ubuntu OS.
Please try the following command instead:
$ sudo apt install python3-pip
$ sudo pip3 install gdal
Thanks.
hi,
Thanks for the response. I tried the above commands on my Jetson Orion but after passing second command i.e. $ sudo pip3 gdal
I am getting long error like
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-f3l2xj0l/gdal/setup.py’“'”‘; file=’“'”‘/tmp/pip-install-f3l2xj0l/gdal/setup.py’“'”‘;f=getattr(tokenize, ‘"’“‘open’”’“‘, open)(file);code=f.read().replace(’”‘"’\r\n’“'”‘, ‘"’"’\n’“'”‘);f.close();exec(compile(code, file, ‘"’“‘exec’”’"‘))’ egg_info --egg-base /tmp/pip-install-f3l2xj0l/gdal/pip-egg-info
cwd: /tmp/pip-install-f3l2xj0l/gdal/
Complete output (78 lines):
running egg_info
creating /tmp/pip-install-f3l2xj0l/gdal/pip-egg-info/GDAL.egg-info
writing /tmp/pip-install-f3l2xj0l/gdal/pip-egg-info/GDAL.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-install-f3l2xj0l/gdal/pip-egg-info/GDAL.egg-info/dependency_links.txt
writing requirements to /tmp/pip-install-f3l2xj0l/gdal/pip-egg-info/GDAL.egg-info/requires.txt
writing top-level names to /tmp/pip-install-f3l2xj0l/gdal/pip-egg-info/GDAL.egg-info/top_level.txt
writing manifest file ‘/tmp/pip-install-f3l2xj0l/gdal/pip-egg-info/GDAL.egg-info/SOURCES.txt’
Traceback (most recent call last):
File “/tmp/pip-install-f3l2xj0l/gdal/setup.py”, line 89, in fetch_config
p = subprocess.Popen([command, args], stdout=subprocess.PIPE)
File “/usr/lib/python3.8/subprocess.py”, line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File “/usr/lib/python3.8/subprocess.py”, line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ‘gdal-config’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pip-install-f3l2xj0l/gdal/setup.py", line 190, in get_gdal_config
return fetch_config(option, gdal_config=self.gdal_config)
File "/tmp/pip-install-f3l2xj0l/gdal/setup.py", line 92, in fetch_config
raise gdal_config_error(e)
__main__.gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-f3l2xj0l/gdal/setup.py", line 360, in <module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 297, in run
self.find_sources()
File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 304, in find_sources
mm.run()
File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 535, in run
self.add_defaults()
File "/usr/lib/python3/dist-packages/setuptools/command/egg_info.py", line 571, in add_defaults
sdist.add_defaults(self)
File "/usr/lib/python3.8/distutils/command/sdist.py", line 228, in add_defaults
self._add_defaults_ext()
File "/usr/lib/python3.8/distutils/command/sdist.py", line 311, in _add_defaults_ext
build_ext = self.get_finalized_command('build_ext')
File "/usr/lib/python3.8/distutils/cmd.py", line 299, in get_finalized_command
cmd_obj.ensure_finalized()
File "/usr/lib/python3.8/distutils/cmd.py", line 107, in ensure_finalized
self.finalize_options()
File "/tmp/pip-install-f3l2xj0l/gdal/setup.py", line 266, in finalize_options
gdaldir = self.get_gdal_config('prefix')
File "/tmp/pip-install-f3l2xj0l/gdal/setup.py", line 196, in get_gdal_config
raise gdal_config_error(traceback_string + '\n' + msg)
__main__.gdal_config_error: Traceback (most recent call last):
File "/tmp/pip-install-f3l2xj0l/gdal/setup.py", line 89, in fetch_config
p = subprocess.Popen([command, args], stdout=subprocess.PIPE)
File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ‘gdal-config’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/pip-install-f3l2xj0l/gdal/setup.py", line 190, in get_gdal_config
return fetch_config(option, gdal_config=self.gdal_config)
File "/tmp/pip-install-f3l2xj0l/gdal/setup.py", line 92, in fetch_config
raise gdal_config_error(e)
gdal_config_error: [Errno 2] No such file or directory: 'gdal-config'
Could not find gdal-config. Make sure you have installed the GDAL native library and development headers.
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
help me out with this.
Hi,
Please check the library document to see if it can work on Jetson and the dependencies details:
https://gdal.org/tutorials/index.html
Thanks.
We have updated our Jetson’s Ubuntu OS from 20.04 to 22.04. The above issue has been resolved but now we are facing new error, we are not able to use any browser(mozilla, Brave, chrome etc) need help.