Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-8685

[Python] ImportError with NumPy<1.16.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 0.17.0
    • None
    • Packaging, Python
    • None

    Description

      # pip install 'numpy<1.16' pyarrow...
      Successfully built numpy
      Installing collected packages: numpy, pyarrow
      Successfully installed numpy-1.15.4 pyarrow-0.17.0
      # python -c 'import pyarrow'ModuleNotFoundError: No module named 'numpy.core._multiarray_umath'Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "/usr/local/lib/python3.8/site-packages/pyarrow/__init__.py", line 59, in <module>
          from pyarrow.lib import cpu_count, set_cpu_count
        File "pyarrow/lib.pyx", line 37, in init pyarrow.lib
      ImportError: numpy.core.multiarray failed to import
      

      Arrow's setup.py requires numpy>=1.14, but the actual requirement appears to be >=1.16.  

      This is related to ARROW-7852; users will still see an ImportError if an older NumPy was already installed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            coady A. Coady
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: