为什么 pip 无法安装 tbb
Why is pip failing to install tbb
我正在尝试安装 umap-learn on my machine. But, I run into problems when installing tbb,这是一个必需的包。
使用 pip 从 PyPI 安装
当我这样做时,
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 下载 wheel 并安装
我从 PyPI 下载了 wheel,然后尝试直接安装:
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)。
帮助
- 这是否意味着我的 OS 不支持 tbb?
- 是否有其他我缺少的软件包导致安装失败?
- 还有其他人运行遇到这个问题吗?
在 requirement.txt 文件中注释掉 tbb 要求允许在没有 tbb 的情况下安装 UMAP。大多数情况下,UMAP 可以 运行 没有 tbb。
我正在尝试安装 umap-learn on my machine. But, I run into problems when installing tbb,这是一个必需的包。
使用 pip 从 PyPI 安装
当我这样做时,
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 下载 wheel 并安装
我从 PyPI 下载了 wheel,然后尝试直接安装:
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)。
帮助
- 这是否意味着我的 OS 不支持 tbb?
- 是否有其他我缺少的软件包导致安装失败?
- 还有其他人运行遇到这个问题吗?
在 requirement.txt 文件中注释掉 tbb 要求允许在没有 tbb 的情况下安装 UMAP。大多数情况下,UMAP 可以 运行 没有 tbb。