sklearn/utils/../../scikit_learn.libs/libgomp-d22c30c5.so.1.0.0: cannot allocate memory in static TLS block
参考:
https://blog.csdn.net/weixin_39589455/article/details/135995424
https://github.com/keras-team/autokeras/issues/1475
引入环境变量:
export LD_PRELOAD=$LD_PRELOAD:/home/bingxing2/ailab/scx7kzd/.conda/envs/dh2/lib/python3.10/site-packages/scikit_learn.libs/libgomp-d22c30c5.so.1.0.0
找到 conda 的环境位置:
例如:
/home/bingxing2/ailab/scx7kzd/.conda/envs/dh2
然后直接接上的目录,改一下 python 的版本。
转载注意标注出处:
转自Cold_Chair的博客+原博客地址