0

I am trying to install pyarrow using pipenv:

pipenv install pyarrow

And I get the following error :

......  cmake -DPYTHON_EXECUTABLE=c:\\users\\myuser\\.virtualenvs\\myproject-z1aqfj6n\\scripts\\python.exe  -G "Visual Studio 14 2015 Win64" -DPYARROW_BOOST_USE_SHARED=on -DCMAKE_BUILD_TYPE=release C:\\Users\\myuser\\AppData\\Local\\Temp\\2\\pip-install-tyfxyl2e\\pyarrow', "  error: command 'cmake' failed: No such file or directory", '  ----------------------------------------', '  ERROR: Failed building wheel for pyarrow', 'ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly']
ERROR: ERROR: Package installation failed...
     ================================ 0/1 - 00:00:16

I use Windows Server 2019.

Important remark: The following command succeeds pip install pyarrow but not pipenv :(

Thank you!

Farah
  • 2,469
  • 5
  • 31
  • 52
  • I’m guessing you’ve seen [this](https://stackoverflow.com/q/52181374/11301900) already? – AMC Dec 07 '19 at 17:36
  • Thank you for your answer. I have already tried that (all versions between 0.9.0 and 0.15.1) and i still can't install it using pipenv – Farah Dec 08 '19 at 19:36
  • Is that the full error message btw? – AMC Dec 08 '19 at 19:36
  • On Windows most pyarrow versions should have all recent versions of Python already prebuilt. So there are two problems here. The first is that it shouldn't be trying to build from source at all. The second is that, since it is building from source, you will need the build tools arrow requires. Are you intending to build from source? What version of python are you building for? If you are intending to build from source have you read https://github.com/apache/arrow/blob/master/docs/source/developers/cpp.rst#developing-on-windows – Pace Dec 16 '19 at 15:30

0 Answers0