Sklearn: cannot allocate memory in static TLS block

I installed Sklearn by the command pip3 install scikit-learn

After installation, I could not import sklearn.

Even though I tried

$ source ~/.bashrc
$ export LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libgomp.so.1

It did not work and get the same error.
image
Python 3.6.9

Hi,

I can import sklearn without errors.
Below is our library version for your reference.

  • numpy: 1.18.0
  • scipy: 1.1.0
  • sklearn: 0.24.2

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.