我在我的 Ubuntu 操作系统上运行没有任何问题turicreate
- 但是在部署到 AWS EB 实例(Python 3.6)时,我得到了错误:ImportError: libblas.so.3: cannot open shared object file: No such file or directory
.
这显然是未完成此处找到的设置说明的问题。
因此,我尝试将我的更新/.ebextensions/setup.config
为类似于以下内容以尝试更新环境以便turicreate
可以运行。
packages:
yum:
libstdc++6: []
python-setuptools: []
我需要使用yum
,因为 AWS 实例没有apt-get
. 然而,这有其自身的错误:Activity execution failed, because: Yum does not have python-setuptools available for installation (ElasticBeanstalk::ExternalInvocationError)
和Activity execution failed, because: Yum does not have libstdc++6 available for installation (ElasticBeanstalk::ExternalInvocationError)
.
如果我ssh进入环境...
[ec2-user@ip-***-**-**-*** ~]$ sudo yum install -y libstdc++6 python-setuptools
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main | 2.1 kB 00:00:00
amzn-updates | 2.5 kB 00:00:00
No package libstdc++6 available.
Package python26-setuptools-36.2.7-1.33.amzn1.noarch already installed and latest version
Nothing to do
[ec2-user@ip-***-**-**-*** ~]$
这里发生了什么?如何配置 EB 实例以运行turicreate
?