install failure (Failed building wheel for python-zpar) on macOS Catalina

This repository was archived by the owner on Sep 13, 2022. It is now read-only.

This repository was archived by the owner on Sep 13, 2022. It is now read-only.

@Punchwes

Description

when installing python-zpar by using pip install python-zpar it gives

wget -N https://github.com/frcchang/zpar/archive/v0.7.5.tar.gz -O /tmp/zpar.tar.gz
  make: wget: No such file or directory
  make: *** [/tmp/zpar.tar.gz] Error 1

   Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/gv/z_6yynkd2sjchc5710zh5sjm0000gn/T/pip-install-yw_mm28r/python-zpar/setup.py", line 111, in <module>
        ['zpar_server = zpar.zpar_server:main']}
      File "/anaconda3/lib/python3.6/site-packages/setuptools/__init__.py", line 129, in setup
        return distutils.core.setup(**attrs)
      File "/anaconda3/lib/python3.6/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/anaconda3/lib/python3.6/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/private/var/folders/gv/z_6yynkd2sjchc5710zh5sjm0000gn/T/pip-install-yw_mm28r/python-zpar/setup.py", line 70, in run
        install.run(self)
      File "/anaconda3/lib/python3.6/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/anaconda3/lib/python3.6/distutils/command/install.py", line 545, in run
        self.run_command('build')
      File "/anaconda3/lib/python3.6/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/anaconda3/lib/python3.6/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/private/var/folders/gv/z_6yynkd2sjchc5710zh5sjm0000gn/T/pip-install-yw_mm28r/python-zpar/setup.py", line 50, in run
        self.execute(compile, [], 'compiling zpar library')
      File "/anaconda3/lib/python3.6/distutils/cmd.py", line 335, in execute
        util.execute(func, args, msg, dry_run=self.dry_run)
      File "/anaconda3/lib/python3.6/distutils/util.py", line 301, in execute
        func(*args)
      File "/private/var/folders/gv/z_6yynkd2sjchc5710zh5sjm0000gn/T/pip-install-yw_mm28r/python-zpar/setup.py", line 48, in compile
        raise RuntimeError('ZPar shared library compilation failed')
    RuntimeError: ZPar shared library compilation failed
    

I have already changed my c++ and c compiler to gcc

pengqiweideMacBook-Pro:~ pengqiwei$ gcc --version
gcc-8 (Homebrew GCC 8.2.0) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I am not sure where went wrong.....