[ https://issues.apache.org/jira/browse/ARROW-5210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rok Mihevc updated ARROW-5210: ------------------------------ External issue URL: https://github.com/apache/arrow/issues/21685 > [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 > Priority: Minor > > 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 still > works. > -- This message was sent by Atlassian Jira (v8.20.10#820010)