如何修复错误的元帅数据(未知类型代码)

时间:2019-02-03 14:01:39

标签: python

我无法在树莓派上运行任何python脚本。有人可以帮忙吗?

Traceback (most recent call last):
  File "aws_keypad.py", line 2, in <module>
    from boto3.dynamodb.conditions import Key, Attr
  File "/usr/local/lib/python2.7/dist-packages/boto3/__init__.py", line 16, in <module>
    from boto3.session import Session
  File "/usr/local/lib/python2.7/dist-packages/boto3/session.py", line 17, in <module>
    import botocore.session
  File "/usr/local/lib/python2.7/dist-packages/botocore/session.py", line 29, in <module>
    import botocore.configloader
  File "/usr/local/lib/python2.7/dist-packages/botocore/configloader.py", line 19, in <module>
    from botocore.compat import six
  File "/usr/local/lib/python2.7/dist-packages/botocore/compat.py", line 24, in <module>
    from botocore.vendored import six
  File "/usr/local/lib/python2.7/dist-packages/botocore/vendored/six.py", line 657, in <module>
    import StringIO
ValueError: bad marshal data (unknown type code)

0 个答案:

没有答案