NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

sudo pip install hnswlib
Collecting hnswlib
Using cached hnswlib-0.7.0.tar.gz (33 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in /usr/local/lib/python3.11/dist-packages (from hnswlib) (1.24.3)
Building wheels for collected packages: hnswlib
Building wheel for hnswlib (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for hnswlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
running bdist_wheel
running build
running build_ext
creating tmp
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c /tmp/tmpdiakweod.cpp -o tmp/tmpdiakweod.o -std=c++14
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.11 -c /tmp/tmp_9sg5jgv.cpp -o tmp/tmp_9sg5jgv.o -fvisibility=hidden
creating build
creating build/temp.linux-x86_64-3.11
creating build/temp.linux-x86_64-3.11/python_bindings
x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/tmp/pip-build-env-gu8md208/overlay/local/lib/python3.11/dist-packages/pybind11/include -I/tmp/pip-build-env-gu8md208/overlay/local/lib/python3.11/dist-packages/numpy/core/include -I./hnswlib/ -I/usr/include/python3.11 -c ./python_bindings/bindings.cpp -o build/temp.linux-x86_64-3.11/./python_bindings/bindings.o -O3 -march=native -fopenmp -DVERSION_INFO="0.7.0" -std=c++14 -fvisibility=hidden
In file included from /tmp/pip-build-env-gu8md208/overlay/local/lib/python3.11/dist-packages/pybind11/include/pybind11/detail/../attr.h:13,
from /tmp/pip-build-env-gu8md208/overlay/local/lib/python3.11/dist-packages/pybind11/include/pybind11/detail/class.h:12,
from /tmp/pip-build-env-gu8md208/overlay/local/lib/python3.11/dist-packages/pybind11/include/pybind11/pybind11.h:13,
from /tmp/pip-build-env-gu8md208/overlay/local/lib/python3.11/dist-packages/pybind11/include/pybind11/functional.h:12,
from ./python_bindings/bindings.cpp:2:
/tmp/pip-build-env-gu8md208/overlay/local/lib/python3.11/dist-packages/pybind11/include/pybind11/detail/../detail/common.h:266:10: fatal error: Python.h: No such file or directory
266 | #include <Python.h>
| ^~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-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 hnswlib
Failed to build hnswlib
ERROR: Could not build wheels for hnswlib, which is required to install pyproject.toml-based projects
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.