You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Joris Van den Bossche (JIRA)" <ji...@apache.org> on 2019/04/24 09:45:00 UTC

[jira] [Created] (ARROW-5210) [Python] editable install (pip install -e .) is failing

Joris Van den Bossche created ARROW-5210:
--------------------------------------------

             Summary: [Python] editable install (pip install -e .) is failing 
                 Key: ARROW-5210
                 URL: https://issues.apache.org/jira/browse/ARROW-5210
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Joris Van den Bossche


Following the python development documentation on building arrow and pyarrow ([https://arrow.apache.org/docs/developers/python.html#build-and-test),] building pyarrow inplace with {{python setup.py build_ext --inplace}} works fine.

 

But if you want to also install this inplace version in the current python environment (editable install / development install) using pip ({{pip install -e .}}), this fails during the {{built_ext}} / cmake phase:
{code:none}
 
    -- Looking for python3.7m
    -- Found Python lib /home/joris/miniconda3/envs/arrow-dev/lib/libpython3.7m.so
    CMake Error at cmake_modules/FindNumPy.cmake:62 (message):
      NumPy import failure:

      Traceback (most recent call last):

        File "<string>", line 1, in <module>

      ModuleNotFoundError: No module named 'numpy'

    Call Stack (most recent call first):
      CMakeLists.txt:186 (find_package)


    -- Configuring incomplete, errors occurred!
    See also "/home/joris/scipy/repos/arrow/python/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeOutput.log".
    See also "/home/joris/scipy/repos/arrow/python/build/temp.linux-x86_64-3.7/CMakeFiles/CMakeError.log".
    error: command 'cmake' failed with exit status 1
Cleaning up...
{code}
 

Alternatively, doing `python setup.py develop` to achieve the same does work.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)