Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1fish2 opened this issue Jun 25, 2020 · 0 comments
Open

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

1fish2 opened this issue Jun 25, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@1fish2
Copy link
Contributor

1fish2 commented Jun 25, 2020

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?
@1fish2 1fish2 added the bug Something isn't working label Jun 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant