Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Error: Import Numpy and Subsequently Pandas with python3.9 on MacOS builds wheels #17475

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

Closed
hannahxwood opened this issue Oct 7, 2020 · 3 comments

Comments

@hannahxwood
Copy link

I do not know how to fix a buggy Accelerate backend..

Input:
import numpy as np
or
import pandas as pd

Output:

init_dgelsd failed init
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/hannahwood/PycharmProjects/pythonProject/venv/lib/python3.9/site-packages/pandas/__init__.py", line 11, in <module>
    __import__(dependency)
  File "/Applications/PyCharm.app/Contents/plugins/python/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/Users/hannahwood/PycharmProjects/pythonProject/venv/lib/python3.9/site-packages/numpy/__init__.py", line 286, in <module>
    raise RuntimeError(msg)
RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, see site.cfg.example for information. Otherwise report this to the vendor that provided NumPy.
RankWarning: Polyfit may be poorly conditioned

@hannahxwood hannahxwood changed the title Import Numpy and Subsequently Pandas Error: Import Numpy and Subsequently Pandas Oct 7, 2020
@mattip
Copy link
Member

mattip commented Oct 7, 2020

Where did you get your python and NumPy from? homebrew? PyPI? If you are building your own, you should find some hints in the error message. If not we need more information.

@hannahxwood
Copy link
Author

hannahxwood commented Oct 7, 2020 via email

@mattip mattip changed the title Error: Import Numpy and Subsequently Pandas Error: Import Numpy and Subsequently Pandas with python3.9 on MacOS builds wheels Oct 7, 2020
@mattip
Copy link
Member

mattip commented Oct 7, 2020

You will have to wait a few weeks for the ecosystem to catch up. I changed the title to reflect the new information. Closing, duplicate of gh-17482

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants