ValueError: 'format' in __slots__ conflicts with class variable

Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-qe3ebgj7/progressbar/setup.py", line 5, in <module>
        import progressbar
      File "/tmp/pip-build-qe3ebgj7/progressbar/progressbar/__init__.py", line 59, in <module>
        from progressbar.widgets import *
      File "/tmp/pip-build-qe3ebgj7/progressbar/progressbar/widgets.py", line 121, in <module>
        class FileTransferSpeed(Widget):
      File "/public/home/zzh/.pyenv/versions/anaconda3-4.3.1/lib/python3.6/abc.py", line 133, in __new__
        cls = super().__new__(mcls, name, bases, namespace)
    ValueError: 'format' in __slots__ conflicts with class variable
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-qe3ebgj7/progressbar/

今天在安装ATCG的GDC Data Transfer Tool 软件过程中,安装几个依赖的python包时出现以上错误。大致估计可能是python版本的问题。我pip安装的是3.x的版本,这个包可能用的是2.x的版本。

用2.x的版本安装后报错问题解决

安装完成后运行./gdc-client命令时,再次报错

ImportError: /public/home/zzh/.pyenv/versions/2.7.13/lib/python2.7/site-packages/lxml-3.5.0b1-py2.7-linux-x86_64.egg/lxml/etree.so: undefined symbol: xmtent

谷歌了一下,可能是lxml依赖的一些 libraries 未安装。

转载于:https://www.cnblogs.com/zhengzh/p/6755070.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值