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

Fail when pip installing pyzfp on Linux machine #38

Open
Shanmy opened this issue Jan 9, 2023 · 0 comments
Open

Fail when pip installing pyzfp on Linux machine #38

Shanmy opened this issue Jan 9, 2023 · 0 comments

Comments

@Shanmy
Copy link

Shanmy commented Jan 9, 2023

Hi! I was able to pip install pyzfp on my macOS machine. But on Linux, I keep getting the following error when trying to install it. I wonder if you have any insights on what's causing this problem? Thanks for the help in advance!

Collecting pyzfp
  Using cached pyzfp-0.5.5.tar.gz (257 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: pyzfp
  Building wheel for pyzfp (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [59 lines of output]
      /fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      running bdist_wheel
      running build
      running build_ext
      creating tmp
      gcc -pthread -B /fast/shanmy/anaconda3/envs/test/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/fast/shanmy/anaconda3/envs/test/include/python3.8 -c /tmp/tmpubfbombl.cpp -o tmp/tmpubfbombl.o -fopenmp
      cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
      Will execute the following command in with subprocess.Popen:
      make OPENMP=1
      b"git clone -b release0.5.5 https://github.com/LLNL/zfp.git zfp-0.5.5\nCloning into 'zfp-0.5.5'...\ncd zfp-0.5.5 && make\nmake[1]: Entering directory '/tmp/pip-install-7wcv_4dr/pyzfp_4c3e35fb51ae43f8850d48a0d9b96b8d/zfp-0.5.5'\nstatic\nrm -f ../lib/libzfp.a ../lib/libzfp.so bitstream.o decode1i.o decode1l.o decode1f.o decode1d.o encode1i.o encode1l.o encode1f.o encode1d.o decode2i.o decode2l.o decode2f.o decode2d.o encode2i.o encode2l.o encode2f.o encode2d.o decode3i.o decode3l.o decode3f.o decode3d.o encode3i.o encode3l.o encode3f.o encode3d.o decode4i.o decode4l.o decode4f.o decode4d.o encode4i.o encode4l.o encode4f.o encode4d.o zfp.o\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c bitstream.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode1i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode1l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode1f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode1d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode1i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode1l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode1f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode1d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode2i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode2l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode2f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode2d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode2i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode2l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode2f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode2d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode3i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode3l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode3f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode3d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode3i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode3l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode3f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode3d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode4i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode4l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode4f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode4d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode4i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode4l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode4f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode4d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c zfp.c\nmkdir -p ../lib\nrm -f ../lib/libzfp.a\nar rc ../lib/libzfp.a bitstream.o decode1i.o decode1l.o decode1f.o decode1d.o encode1i.o encode1l.o encode1f.o encode1d.o decode2i.o decode2l.o decode2f.o decode2d.o encode2i.o encode2l.o encode2f.o encode2d.o decode3i.o decode3l.o decode3f.o decode3d.o encode3i.o encode3l.o encode3f.o encode3d.o decode4i.o decode4l.o decode4f.o decode4d.o encode4i.o encode4l.o encode4f.o encode4d.o zfp.o\nrm -f ../bin/zfp fields.o\nmkdir -p ../bin\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  zfp.c -L../lib -lzfp -lm -o ../bin/zfp\nrm -f ../bin/testzfp ../bin/testviews\ng++ -std=c++98 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -I../array testzfp.cpp -L../lib -lzfp -o ../bin/testzfp\ng++ -std=c++98 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -I../array testviews.cpp -L../lib -lzfp -o ../bin/testviews\ntestviews.cpp: In function \xe2\x80\x98int main(int, char**)\xe2\x80\x99:\ntestviews.cpp:148:11: internal compiler error: in pop_local_binding, at cp/name-lookup.c:2047\n   return 0;\n           ^\nPlease submit a full bug report,\nwith preprocessed source if appropriate.\nSee <https://bugs.rockylinux.org/> for instructions.\nPreprocessed source stored into /tmp/ccQxA7KE.out file, please attach this to your bugreport.\nmake[2]: *** [Makefile:13: ../bin/testviews] Error 1\nmake[1]: *** [Makefile:12: all] Error 2\nmake[1]: Leaving directory '/tmp/pip-install-7wcv_4dr/pyzfp_4c3e35fb51ae43f8850d48a0d9b96b8d/zfp-0.5.5'\nmake: *** [Makefile:3: zfp-0.5.5/lib/libzfp.so] Error 2\n"
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-7wcv_4dr/pyzfp_4c3e35fb51ae43f8850d48a0d9b96b8d/setup.py", line 176, in <module>
          setup(**configuration)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
          super().run_command(command)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/wheel/bdist_wheel.py", line 325, in run
          self.run_command("build")
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
          super().run_command(command)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 132, in run
          self.run_command(cmd_name)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
          super().run_command(command)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 84, in run
          _build_ext.run(self)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
          self.build_extensions()
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 468, in build_extensions
          self._build_extensions_serial()
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 494, in _build_extensions_serial
          self.build_extension(ext)
        File "/tmp/pip-install-7wcv_4dr/pyzfp_4c3e35fb51ae43f8850d48a0d9b96b8d/setup.py", line 140, in build_extension
          output = subprocess.check_output(command,
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/subprocess.py", line 411, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/subprocess.py", line 512, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command 'make OPENMP=1' returned non-zero exit status 2.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyzfp
  Running setup.py clean for pyzfp
Failed to build pyzfp
Installing collected packages: pyzfp
  Running setup.py install for pyzfp ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for pyzfp did not run successfully.
  │ exit code: 1
  ╰─> [62 lines of output]
      /fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
        warnings.warn(
      running install
      /fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_ext
      gcc -pthread -B /fast/shanmy/anaconda3/envs/test/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/fast/shanmy/anaconda3/envs/test/include/python3.8 -c /tmp/tmpopfp5lik.cpp -o tmp/tmpopfp5lik.o -fopenmp
      cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
      Will execute the following command in with subprocess.Popen:
      make OPENMP=1
      b"cd zfp-0.5.5 && make\nmake[1]: Entering directory '/tmp/pip-install-7wcv_4dr/pyzfp_4c3e35fb51ae43f8850d48a0d9b96b8d/zfp-0.5.5'\nstatic\nrm -f ../lib/libzfp.a ../lib/libzfp.so bitstream.o decode1i.o decode1l.o decode1f.o decode1d.o encode1i.o encode1l.o encode1f.o encode1d.o decode2i.o decode2l.o decode2f.o decode2d.o encode2i.o encode2l.o encode2f.o encode2d.o decode3i.o decode3l.o decode3f.o decode3d.o encode3i.o encode3l.o encode3f.o encode3d.o decode4i.o decode4l.o decode4f.o decode4d.o encode4i.o encode4l.o encode4f.o encode4d.o zfp.o\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c bitstream.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode1i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode1l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode1f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode1d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode1i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode1l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode1f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode1d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode2i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode2l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode2f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode2d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode2i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode2l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode2f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode2d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode3i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode3l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode3f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode3d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode3i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode3l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode3f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode3d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode4i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode4l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode4f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c decode4d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode4i.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode4l.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode4f.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c encode4d.c\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -c zfp.c\nmkdir -p ../lib\nrm -f ../lib/libzfp.a\nar rc ../lib/libzfp.a bitstream.o decode1i.o decode1l.o decode1f.o decode1d.o encode1i.o encode1l.o encode1f.o encode1d.o decode2i.o decode2l.o decode2f.o decode2d.o encode2i.o encode2l.o encode2f.o encode2d.o decode3i.o decode3l.o decode3f.o decode3d.o encode3i.o encode3l.o encode3f.o encode3d.o decode4i.o decode4l.o decode4f.o decode4d.o encode4i.o encode4l.o encode4f.o encode4d.o zfp.o\nrm -f ../bin/zfp fields.o\nmkdir -p ../bin\ngcc -std=c99 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  zfp.c -L../lib -lzfp -lm -o ../bin/zfp\nrm -f ../bin/testzfp ../bin/testviews\ng++ -std=c++98 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -I../array testzfp.cpp -L../lib -lzfp -o ../bin/testzfp\ng++ -std=c++98 -O3 -fPIC -Wall -Wextra -pedantic -I../include -fopenmp  -I../array testviews.cpp -L../lib -lzfp -o ../bin/testviews\ntestviews.cpp: In function \xe2\x80\x98int main(int, char**)\xe2\x80\x99:\ntestviews.cpp:148:11: internal compiler error: in pop_local_binding, at cp/name-lookup.c:2047\n   return 0;\n           ^\nPlease submit a full bug report,\nwith preprocessed source if appropriate.\nSee <https://bugs.rockylinux.org/> for instructions.\nPreprocessed source stored into /tmp/ccvmg5vH.out file, please attach this to your bugreport.\nmake[2]: *** [Makefile:13: ../bin/testviews] Error 1\nmake[1]: *** [Makefile:12: all] Error 2\nmake[1]: Leaving directory '/tmp/pip-install-7wcv_4dr/pyzfp_4c3e35fb51ae43f8850d48a0d9b96b8d/zfp-0.5.5'\nmake: *** [Makefile:3: zfp-0.5.5/lib/libzfp.so] Error 2\n"
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-7wcv_4dr/pyzfp_4c3e35fb51ae43f8850d48a0d9b96b8d/setup.py", line 176, in <module>
          setup(**configuration)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/__init__.py", line 87, in setup
          return distutils.core.setup(**attrs)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
          super().run_command(command)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/command/install.py", line 68, in run
          return orig.install.run(self)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/command/install.py", line 698, in run
          self.run_command('build')
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
          super().run_command(command)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 132, in run
          self.run_command(cmd_name)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/dist.py", line 1208, in run_command
          super().run_command(command)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 84, in run
          _build_ext.run(self)
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
          self.build_extensions()
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 468, in build_extensions
          self._build_extensions_serial()
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 494, in _build_extensions_serial
          self.build_extension(ext)
        File "/tmp/pip-install-7wcv_4dr/pyzfp_4c3e35fb51ae43f8850d48a0d9b96b8d/setup.py", line 140, in build_extension
          output = subprocess.check_output(command,
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/subprocess.py", line 411, in check_output
          return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
        File "/fast/shanmy/anaconda3/envs/test/lib/python3.8/subprocess.py", line 512, in run
          raise CalledProcessError(retcode, process.args,
      subprocess.CalledProcessError: Command 'make OPENMP=1' returned non-zero exit status 2.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> pyzfp

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
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

1 participant