Koukyosyumei / AIJack

Security and Privacy Risk Simulator for Machine Learning (arXiv:2312.17667)
Apache License 2.0
363 stars 61 forks source link

Unable to install in Google colab. #114

Closed vatsmartyradha closed 1 year ago

vatsmartyradha commented 1 year ago

The installation fails most of the time. Please help. Error: Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/ Collecting aijack Downloading aijack-0.0.1a1.tar.gz (127 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 127.5/127.5 KB 1.9 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: aijack error: subprocess-exited-with-error

× Building wheel for aijack (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Building wheel for aijack (pyproject.toml) ... error 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 commented 1 year ago

@vatsmartyradha

Hi! Thank you for your question.

The default pip in google colab is not the latest version. I have confirmed that the below commands work:

!apt install -y libboost-all-dev
!pip install -U pip
!pip install "pybind11[global]"
!pip install aijack
vatsmartyradha commented 1 year ago

Thanks, I will check.