【问题标题】:Import error when importing MsgPackSerializer导入 MsgPackSerializer 时出现导入错误
【发布时间】:2018-10-14 05:17:44
【问题描述】:

我正在尝试从高速公路库导入 MsgPackSerializer。但我收到以下错误:

ImportError: cannot import name MsgPackSerializer

我已经尝试过这个解决方案,但没有奏效 - https://github.com/Crypto-Expert/stratum-mining/issues/211#issuecomment-33867305

使用 Miniconda 3。

【问题讨论】:

    标签: python python-3.x autobahn serialization


    【解决方案1】:

    好吧,看来我不得不做pip install u-msgpack-python

    【讨论】:

      【解决方案2】:

      对于 python 3,您需要 pip install msgpack。在 python 3.7 Autobahn 20.3.1 中测试。 如果您安装了u-msgpack-python,请不要忘记卸载它。

      【讨论】:

        猜你喜欢
        • 2018-11-02
        • 1970-01-01
        • 1970-01-01
        • 2020-09-20
        • 2018-12-27
        • 2017-11-04
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多