首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >pip安装apache-beam失败,并为收集的软件包构建轮子

pip安装apache-beam失败,并为收集的软件包构建轮子
EN

Stack Overflow用户
提问于 2021-09-12 00:46:15
回答 1查看 227关注 0票数 0

问题

代码语言:javascript
复制
$ pip3 install apache-beam
...
Building wheels for collected packages: future, avro-python3, docopt
  Building wheel for future (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-4aondmrw/future/setup.py'"'"'; __file__='"'"'/tmp/pip-install-4aondmrw/future/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-5uobb0_9
       cwd: /tmp/pip-install-4aondmrw/future/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for future
EN

回答 1

Stack Overflow用户

发布于 2021-09-12 00:46:15

解决方案

代码语言:javascript
复制
pip3 install wheel

已修复此问题。

代码语言:javascript
复制
$ pip3 install apache-beam
...
Successfully built avro-python3
Installing collected packages: avro-python3, pyasn1, rsa, pyasn1-modules, oauth2client, apache-beam
Successfully installed apache-beam-2.32.0 avro-python3-1.9.2.1 oauth2client-4.1.3 pyasn1-0.4.8 pyasn1-modules-0.2.8 rsa-4.7.2
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69147686

复制
相关文章

相似问题

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