Cannot install langchain-pinecone in windows. Need python for x86, but found x86_64 #29352
Open
5 tasks done
Labels
investigate
Flagged for investigation.
Checked other resources
Example Code
python version
Python 3.13.1
Error Message and Stack Trace (if applicable)
D:\codebase context\langchain-vector>pip install langchain-pinecone
Processing d:\codebase context\langchain-vector\langchain_pinecone-0.2.2-py3-none-any.whl
Collecting aiohttp<3.11,>=3.10 (from langchain-pinecone==0.2.2)
Downloading aiohttp-3.10.11-cp313-cp313-win_amd64.whl.metadata (8.0 kB)
Requirement already satisfied: langchain-core<0.4.0,>=0.3.29 in d:\abhiram\projects\llama automate\others\codebase context\langchain-vector\vecenv\lib\site-packages (from langchain-pinecone==0.2.2) (0.3.31)
Collecting langchain-tests<0.4.0,>=0.3.7 (from langchain-pinecone==0.2.2)
Downloading langchain_tests-0.3.8-py3-none-any.whl.metadata (3.6 kB)
Collecting numpy<2.0.0,>=1.26.0 (from langchain-pinecone==0.2.2)
Using cached numpy-1.26.4.tar.gz (15.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
+ D:\codebase context\langchain-vector\vecenv\Scripts\python.exe C:\Users\AppData\Local\Temp\pip-install-qa_xstzd\numpy_e9d24d9f7710499d8ed38160396ec2ea\vendored-meson\meson\meson.py setup C:\Users\AppData\Local\Temp\pip-install-qa_xstzd\numpy_e9d24d9f7710499d8ed38160396ec2ea C:\Users\AppData\Local\Temp\pip-install-qa_xstzd\numpy_e9d24d9f7710499d8ed38160396ec2ea.mesonpy-z2vnu182 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\Abhiram\AppData\Local\Temp\pip-install-qa_xstzd\numpy_e9d24d9f7710499d8ed38160396ec2ea.mesonpy-z2vnu182\meson-python-native-file.ini
The Meson build system
Version: 1.2.99
Source dir: C:\Users\AppData\Local\Temp\pip-install-qa_xstzd\numpy_e9d24d9f7710499d8ed38160396ec2ea
Build dir: C:\Users\Abhiram\AppData\Local\Temp\pip-install-qa_xstzd\numpy_e9d24d9f7710499d8ed38160396ec2ea.mesonpy-z2vnu182
Build type: native build
Project name: NumPy
Project version: 1.26.4
C compiler for the host machine: ccache gcc (gcc 13.2.0 "gcc (MinGW-W64 i686-msvcrt-posix-dwarf, built by Brecht Sanders, r8) 13.2.0")
C linker for the host machine: gcc ld.bfd 2.42
C++ compiler for the host machine: ccache c++ (gcc 13.2.0 "c++ (MinGW-W64 i686-msvcrt-posix-dwarf, built by Brecht Sanders, r8) 13.2.0")
C++ linker for the host machine: c++ ld.bfd 2.42
Cython compiler for the host machine: cython (cython 3.0.11)
Host machine cpu family: x86
Host machine cpu: x86
Program python found: YES (D:\abhiram\projects\Llama Automate\others\codebase context\langchain-vector\vecenv\Scripts\python.exe)
Need python for x86, but found x86_64
Run-time dependency python found: NO (tried sysconfig)
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Description
I am trying to install pincone but the buid is failing with the eror.
System Info
Windows 11
Python 3.13.1
The text was updated successfully, but these errors were encountered: