在Google Coral TPU中安装库

时间:2020-07-14 00:05:25

标签: tpu google-coral

我尝试在Google Coral TPU上成功安装以下库。我想与tensorflow lite合作的这些库:

pandas 
numpy 
scikit-learn 
scikit-image 
click tqdm

在Google Coral TPU中,为了使用tensorflow lite,我遇到了以下错误:

File "numpy/core/setup.py", line 422, in generate_config_h
          moredefs, ignored = c6wfs --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel Cython>=0.29.13 "numpy==1.13.3; python_version=='3.6' and platform_system!='AIX'" "numpy==1.14.5; python_version=='3.7' and platform_system!='AIX'" "numpy==1.17.3; python_version>='3.8' and platform_system!='AIX'" "numpy==1.16.0; python_version=='3.6' and platform_system=='AIX'" "numpy==1.16.0; python_version=='3.7' and platform_system=='AIX'" "numpy==1.17.3; python_version>='3.8' and platform_system=='AIX'"" failed with error code 1 in None

我整日都在搜索中找到Google上没有成功的东西。我该怎么办?

1 个答案:

答案 0 :(得分:2)

numpy应该已经安装了,对吧? 其他任何库都应该可以使用apt-get安装:

$ sudo apt install python3-sklearn python3-skimage python3-pandas
$ sudo pip3 install tqdm