首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在亚马逊EC2或SageMaker上安装Vowpal Wabbit?(amazon )

如何在亚马逊EC2或SageMaker上安装Vowpal Wabbit?(amazon )
EN

Stack Overflow用户
提问于 2020-02-01 14:38:09
回答 2查看 379关注 0票数 1

有人能解释或帮助我在Amazon机器( EC2或SageMaker )上安装EC2(我对python绑定感兴趣)吗?因为某些原因我很难在网上找到任何关于它的东西..。

一个pip install vowpalwabbit返回一个

代码语言:javascript
复制
Using cached https://files.pythonhosted.org/packages/d1/5a/9fcd64fd52ad22e2d1821b2ef871e8783c324b37e2103e7ddefa776c2ed7/vowpalwabbit-8.8.0.tar.gz
Building wheels for collected packages: vowpalwabbit
  Building wheel for vowpalwabbit (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/ec2-user/anaconda3/envs/JupyterSystemEnv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0]= '"'"'/tmp/pip-install-tvp1174t/vowpalwabbit/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tvp1174t/vowpalwabbit/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-x0j85ac_ --python-tag cp36
       cwd: /tmp/pip-install-tvp1174t/vowpalwabbit/

在较低的错误中,我还可以看到一个:

代码语言:javascript
复制
CMake Error at /usr/lib64/python3.6/dist-packages/cmake/data/share/cmake-3.13/Modules/FindBoost.cmake:2100 (message):
    Unable to find the requested Boost libraries.

    Boost version: 1.53.0

    Boost include path: /usr/include

    Could not find the following Boost libraries:

            boost_python3

    Some (but not all) of the required Boost libraries were found.  You may
    need to install these additional Boost libraries.  Alternatively, set
    BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
    to the location of Boost.
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2021-10-19 14:16:58

一年半后又进行了测试,pip install vowpalwabbit在笔记本电脑上运行得很好。在培训工作中,在requirements.txt发送中添加元音到AWS管理的Scikit学习容器(141502667606.dkr.ecr.eu-west-1.amazonaws.com/sagemaker-scikit-learn:0.23-1-cpu-py3)也是成功的。都用元音测试-8.11.0

票数 0
EN

Stack Overflow用户

发布于 2020-02-04 15:07:17

看起来好像SageMaker SageMaker映像已经安装了Python。见这里

根据他们的集装箱回购,图片是:

代码语言:javascript
复制
462105765813.dkr.ecr.<region>.amazonaws.com/sagemaker-rl-vw-container:vw-8.7.0-cpu
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/60017893

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档