kowalski_lite icon indicating copy to clipboard operation
kowalski_lite copied to clipboard

Python malloc: can't allocate region, when running with python3

Open apraditya opened this issue 5 years ago • 0 comments

Tried this tool around. Installed python with homebrew which is python 3.9. Followed the setup on README and I got this error:

-> python3 kowalski_lite.py --username jokowi
Python(81829,0x102e9cdc0) malloc: can't allocate region
:*** mach_vm_map(size=18446744072453722112, flags: 100) failed (error code=3)
Python(81829,0x102e9cdc0) malloc: *** set a breakpoint in malloc_error_break to debug
init_dgelsd failed init
Traceback (most recent call last):
  File "/Users/apraditya/labs/kowalski_lite/kowalski_lite.py", line 1, in <module>
    from text_mining import TextCleaner
  File "/Users/apraditya/labs/kowalski_lite/text_mining.py", line 1, in <module>
    import pandas as pd
  File "/usr/local/lib/python3.9/site-packages/pandas/__init__.py", line 11, in <module>
    __import__(dependency)
  File "/usr/local/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

Did I miss something?

apraditya avatar Nov 07 '20 23:11 apraditya