Good Afternoon Everyone,
I am attempting to learn Python alongside a MOOC and am having trouble importing packages using Atom & PyCharm.
After installing the packages, I am met with the following errors:
init_dgelsd failed init
Traceback (most recent call last):
File “/Users/ryanborunda/Documents/Coursera - Understanding & Visualizing Data/Week 1/test.py”, line 1, in
import numpy as np
File “/Users/ryanborunda/.pyenv/versions/3.9.0/lib/python3.9/site-packages/numpy/init.py”, line 286, in
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
These errors happen when attempting to import numpy and pandas as such:
import numpy as np
import pandas as pd
Other forums mention I may need to force macOS to not use Accelerate and force “binary installs”? Can anyone help me remedy this or lead me in the right direction?