Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails due to osmread old protobuf dependency #21

Open
F-I-D-O opened this issue Sep 11, 2023 · 0 comments
Open

Install fails due to osmread old protobuf dependency #21

F-I-D-O opened this issue Sep 11, 2023 · 0 comments
Labels

Comments

@F-I-D-O
Copy link
Member

F-I-D-O commented Sep 11, 2023

ERROR:

 error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [17 lines of output]
      Traceback (most recent call last):
        File "C:\Program Files\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Program Files\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "C:\Program Files\Python310\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "C:\Users\david\AppData\Local\Temp\pip-build-env-sed_khg8\overlay\Lib\site-packages\setuptools\build_meta.py", line 355, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "C:\Users\david\AppData\Local\Temp\pip-build-env-sed_khg8\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in _get_build_requires
          self.run_setup()
        File "C:\Users\david\AppData\Local\Temp\pip-build-env-sed_khg8\overlay\Lib\site-packages\setuptools\build_meta.py", line 507, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "C:\Users\david\AppData\Local\Temp\pip-build-env-sed_khg8\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in run_setup
          exec(code, locals())
        File "<string>", line 17, in <module>
      ImportError: cannot import name 'build_py_2to3' from 'distutils.command.build_py' (C:\Users\david\AppData\Local\Temp\pip-build-env-sed_khg8\overlay\Lib\site-packages\setuptools\_distutils\command\build_py.py)
      [end of output]

SOLUTION:
remove the osm processing from the library and the osmread dependency

@F-I-D-O F-I-D-O added the bug label Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant