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

Failed installation of PyGaggle due to build dependency error #326

Open
saurabhg-predii opened this issue May 5, 2023 · 0 comments
Open

Comments

@saurabhg-predii
Copy link

I am trying to install on colab notebook but facing following error. Kindly help me resolve the issue.

/content
WARNING: Skipping pygaggle as it is not installed.
Cloning into 'pygaggle'...
remote: Enumerating objects: 1562, done.
remote: Counting objects: 100% (634/634), done.
remote: Compressing objects: 100% (230/230), done.
remote: Total 1562 (delta 528), reused 433 (delta 404), pack-reused 928
Receiving objects: 100% (1562/1562), 513.05 KiB | 16.03 MiB/s, done.
Resolving deltas: 100% (1001/1001), done.
Submodule 'tools' (https://github.com/castorini/anserini-tools.git) registered for path 'tools'
Cloning into '/content/pygaggle/tools'...
remote: Enumerating objects: 788, done.
remote: Counting objects: 100% (545/545), done.
remote: Compressing objects: 100% (467/467), done.
remote: Total 788 (delta 101), reused 514 (delta 77), pack-reused 243
Receiving objects: 100% (788/788), 119.60 MiB | 19.05 MiB/s, done.
Resolving deltas: 100% (185/185), done.
Submodule path 'tools': checked out '808f48711b5e172da6aec8b1855518c8ea65489f'
/content/pygaggle
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Obtaining file:///content/pygaggle
Preparing metadata (setup.py) ... done
Collecting coloredlogs==14.0
Using cached coloredlogs-14.0-py2.py3-none-any.whl (43 kB)
Requirement already satisfied: numpy>=1.18 in /usr/local/lib/python3.10/dist-packages (from pygaggle==0.0.3.1) (1.22.4)
Collecting pydantic==1.7.4
Downloading pydantic-1.7.4-py3-none-any.whl (107 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.9/107.9 kB 4.6 MB/s eta 0:00:00
Requirement already satisfied: pyserini>=0.16.0 in /usr/local/lib/python3.10/dist-packages (from pygaggle==0.0.3.1) (0.21.0)
Collecting scikit-learn==0.24.2
Downloading scikit-learn-0.24.2.tar.gz (7.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.5/7.5 MB 85.9 MB/s eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting scipy==1.5.4
Downloading scipy-1.5.4.tar.gz (25.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 25.2/25.2 MB 19.7 MB/s eta 0:00:00
error: subprocess-exited-with-error

× pip subprocess to install build dependencies 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.
Installing build dependencies ... error
error: subprocess-exited-with-error

× pip subprocess to install build dependencies 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.

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