Open gaurav opened 2 years ago
Looks like the main error is:
ERROR: Could not build wheels for numpy which use PEP 517 and cannot be installed directly
Which is being caused by this:
File "/private/var/folders/j7/wl1qrc1n7fv9vnszw_0dsm680000gn/T/pip-build-env-cs0zxz7a/overlay/lib/python3.9/site-packages/wheel/macosx_libfile.py", line 356, in calculate_macosx_platform_tag
assert len(base_version) == 2
AssertionError
That seems really silly. Why should it have to run these tests to build the wheel. I am kinda annoyed when binaries aren't pre-built anyway. Maybe there's a good reason though.
I googled "numpy install error calculate_macosx_platform_tag", since looks like err occurs in the calculate_macosx_platform_tag
func. Good enough place to start a search. I found this:
https://github.com/numpy/numpy/issues/17784
Some people seem to like this solution in there:
pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy-1.21.0.dev0
and this one:
pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
This guy fixed by setting a specific environmental variable: https://github.com/numpy/numpy/issues/17784#issuecomment-863594440
I tried using the current
main
branch, which includespandas
, but I'm still running into an odd error trying to installnumpy
, which is one of its dependencies. I've removedpandas
from the Pipfile in PR #22, but I'm hoping I can figure out why this isn't working for me before then.I tried running
pipenv install --dev
and got this error log.Let me know if anybody has any idea why this might be happening. Otherwise, I'll keep poking at it locally.