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

Building wheel for ilupp (setup.py) ... error #3

Open
JiaLonghao1997 opened this issue Apr 3, 2024 · 0 comments
Open

Building wheel for ilupp (setup.py) ... error #3

JiaLonghao1997 opened this issue Apr 3, 2024 · 0 comments

Comments

@JiaLonghao1997
Copy link

When trying to install the ilupp package that Local2Global relies on, it can be installed in the local python environment, but the following error message appears in the conda environment. How to solve it? Can the author provide the conda installation method of Local2Global?

(pyg) [jialh@amdnode2 ~]$ pip install ilupp
Collecting ilupp
  Downloading ilupp-1.0.2.tar.gz (155 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 155.4/155.4 kB 708.5 kB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.11 in ./tools/anaconda3/envs/mamba/envs/pyg/lib/python3.9/site-packages (from ilupp) (1.22.4)
Requirement already satisfied: scipy in ./tools/anaconda3/envs/mamba/envs/pyg/lib/python3.9/site-packages (from ilupp) (1.10.0)
Building wheels for collected packages: ilupp
  Building wheel for ilupp (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]
      /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/lib/python3.9/site-packages/setuptools/__init__.py:81: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!
      
              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************
      
      !!
        dist.fetch_build_eggs(dist.setup_requires)
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-39
      creating build/lib.linux-x86_64-cpython-39/ilupp
      copying ilupp/__init__.py -> build/lib.linux-x86_64-cpython-39/ilupp
      running build_ext
      creating tmp
      gcc -pthread -B /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include -fPIC -O2 -isystem /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include -fPIC -I/home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include/python3.9 -c /tmp/tmp8xajzx6c.cpp -o tmp/tmp8xajzx6c.o -std=c++17
      gcc -pthread -B /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include -fPIC -O2 -isystem /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include -fPIC -I/home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include/python3.9 -c /tmp/tmp0ehpizre.cpp -o tmp/tmp0ehpizre.o -fvisibility=hidden
      building 'ilupp._ilupp' extension
      creating build/temp.linux-x86_64-cpython-39
      creating build/temp.linux-x86_64-cpython-39/src
      gcc -pthread -B /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include -fPIC -O2 -isystem /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include -fPIC -I/home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/lib/python3.9/site-packages/pybind11/include -I/home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/lib/python3.9/site-packages/pybind11/include -I/home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include/python3.9 -c src/binding.cpp -o build/temp.linux-x86_64-cpython-39/src/binding.o -DVERSION_INFO=\"1.0.2\" -std=c++17 -fvisibility=hidden
      gcc: fatal error: Killed signal terminated program cc1plus
      compilation terminated.
      error: command '/home1/jialh/tools/anaconda3/envs/cxx-compiler/bin/gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for ilupp
  Running setup.py clean for ilupp
Failed to build ilupp
Installing collected packages: ilupp
  Running setup.py install for ilupp ... error
  error: subprocess-exited-with-error
  
  × Running setup.py install for ilupp did not run successfully.
  │ exit code: 1
  ╰─> [40 lines of output]
      /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/lib/python3.9/site-packages/setuptools/__init__.py:81: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!
      
              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************
      
      !!
        dist.fetch_build_eggs(dist.setup_requires)
      running install
      /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/lib/python3.9/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
      !!
      
              ********************************************************************************
              Please avoid running ``setup.py`` directly.
              Instead, use pypa/build, pypa/installer or other
              standards-based tools.
      
              See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
              ********************************************************************************
      
      !!
        self.initialize_options()
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-39
      creating build/lib.linux-x86_64-cpython-39/ilupp
      copying ilupp/__init__.py -> build/lib.linux-x86_64-cpython-39/ilupp
      running build_ext
      gcc -pthread -B /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include -fPIC -O2 -isystem /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include -fPIC -I/home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include/python3.9 -c /tmp/tmp7smaqdeg.cpp -o tmp/tmp7smaqdeg.o -std=c++17
      gcc -pthread -B /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include -fPIC -O2 -isystem /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include -fPIC -I/home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include/python3.9 -c /tmp/tmpzc_7v4je.cpp -o tmp/tmpzc_7v4je.o -fvisibility=hidden
      building 'ilupp._ilupp' extension
      creating build/temp.linux-x86_64-cpython-39
      creating build/temp.linux-x86_64-cpython-39/src
      gcc -pthread -B /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include -fPIC -O2 -isystem /home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include -fPIC -I/home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/lib/python3.9/site-packages/pybind11/include -I/home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/lib/python3.9/site-packages/pybind11/include -I/home1/jialh/tools/anaconda3/envs/mamba/envs/pyg/include/python3.9 -c src/binding.cpp -o build/temp.linux-x86_64-cpython-39/src/binding.o -DVERSION_INFO=\"1.0.2\" -std=c++17 -fvisibility=hidden
      gcc: fatal error: Killed signal terminated program cc1plus
      compilation terminated.
      error: command '/home1/jialh/tools/anaconda3/envs/cxx-compiler/bin/gcc' failed with exit code 1
      [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.
╰─> ilupp

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
WARNING: There was an error checking the latest version of pip.
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