我正在尝试安装 umap-learn 在我的机器上。但是,我在安装 tbb,这是一个必需的包。
当我做。
pip install tbb
我得到了这个错误。
ERROR: Could not find a version that satisfies the requirement tbb (from versions: none)
ERROR: No matching distribution found for tbb
我下载了轮子,从 PyPI然后尝试直接安装。
pip install tbb-2019.0-py2.py3-none-macosx_10_12_intel.macosx_10_12_x86_64.whl
我得到的错误。
ERROR: tbb-2019.0-py2.py3-none-macosx_10_12_intel.macosx_10_12_x86_64.whl is not
a supported wheel on this platform.
我的机器是Mac OS X El Capitan(10.11.6)。
在 requirement.txt 文件中注释掉 tbb 的要求,就可以在没有 tbb 的情况下安装 UMAP。大多数情况下,UMAP 可以在没有 tbb 的情况下运行。