Skip to content

Cannot install on 2021 M1 Macbook Pro on MacOS 13.0 #80

@Kevin-Lean

Description

@Kevin-Lean

When I try to install names-matcher via pip, setuptools throws an error that "Darwin" isn't a valid OS.

~/Projects/scripts/name-verification via  v3.10.7 (scripts)                                                                                                                                                                                                                                                                         15:48:13
✖ pip install names-matcher --no-cache
Collecting names-matcher
  Downloading names_matcher-2.0.13-py3-none-any.whl (12 kB)
Requirement already satisfied: rapidfuzz<3.0,>=2.0.0 in /Users/kevin.obrien/.virtualenvs/scripts/lib/python3.10/site-packages (from names-matcher) (2.11.1)
Collecting lapjv<2.0,>=1.3.14
  Downloading lapjv-1.3.24.tar.gz (10 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error
  
  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [15 lines of output]
      Traceback (most recent call last):
        File "/Users/kevin.obrien/.virtualenvs/scripts/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/Users/kevin.obrien/.virtualenvs/scripts/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/Users/kevin.obrien/.virtualenvs/scripts/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/private/var/folders/7g/40b5r8ps5yq_8f3h0b5dmr800000gt/T/pip-build-env-lnqihez8/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
        File "/private/var/folders/7g/40b5r8ps5yq_8f3h0b5dmr800000gt/T/pip-build-env-lnqihez8/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 320, in _get_build_requires
          self.run_setup()
        File "/private/var/folders/7g/40b5r8ps5yq_8f3h0b5dmr800000gt/T/pip-build-env-lnqihez8/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 53, in <module>
      KeyError: 'Darwin'
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions