主要问题有两个:
-
threadpoolctl
相关的线程管理问题(导致 t-SNE 崩溃) -
pip 安装包时的 SSL 证书验证失败问题
解决方案: 解决 pip SSL 证书问题
使用国内镜像源(如清华源)
pip install -i http://pypi.tuna.tsinghua.edu.cn/simple threadpoolctl==3.1.0 --trusted-host pypi.tuna.tsinghua.edu.cn
阿里云镜像:
pip install -i http://mirrors.aliyun.com/pypi/simple/ threadpoolctl==3.1.0 --trusted-host mirrors.aliyun.com
成功!