ARTICLE AD BOX
Observing below error while installing streamlit application:
pip install streamlit --trusted-host pypi.org --trusted-host pypi.python.org --trusted-host files.pythonhosted.orgRan on both actual environment and virtual environment, but same error.
Error:
copying pyarrow\vendored\__init__.py -> build\lib.win-arm64-cpython-312\pyarrow\vendored copying pyarrow\vendored\docscrape.py -> build\lib.win-arm64-cpython-312\pyarrow\vendored copying pyarrow\vendored\version.py -> build\lib.win-arm64-cpython-312\pyarrow\vendored running build_ext creating C:\Users\winterfell\AppData\Local\Temp\pip-install-qp5swye0\pyarrow_0b7435032de54c75abe2f2c6b6c60c27\build\temp.win-arm64-cpython-312 -- Running cmake for PyArrow cmake -DCMAKE_INSTALL_PREFIX=C:\Users\winterfell\AppData\Local\Temp\pip-install-qp5swye0\pyarrow_0b7435032de54c75abe2f2c6b6c60c27\build\lib.win-arm64-cpython-312\pyarrow -DPYTHON_EXECUTABLE=C:\Users\winterfell\AppData\Local\Programs\Python\Python312-arm64\python.exe -DPython3_EXECUTABLE=C:\Users\winterfell\AppData\Local\Programs\Python\Python312-arm64\python.exe -DPYARROW_CXXFLAGS= -G "Visual Studio 15 2017 Win64" -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off -DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release C:\Users\winterfell\AppData\Local\Temp\pip-install-qp5swye0\pyarrow_0b7435032de54c75abe2f2c6b6c60c27 CMake Error: Could not create named generator Visual Studio 15 2017 Win64 Using platforms in Visual Studio generator names is not supported in CMakePresets.json. Generators * Visual Studio 18 2026 = Generates Visual Studio 2026 project files. Use -A option to specify architecture. Visual Studio 17 2022 = Generates Visual Studio 2022 project files. Use -A option to specify architecture. Visual Studio 16 2019 = Generates Visual Studio 2019 project files. Use -A option to specify architecture. Visual Studio 15 2017 = Generates Visual Studio 2017 project files. Use -A option to specify architecture. Visual Studio 14 2015 = Deprecated. Generates Visual Studio 2015 project files. Use -A option to specify architecture. Borland Makefiles = Generates Borland makefiles. NMake Makefiles = Generates NMake makefiles. NMake Makefiles JOM = Generates JOM makefiles. MSYS Makefiles = Generates MSYS makefiles. MinGW Makefiles = Generates a make file for use with mingw32-make. Green Hills MULTI = Generates Green Hills MULTI files (experimental, work-in-progress). Unix Makefiles = Generates standard UNIX makefiles. Ninja = Generates build.ninja files. Ninja Multi-Config = Generates build-<Config>.ninja files. FASTBuild = Generates fbuild.bff files. Watcom WMake = Generates Watcom WMake makefiles. CodeBlocks - MinGW Makefiles = Generates CodeBlocks project files (deprecated). CodeBlocks - NMake Makefiles = Generates CodeBlocks project files (deprecated). CodeBlocks - NMake Makefiles JOM = Generates CodeBlocks project files (deprecated). CodeBlocks - Ninja = Generates CodeBlocks project files (deprecated). CodeBlocks - Unix Makefiles = Generates CodeBlocks project files (deprecated). CodeLite - MinGW Makefiles = Generates CodeLite project files (deprecated). CodeLite - NMake Makefiles = Generates CodeLite project files (deprecated). CodeLite - Ninja = Generates CodeLite project files (deprecated). CodeLite - Unix Makefiles = Generates CodeLite project files (deprecated). Eclipse CDT4 - NMake Makefiles = Generates Eclipse CDT 4.0 project files (deprecated). Eclipse CDT4 - MinGW Makefiles = Generates Eclipse CDT 4.0 project files (deprecated). Eclipse CDT4 - Ninja = Generates Eclipse CDT 4.0 project files (deprecated). Eclipse CDT4 - Unix Makefiles= Generates Eclipse CDT 4.0 project files (deprecated). Kate - MinGW Makefiles = Generates Kate project files (deprecated). Kate - NMake Makefiles = Generates Kate project files (deprecated). Kate - Ninja = Generates Kate project files (deprecated). Kate - Ninja Multi-Config = Generates Kate project files (deprecated). Kate - Unix Makefiles = Generates Kate project files (deprecated). Sublime Text 2 - MinGW Makefiles = Generates Sublime Text 2 project files (deprecated). Sublime Text 2 - NMake Makefiles = Generates Sublime Text 2 project files (deprecated). Sublime Text 2 - Ninja = Generates Sublime Text 2 project files (deprecated). Sublime Text 2 - Unix Makefiles = Generates Sublime Text 2 project files (deprecated). 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 Failed to build pyarrow error: failed-wheel-build-for-install × Failed to build installable wheels for some pyproject.toml based projects ╰─> pyarrowTried installing Visual Studio tools, but still getting this error. It seems at make level itself, the arm64 changed need to be done. Also tried running after this command, but no luck. Has anyone faced same error?
pip install --verbose --no-binary=:all: pyarrow6192 gold badges11 silver badges28 bronze badges
Explore related questions
See similar questions with these tags.
