Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

aijack cannot pip install #165

Open
N0Carrot opened this issue Nov 16, 2023 · 4 comments
Open

aijack cannot pip install #165

N0Carrot opened this issue Nov 16, 2023 · 4 comments

Comments

@N0Carrot
Copy link

Building wheels for collected packages: aijack
Building wheel for aijack (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for aijack (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [358 lines of output]
ERROR: Failed building wheel for aijack
Failed to build aijack
ERROR: Could not build wheels for aijack, which is required to install pyproject.toml-based projects

@Koukyosyumei
Copy link
Owner

@N0Carrot san

Thank you for your report. Could you share the detailed information about your environment?

If you use ubuntu, try the following commands:

apt install -y libboost-all-dev
pip install -U pip
pip install "pybind11[global]"

pip install aijack

@syeminpark
Copy link

also getting this errror on a mac

@LennyTheIntern
Copy link

LennyTheIntern commented Feb 18, 2024

I am also getting the same error running pip in wsl

subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-l6cdkfio/aijack_a353f8bfb4da4288b81560abed6b39b3', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-l6cdkfio/aijack_a353f8bfb4da4288b81560abed6b39b3/build/lib.linux-x86_64-cpython-311/', '-DPYTHON_EXECUTABLE=/home/leona/anaconda3/bin/python', '-DCMAKE_BUILD_TYPE=Release', '-DEXAMPLE_VERSION_INFO=0.0.1b2', '-GNinja', '-DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-58gmj2kc/overlay/lib/python3.11/site-packages/ninja/data/bin/ninja']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for aijack
Failed to build aijack
ERROR: Could not build wheels for aijack, which is required to install pyproject.toml-based projects

@LennyTheIntern
Copy link

I am also getting the same error running pip in wsl

subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-l6cdkfio/aijack_a353f8bfb4da4288b81560abed6b39b3', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-l6cdkfio/aijack_a353f8bfb4da4288b81560abed6b39b3/build/lib.linux-x86_64-cpython-311/', '-DPYTHON_EXECUTABLE=/home/leona/anaconda3/bin/python', '-DCMAKE_BUILD_TYPE=Release', '-DEXAMPLE_VERSION_INFO=0.0.1b2', '-GNinja', '-DCMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-58gmj2kc/overlay/lib/python3.11/site-packages/ninja/data/bin/ninja']' returned non-zero exit status 1.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for aijack
Failed to build aijack
ERROR: Could not build wheels for aijack, which is required to install pyproject.toml-based projects

I reinstalled g++ and it fixed this issue.

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

No branches or pull requests

4 participants