CMAKE, PyArrow bug, unable to build wheel for PyArrow when installing langflow
richpianist opened this issue · comments
Describe the bug
Unable to install langflow due to CMAKE error (states cannot find any instance of visual studio) and unable to build pyarrow wheel.
I have everything possible downloaded for the Desktop development with C++ (all MSBuild Tools, Desktop development with C++, individual components including windows 11/10 SDKs and MSVC v141 - VS 2017 C++ build tool).
cmake version 3.29.2
Python 3.12.2
PyArrow 16.0.0
Browser and Version
-chrome
-Version 124.0.6367.63 (Official Build) (64-bit)
To Reproduce
When installing from either of these:
python -m pip install langflow --pre --force-reinstall
python -m pip install langflow -U
I get the following error:
CMake Error at CMakeLists.txt:22 (project): Generator Visual Studio 15 2017 Win64 could not find any instance of Visual Studio. -- Configuring incomplete, errors occurred! error: command 'C:\\Program Files\\CMake\\bin\\cmake.exe' 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 pyarrow
Was using python 3.12. switched to 3.10.9 and now works.