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 的版本。

posted @ 2024-12-18 23:30  Cold_Chair  阅读(7)  评论(0编辑  收藏  举报