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

dependency check fails on macos #14

Open
nkapila6 opened this issue Oct 15, 2024 · 1 comment
Open

dependency check fails on macos #14

nkapila6 opened this issue Oct 15, 2024 · 1 comment

Comments

@nkapila6
Copy link

nkapila6 commented Oct 15, 2024

Hello

When using pip to install tkextrafont, the installer fails since it seems to check for a dependency. But the command seems to be a pacman command which means it thinks I'm on a Linux distro using the pacman pm?

Can it be made compatible with macOS?

Here's the full log.

 pip install tkextrafont                                                                      ─╯
Collecting tkextrafont
  Using cached tkextrafont-0.6.1.tar.gz (656 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      Installing dependency cmake... Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/r0/y9xhb62929x15dw9vm3ztrqr0000gn/T/pip-install-1jbcudj6/tkextrafont_1faf2b91977942949567e5cc73a8a3e9/setup.py", line 63, in <module>
          sp.call(["pacman", "--needed", "--noconfirm", "-S", "mingw-w64-x86_64-{}".format(dep)])  # , stdout=sp.PIPE)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/redacted/miniconda3/envs/throwaway/lib/python3.11/subprocess.py", line 389, in call
          with Popen(*popenargs, **kwargs) as p:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/redacted/miniconda3/envs/throwaway/lib/python3.11/subprocess.py", line 1022, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "/Users/redacted/miniconda3/envs/throwaway/lib/python3.11/subprocess.py", line 1899, in _execute_child
          raise child_exception_type(errno_num, err_msg, err_filename)
      FileNotFoundError: [Errno 2] No such file or directory: 'pacman'
      [end of output]

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

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
@rdbende
Copy link
Member

rdbende commented Oct 15, 2024

There will be a new release hopefully within a week, that will fix this, and other issues related to the build system.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants