pip install fail MacOS

Bug #2034992 reported by Dan Christian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
py3exiv2
New
Undecided
Unassigned

Bug Description

On macOS 13.5.2 with mac ports python-3.11, I get errors when trying to do the pip install

$ pip install py3exiv2
Defaulting to user installation because normal site-packages is not writeable
Collecting py3exiv2
  Using cached py3exiv2-0.12.0.tar.gz (47 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [30 lines of output]
      /private/var/folders/np/n3r3_4px5bv23d70bn5m6c_40000gn/T/pip-build-env-mh_ebjk0/overlay/lib/python3.11/site-packages/setuptools/build_meta.py:507: SetuptoolsDeprecationWarning: Running `setup.py` directly as CLI tool is deprecated.
      !!

              ********************************************************************************
              Please avoid using `sys.exit(0)` or similar statements that don't fit in the paradigm of a configuration file.

              See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
              ********************************************************************************

      !!
        super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
      libboost for OSX not found!
      Traceback (most recent call last):
        File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/np/n3r3_4px5bv23d70bn5m6c_40000gn/T/pip-build-env-mh_ebjk0/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 398, in prepare_metadata_for_build_wheel
          self._bubble_up_info_directory(metadata_directory, ".egg-info")
        File "/private/var/folders/np/n3r3_4px5bv23d70bn5m6c_40000gn/T/pip-build-env-mh_ebjk0/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 367, in _bubble_up_info_directory
          info_dir = self._find_info_directory(metadata_directory, suffix)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/np/n3r3_4px5bv23d70bn5m6c_40000gn/T/pip-build-env-mh_ebjk0/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 378, in _find_info_directory
          assert len(candidates) == 1, f"Multiple {suffix} directories found"
                 ^^^^^^^^^^^^^^^^^^^^
      AssertionError: Multiple .egg-info directories found
      [end of output]

boost, boost-numpy, and exiv2 are installed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.