debian@debian10:~/OSM-Garmin-Maps-by-VasaM-master$ sudo pip3 install osmium pyclipper geojson
Collecting osmium
Using cached https://files.pythonhosted.org/packages/dc/9d/1a1047425aba797de25766960461379633aad4a3e394702170467c4643ce/osmium-3.1.3.tar.gz
Collecting pyclipper
Using cached https://files.pythonhosted.org/packages/75/bd/1567caaa4afa6e571c60a8712434ca9a901634e75923728d0b91a2364a91/pyclipper-1.3.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Collecting geojson
Using cached https://files.pythonhosted.org/packages/e4/8d/9e28e9af95739e6d2d2f8d4bef0b3432da40b7c3588fbad4298c1be09e48/geojson-2.5.0-py2.py3-none-any.whl
Building wheels for collected packages: osmium
Running setup.py bdist_wheel for osmium ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-f60xga1f/osmium/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-k8b66xid --python-tag cp37:
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/osmium
copying src/osmium/version.py -> build/lib.linux-x86_64-3.7/osmium
copying src/osmium/__init__.py -> build/lib.linux-x86_64-3.7/osmium
copying src/osmium/helper.py -> build/lib.linux-x86_64-3.7/osmium
creating build/lib.linux-x86_64-3.7/osmium/osm
copying src/osmium/osm/mutable.py -> build/lib.linux-x86_64-3.7/osmium/osm
copying src/osmium/osm/__init__.py -> build/lib.linux-x86_64-3.7/osmium/osm
creating build/lib.linux-x86_64-3.7/osmium/replication
copying src/osmium/replication/server.py -> build/lib.linux-x86_64-3.7/osmium/replication
copying src/osmium/replication/__init__.py -> build/lib.linux-x86_64-3.7/osmium/replication
copying src/osmium/replication/utils.py -> build/lib.linux-x86_64-3.7/osmium/replication
running build_ext
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Protozero: /tmp/pip-install-f60xga1f/osmium/contrib/protozero/include (found suitable version "1.7.0", minimum required is "1.6.3")
CMake Warning at cmake/FindOsmium.cmake:138 (message):
Osmium: Can not find some libraries for PBF input/output, please install
them or configure the paths.
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.6")
-- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
CMake Warning at cmake/FindOsmium.cmake:164 (message):
Osmium: Can not find some libraries for XML input/output, please install
them or configure the paths.
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
CMake Error at /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Osmium (missing: ZLIB_FOUND BZIP2_FOUND) (found suitable
version "2.16.0", minimum required is "2.16")
Call Stack (most recent call first):
/usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake/FindOsmium.cmake:289 (find_package_handle_standard_args)
CMakeLists.txt:9 (find_package)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-f60xga1f/osmium/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also "/tmp/pip-install-f60xga1f/osmium/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-f60xga1f/osmium/setup.py", line 158, in <module>
zip_safe=False,
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 188, in run
self.run_command('build')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-f60xga1f/osmium/setup.py", line 67, in run
self.build_extension(ext)
File "/tmp/pip-install-f60xga1f/osmium/setup.py", line 113, in build_extension
subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-f60xga1f/osmium', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-f60xga1f/osmium/build/lib.linux-x86_64-3.7', '-DPYTHON_EXECUTABLE=/usr/bin/python3', '-DCMAKE_BUILD_TYPE=Release', '-DOSMIUM_INCLUDE_DIR=/tmp/pip-install-f60xga1f/osmium/contrib/libosmium/include', '-DPROTOZERO_INCLUDE_DIR=/tmp/pip-install-f60xga1f/osmium/contrib/protozero/include', '-DPYBIND11_PREFIX=/tmp/pip-install-f60xga1f/osmium/contrib/pybind11']' returned non-zero exit status 1.
----------------------------------------
Failed building wheel for osmium
Running setup.py clean for osmium
Failed to build osmium
Installing collected packages: osmium, pyclipper, geojson
Running setup.py install for osmium ... error
Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-f60xga1f/osmium/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-6wd3fhry/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.7
creating build/lib.linux-x86_64-3.7/osmium
copying src/osmium/version.py -> build/lib.linux-x86_64-3.7/osmium
copying src/osmium/__init__.py -> build/lib.linux-x86_64-3.7/osmium
copying src/osmium/helper.py -> build/lib.linux-x86_64-3.7/osmium
creating build/lib.linux-x86_64-3.7/osmium/osm
copying src/osmium/osm/mutable.py -> build/lib.linux-x86_64-3.7/osmium/osm
copying src/osmium/osm/__init__.py -> build/lib.linux-x86_64-3.7/osmium/osm
creating build/lib.linux-x86_64-3.7/osmium/replication
copying src/osmium/replication/server.py -> build/lib.linux-x86_64-3.7/osmium/replication
copying src/osmium/replication/__init__.py -> build/lib.linux-x86_64-3.7/osmium/replication
copying src/osmium/replication/utils.py -> build/lib.linux-x86_64-3.7/osmium/replication
running build_ext
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found Protozero: /tmp/pip-install-f60xga1f/osmium/contrib/protozero/include (found suitable version "1.7.0", minimum required is "1.6.3")
CMake Warning at cmake/FindOsmium.cmake:138 (message):
Osmium: Can not find some libraries for PBF input/output, please install
them or configure the paths.
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
-- Found EXPAT: /usr/lib/x86_64-linux-gnu/libexpat.so (found version "2.2.6")
-- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
CMake Warning at cmake/FindOsmium.cmake:164 (message):
Osmium: Can not find some libraries for XML input/output, please install
them or configure the paths.
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
CMake Error at /usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Osmium (missing: ZLIB_FOUND BZIP2_FOUND) (found suitable
version "2.16.0", minimum required is "2.16")
Call Stack (most recent call first):
/usr/local/lib/python3.7/dist-packages/cmake/data/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake/FindOsmium.cmake:289 (find_package_handle_standard_args)
CMakeLists.txt:9 (find_package)
-- Configuring incomplete, errors occurred!
See also "/tmp/pip-install-f60xga1f/osmium/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
See also "/tmp/pip-install-f60xga1f/osmium/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-f60xga1f/osmium/setup.py", line 158, in <module>
zip_safe=False,
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.7/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.7/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/tmp/pip-install-f60xga1f/osmium/setup.py", line 67, in run
self.build_extension(ext)
File "/tmp/pip-install-f60xga1f/osmium/setup.py", line 113, in build_extension
subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-f60xga1f/osmium', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-f60xga1f/osmium/build/lib.linux-x86_64-3.7', '-DPYTHON_EXECUTABLE=/usr/bin/python3', '-DCMAKE_BUILD_TYPE=Release', '-DOSMIUM_INCLUDE_DIR=/tmp/pip-install-f60xga1f/osmium/contrib/libosmium/include', '-DPROTOZERO_INCLUDE_DIR=/tmp/pip-install-f60xga1f/osmium/contrib/protozero/include', '-DPYBIND11_PREFIX=/tmp/pip-install-f60xga1f/osmium/contrib/pybind11']' returned non-zero exit status 1.
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-f60xga1f/osmium/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-6wd3fhry/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-f60xga1f/osmium/