Skip to content

consistent install even if installing numpy at the same time? #46

Description

@1fish2

One sometimes needs to install numpy before arrow.

File "<string>", line 1, in <module> File "/tmp/pip-install-kixeniwe/stochastic-arrow/setup.py", line 6, in <module>                                                  
        import numpy.distutils.misc_util                                                                                                      
    ModuleNotFoundError: No module named 'numpy'

But pip install is inconsistent! After installing numpy in one virtualenv, you can create another virtualenv and install all requirements at once, including numpy and arrow. (Something must be cached.)

Installing all the requirements at once saves people steps and another way to get fouled up during installation.

Q. Can we fix this in the arrow setup.py?

  • Does arrow still need numpy headers now that it uses cython?
  • Could it defer calling numpy distlib until after pip has installed numpy?
  • How do other packages do it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions