导入MsgPackSerializer时出现导入错误

时间:2018-10-14 05:17:45

标签: python python-3.x autobahn serializer

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

#include <stdio.h>

int main() {

    int i,j,k;

    printf("Enter a Number:\n");
    scanf("%d", &i);

    if (i <= 0 ) {
        printf("Error_1\n");
    } else{

        scanf("%d",&j);
        k=0;

        while(j>0)
        {
            k++;
            j=j/10;
        }

        if(k<i)
            printf("Error_2\n");
    }
}

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

使用Miniconda 3。

2 个答案:

答案 0 :(得分:1)

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

答案 1 :(得分:0)

对于python 3,您需要onPress={() => this.props.navigation.dispatch(DrawerActions.toggleDrawer())}。在python 3.7高速公路20.3.1中进行了测试。 如果安装了pip install msgpack,请不要忘记卸载它。

相关问题