Skip to content

Instantly share code, notes, and snippets.

@alichtman
Created January 16, 2024 14:20
Show Gist options
  • Save alichtman/e7e1777ffc6c225bafbb3fab07438f76 to your computer and use it in GitHub Desktop.
Save alichtman/e7e1777ffc6c225bafbb3fab07438f76 to your computer and use it in GitHub Desktop.
memento on  main [?] via 🐍 v3.11.3 via 💎 v3.2.2 took 16s
06:19:22 PM ✗ HNSWLIB_NO_NATIVE=1 pip3 install .
Processing /opt/memento
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting mss==9.0.1 (from memento==0.0.1.2)
Using cached mss-9.0.1-py3-none-any.whl (22 kB)
Collecting numpy==1.25.1 (from memento==0.0.1.2)
Using cached numpy-1.25.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)
Collecting opencv-contrib-python==4.8.0.74 (from memento==0.0.1.2)
Using cached opencv_contrib_python-4.8.0.74-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (19 kB)
Collecting xlib==0.21 (from memento==0.0.1.2)
Using cached xlib-0.21-py2.py3-none-any.whl (123 kB)
Collecting av==10.0.0 (from memento==0.0.1.2)
Using cached av-10.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31.2 MB)
Collecting pygame==2.5.0 (from memento==0.0.1.2)
Using cached pygame-2.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (12 kB)
Collecting TextTron==0.45 (from memento==0.0.1.2)
Using cached TextTron-0.45-py3-none-any.whl (5.4 kB)
Collecting thefuzz==0.19.0 (from memento==0.0.1.2)
Using cached thefuzz-0.19.0-py2.py3-none-any.whl (17 kB)
Collecting langchain==0.0.325 (from memento==0.0.1.2)
Using cached langchain-0.0.325-py3-none-any.whl.metadata (16 kB)
Collecting openai==0.27.8 (from memento==0.0.1.2)
Using cached openai-0.27.8-py3-none-any.whl.metadata (13 kB)
Requirement already satisfied: tiktoken==0.4.0 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from memento==0.0.1.2) (0.4.0)
Collecting python-Levenshtein==0.21.1 (from memento==0.0.1.2)
Using cached python_Levenshtein-0.21.1-py3-none-any.whl.metadata (3.8 kB)
Collecting tesserocr==2.6.1 (from memento==0.0.1.2)
Using cached tesserocr-2.6.1-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (10 kB)
Collecting pygame-textinput==1.0.1 (from memento==0.0.1.2)
Using cached pygame_textinput-1.0.1-py3-none-any.whl (7.9 kB)
Collecting pyperclip==1.8.2 (from memento==0.0.1.2)
Using cached pyperclip-1.8.2-py3-none-any.whl
Collecting Pillow==10.0.1 (from memento==0.0.1.2)
Using cached Pillow-10.0.1-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (9.5 kB)
Collecting chromadb==0.4.9 (from memento==0.0.1.2)
Using cached chromadb-0.4.9-py3-none-any.whl.metadata (7.0 kB)
Requirement already satisfied: requests>=2.28 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from chromadb==0.4.9->memento==0.0.1.2) (2.28.2)
Collecting pydantic<2.0,>=1.9 (from chromadb==0.4.9->memento==0.0.1.2)
Using cached pydantic-1.10.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (149 kB)
Collecting chroma-hnswlib==0.7.2 (from chromadb==0.4.9->memento==0.0.1.2)
Using cached chroma-hnswlib-0.7.2.tar.gz (31 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting fastapi<0.100.0,>=0.95.2 (from chromadb==0.4.9->memento==0.0.1.2)
Using cached fastapi-0.99.1-py3-none-any.whl.metadata (23 kB)
Collecting uvicorn>=0.18.3 (from uvicorn[standard]>=0.18.3->chromadb==0.4.9->memento==0.0.1.2)
Using cached uvicorn-0.25.0-py3-none-any.whl.metadata (6.4 kB)
Collecting posthog>=2.4.0 (from chromadb==0.4.9->memento==0.0.1.2)
Using cached posthog-3.3.1-py2.py3-none-any.whl.metadata (2.0 kB)
Collecting typing-extensions>=4.5.0 (from chromadb==0.4.9->memento==0.0.1.2)
Using cached typing_extensions-4.9.0-py3-none-any.whl.metadata (3.0 kB)
Collecting pulsar-client>=3.1.0 (from chromadb==0.4.9->memento==0.0.1.2)
Using cached pulsar_client-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.0 kB)
Collecting onnxruntime>=1.14.1 (from chromadb==0.4.9->memento==0.0.1.2)
Using cached onnxruntime-1.16.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.3 kB)
Collecting tokenizers>=0.13.2 (from chromadb==0.4.9->memento==0.0.1.2)
Using cached tokenizers-0.15.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.7 kB)
Collecting pypika>=0.48.9 (from chromadb==0.4.9->memento==0.0.1.2)
Using cached PyPika-0.48.9-py2.py3-none-any.whl
Requirement already satisfied: tqdm>=4.65.0 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from chromadb==0.4.9->memento==0.0.1.2) (4.66.1)
Collecting overrides>=7.3.1 (from chromadb==0.4.9->memento==0.0.1.2)
Using cached overrides-7.4.0-py3-none-any.whl.metadata (5.7 kB)
Collecting importlib-resources (from chromadb==0.4.9->memento==0.0.1.2)
Using cached importlib_resources-6.1.1-py3-none-any.whl.metadata (4.1 kB)
Requirement already satisfied: bcrypt>=4.0.1 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from chromadb==0.4.9->memento==0.0.1.2) (4.0.1)
Requirement already satisfied: PyYAML>=5.3 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from langchain==0.0.325->memento==0.0.1.2) (6.0)
Collecting SQLAlchemy<3,>=1.4 (from langchain==0.0.325->memento==0.0.1.2)
Using cached SQLAlchemy-2.0.25-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.6 kB)
Requirement already satisfied: aiohttp<4.0.0,>=3.8.3 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from langchain==0.0.325->memento==0.0.1.2) (3.8.5)
Collecting anyio<4.0 (from langchain==0.0.325->memento==0.0.1.2)
Using cached anyio-3.7.1-py3-none-any.whl.metadata (4.7 kB)
Collecting dataclasses-json<0.7,>=0.5.7 (from langchain==0.0.325->memento==0.0.1.2)
Using cached dataclasses_json-0.6.3-py3-none-any.whl.metadata (25 kB)
Collecting jsonpatch<2.0,>=1.33 (from langchain==0.0.325->memento==0.0.1.2)
Using cached jsonpatch-1.33-py2.py3-none-any.whl.metadata (3.0 kB)
Collecting langsmith<0.1.0,>=0.0.52 (from langchain==0.0.325->memento==0.0.1.2)
Using cached langsmith-0.0.80-py3-none-any.whl.metadata (10 kB)
Requirement already satisfied: tenacity<9.0.0,>=8.1.0 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from langchain==0.0.325->memento==0.0.1.2) (8.2.3)
Collecting Levenshtein==0.21.1 (from python-Levenshtein==0.21.1->memento==0.0.1.2)
Using cached Levenshtein-0.21.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.4 kB)
Requirement already satisfied: regex>=2022.1.18 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from tiktoken==0.4.0->memento==0.0.1.2) (2023.8.8)
Requirement already satisfied: six>=1.10.0 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from xlib==0.21->memento==0.0.1.2) (1.16.0)
Collecting rapidfuzz<4.0.0,>=2.3.0 (from Levenshtein==0.21.1->python-Levenshtein==0.21.1->memento==0.0.1.2)
Using cached rapidfuzz-3.6.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB)
Requirement already satisfied: attrs>=17.3.0 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.325->memento==0.0.1.2) (23.1.0)
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.325->memento==0.0.1.2) (3.1.0)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.325->memento==0.0.1.2) (6.0.4)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.325->memento==0.0.1.2) (4.0.3)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.325->memento==0.0.1.2) (1.9.2)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.325->memento==0.0.1.2) (1.4.0)
Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain==0.0.325->memento==0.0.1.2) (1.3.1)
Requirement already satisfied: idna>=2.8 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from anyio<4.0->langchain==0.0.325->memento==0.0.1.2) (3.4)
Requirement already satisfied: sniffio>=1.1 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from anyio<4.0->langchain==0.0.325->memento==0.0.1.2) (1.3.0)
Collecting marshmallow<4.0.0,>=3.18.0 (from dataclasses-json<0.7,>=0.5.7->langchain==0.0.325->memento==0.0.1.2)
Using cached marshmallow-3.20.2-py3-none-any.whl.metadata (7.5 kB)
Collecting typing-inspect<1,>=0.4.0 (from dataclasses-json<0.7,>=0.5.7->langchain==0.0.325->memento==0.0.1.2)
Using cached typing_inspect-0.9.0-py3-none-any.whl.metadata (1.5 kB)
Collecting starlette<0.28.0,>=0.27.0 (from fastapi<0.100.0,>=0.95.2->chromadb==0.4.9->memento==0.0.1.2)
Using cached starlette-0.27.0-py3-none-any.whl.metadata (5.8 kB)
Collecting jsonpointer>=1.9 (from jsonpatch<2.0,>=1.33->langchain==0.0.325->memento==0.0.1.2)
Using cached jsonpointer-2.4-py2.py3-none-any.whl.metadata (2.5 kB)
Collecting coloredlogs (from onnxruntime>=1.14.1->chromadb==0.4.9->memento==0.0.1.2)
Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
Collecting flatbuffers (from onnxruntime>=1.14.1->chromadb==0.4.9->memento==0.0.1.2)
Using cached flatbuffers-23.5.26-py2.py3-none-any.whl.metadata (850 bytes)
Requirement already satisfied: packaging in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from onnxruntime>=1.14.1->chromadb==0.4.9->memento==0.0.1.2) (23.1)
Collecting protobuf (from onnxruntime>=1.14.1->chromadb==0.4.9->memento==0.0.1.2)
Using cached protobuf-4.25.2-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes)
Collecting sympy (from onnxruntime>=1.14.1->chromadb==0.4.9->memento==0.0.1.2)
Using cached sympy-1.12-py3-none-any.whl (5.7 MB)
Collecting monotonic>=1.5 (from posthog>=2.4.0->chromadb==0.4.9->memento==0.0.1.2)
Using cached monotonic-1.6-py2.py3-none-any.whl (8.2 kB)
Collecting backoff>=1.10.0 (from posthog>=2.4.0->chromadb==0.4.9->memento==0.0.1.2)
Using cached backoff-2.2.1-py3-none-any.whl (15 kB)
Requirement already satisfied: python-dateutil>2.1 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from posthog>=2.4.0->chromadb==0.4.9->memento==0.0.1.2) (2.8.2)
Requirement already satisfied: certifi in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from pulsar-client>=3.1.0->chromadb==0.4.9->memento==0.0.1.2) (2022.12.7)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from requests>=2.28->chromadb==0.4.9->memento==0.0.1.2) (1.26.15)
Requirement already satisfied: greenlet!=0.4.17 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from SQLAlchemy<3,>=1.4->langchain==0.0.325->memento==0.0.1.2) (2.0.2)
Collecting huggingface_hub<1.0,>=0.16.4 (from tokenizers>=0.13.2->chromadb==0.4.9->memento==0.0.1.2)
Using cached huggingface_hub-0.20.2-py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: click>=7.0 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from uvicorn>=0.18.3->uvicorn[standard]>=0.18.3->chromadb==0.4.9->memento==0.0.1.2) (8.1.3)
Requirement already satisfied: h11>=0.8 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from uvicorn>=0.18.3->uvicorn[standard]>=0.18.3->chromadb==0.4.9->memento==0.0.1.2) (0.14.0)
Collecting httptools>=0.5.0 (from uvicorn[standard]>=0.18.3->chromadb==0.4.9->memento==0.0.1.2)
Using cached httptools-0.6.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.6 kB)
Collecting python-dotenv>=0.13 (from uvicorn[standard]>=0.18.3->chromadb==0.4.9->memento==0.0.1.2)
Using cached python_dotenv-1.0.0-py3-none-any.whl (19 kB)
Collecting uvloop!=0.15.0,!=0.15.1,>=0.14.0 (from uvicorn[standard]>=0.18.3->chromadb==0.4.9->memento==0.0.1.2)
Using cached uvloop-0.19.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.9 kB)
Collecting watchfiles>=0.13 (from uvicorn[standard]>=0.18.3->chromadb==0.4.9->memento==0.0.1.2)
Using cached watchfiles-0.21.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.9 kB)
Collecting websockets>=10.4 (from uvicorn[standard]>=0.18.3->chromadb==0.4.9->memento==0.0.1.2)
Using cached websockets-12.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB)
Collecting filelock (from huggingface_hub<1.0,>=0.16.4->tokenizers>=0.13.2->chromadb==0.4.9->memento==0.0.1.2)
Using cached filelock-3.13.1-py3-none-any.whl.metadata (2.8 kB)
Collecting fsspec>=2023.5.0 (from huggingface_hub<1.0,>=0.16.4->tokenizers>=0.13.2->chromadb==0.4.9->memento==0.0.1.2)
Using cached fsspec-2023.12.2-py3-none-any.whl.metadata (6.8 kB)
Requirement already satisfied: mypy-extensions>=0.3.0 in /usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages (from typing-inspect<1,>=0.4.0->dataclasses-json<0.7,>=0.5.7->langchain==0.0.325->memento==0.0.1.2) (1.0.0)
Collecting humanfriendly>=9.1 (from coloredlogs->onnxruntime>=1.14.1->chromadb==0.4.9->memento==0.0.1.2)
Using cached humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
Collecting mpmath>=0.19 (from sympy->onnxruntime>=1.14.1->chromadb==0.4.9->memento==0.0.1.2)
Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
Using cached chromadb-0.4.9-py3-none-any.whl (421 kB)
Using cached langchain-0.0.325-py3-none-any.whl (1.9 MB)
Using cached numpy-1.25.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.6 MB)
Using cached openai-0.27.8-py3-none-any.whl (73 kB)
Using cached opencv_contrib_python-4.8.0.74-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (67.8 MB)
Using cached Pillow-10.0.1-cp311-cp311-manylinux_2_28_x86_64.whl (3.6 MB)
Using cached pygame-2.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.9 MB)
Using cached python_Levenshtein-0.21.1-py3-none-any.whl (9.4 kB)
Using cached tesserocr-2.6.1-cp311-cp311-manylinux_2_28_x86_64.whl (4.2 MB)
Using cached Levenshtein-0.21.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (172 kB)
Using cached anyio-3.7.1-py3-none-any.whl (80 kB)
Using cached dataclasses_json-0.6.3-py3-none-any.whl (28 kB)
Using cached fastapi-0.99.1-py3-none-any.whl (58 kB)
Using cached jsonpatch-1.33-py2.py3-none-any.whl (12 kB)
Using cached langsmith-0.0.80-py3-none-any.whl (48 kB)
Using cached onnxruntime-1.16.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB)
Using cached overrides-7.4.0-py3-none-any.whl (17 kB)
Using cached posthog-3.3.1-py2.py3-none-any.whl (40 kB)
Using cached pulsar_client-3.4.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.4 MB)
Using cached pydantic-1.10.13-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
Using cached SQLAlchemy-2.0.25-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.2 MB)
Using cached tokenizers-0.15.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB)
Using cached typing_extensions-4.9.0-py3-none-any.whl (32 kB)
Using cached uvicorn-0.25.0-py3-none-any.whl (60 kB)
Using cached importlib_resources-6.1.1-py3-none-any.whl (33 kB)
Using cached httptools-0.6.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (318 kB)
Using cached huggingface_hub-0.20.2-py3-none-any.whl (330 kB)
Using cached jsonpointer-2.4-py2.py3-none-any.whl (7.8 kB)
Using cached marshmallow-3.20.2-py3-none-any.whl (49 kB)
Using cached rapidfuzz-3.6.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.4 MB)
Using cached starlette-0.27.0-py3-none-any.whl (66 kB)
Using cached typing_inspect-0.9.0-py3-none-any.whl (8.8 kB)
Using cached uvloop-0.19.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.5 MB)
Using cached watchfiles-0.21.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
Using cached websockets-12.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (130 kB)
Using cached flatbuffers-23.5.26-py2.py3-none-any.whl (26 kB)
Using cached protobuf-4.25.2-cp37-abi3-manylinux2014_x86_64.whl (294 kB)
Using cached fsspec-2023.12.2-py3-none-any.whl (168 kB)
Using cached filelock-3.13.1-py3-none-any.whl (11 kB)
Building wheels for collected packages: memento, chroma-hnswlib
Building wheel for memento (pyproject.toml) ... done
Created wheel for memento: filename=memento-0.0.1.2-py3-none-any.whl size=13429 sha256=8bed69ccd5d6a519ed07a93ed38f8716b21a21b0354abae068ce8acd511dd642
Stored in directory: /tmp/pip-ephem-wheel-cache-b6vujmtl/wheels/26/1f/57/200418a95a5f090c2ec2009604f2ef850ca3534ed40cb0326b
Building wheel for chroma-hnswlib (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for chroma-hnswlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [84 lines of output]
running bdist_wheel
running build
running build_ext
creating tmp
/usr/bin/gcc-9 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/var/pyenv/versions/3.11.3/include/python3.11 -c /tmp/tmp7wtd2eib.cpp -o tmp/tmp7wtd2eib.o -std=c++14
/usr/bin/gcc-9 -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/var/pyenv/versions/3.11.3/include/python3.11 -c /tmp/tmpe8kqv8lb.cpp -o tmp/tmpe8kqv8lb.o -std=c++11
Traceback (most recent call last):
File "/usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
└ <function main at 0x7f140b9d0e00>
File "/usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
│ │ └ {'kwargs': {'wheel_directory': '/tmp/pip-wheel-jc8gfy9u', 'config_settings': None, 'metadata_directory': '/tmp/pip-modern-metada...
│ └ <function build_wheel at 0x7f140b9d0ae0>
└ {'unsupported': False, 'return_val': None}
File "/usr/local/var/pyenv/versions/3.11.3/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
return _build_backend().build_wheel(wheel_directory, config_settings,
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 404, in build_wheel
return self._build_with_temp_dir(
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir
self.run_setup()
└ <setuptools.build_meta._BuildMetaBackend object at 0x7f140b589bd0>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
└ 'import os\nimport sys\nimport platform\n\nimport numpy as np\nimport pybind11\nimport setuptools\nfrom setuptools import Extens...
File "<string>", line 116, in <module>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
│ └ {'name': 'chroma-hnswlib', 'version': '0.7.2', 'description': 'Chromas fork of hnswlib', 'author': 'Yury Malkov and the original...
└ <module 'distutils' (/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/_distutils/__init__.py)>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
│ └ <setuptools.dist.Distribution object at 0x7f140ad88b90>
└ <function run_commands at 0x7f140b936c00>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
└ <setuptools.dist.Distribution object at 0x7f140ad88b90>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
│ └ 'bdist_wheel'
└ <setuptools.dist.Distribution object at 0x7f140ad88b90>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
super().run_command(command)
└ 'bdist_wheel'
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
└ <wheel.bdist_wheel.bdist_wheel object at 0x7f1408b0e510>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 368, in run
self.run_command("build")
└ <wheel.bdist_wheel.bdist_wheel object at 0x7f1408b0e510>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
│ └ 'build'
└ <wheel.bdist_wheel.bdist_wheel object at 0x7f1408b0e510>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
super().run_command(command)
└ 'build'
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
└ <setuptools.command.build.build object at 0x7f13e23b3550>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run
self.run_command(cmd_name)
│ └ 'build_ext'
└ <setuptools.command.build.build object at 0x7f13e23b3550>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
self.distribution.run_command(command)
│ └ 'build_ext'
└ <setuptools.command.build.build object at 0x7f13e23b3550>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
super().run_command(command)
└ 'build_ext'
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
└ <__main__.BuildExt object at 0x7f14085a66d0>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/command/build_ext.py", line 88, in run
_build_ext.run(self)
│ └ <__main__.BuildExt object at 0x7f14085a66d0>
└ <class 'distutils.command.build_ext.build_ext'>
File "/tmp/pip-build-env-d4ocss71/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_ext.py", line 345, in run
self.build_extensions()
└ <__main__.BuildExt object at 0x7f14085a66d0>
File "<string>", line 103, in build_extensions
File "<string>", line 70, in cpp_flag
RuntimeError: Unsupported compiler -- at least C++11 support is needed!
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for chroma-hnswlib
Successfully built memento
Failed to build chroma-hnswlib
ERROR: Could not build wheels for chroma-hnswlib, which is required to install pyproject.toml-based projects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment