qq_40185638
qq_40185638
采纳率75%
2019-04-19 15:55 阅读 1.2k

为什么用python3.5调用fdfs_client时报错ImportError: No module named 'mutagen'?

在已经导入fdfs-client-py==1.2.6时,用python3.5调用fdfs_client时报错ImportError: No module named 'mutagen'?

from fdfs_client.client import Fdfs_client
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/python/FastDFS/fdfs_client-py-master/fdfs_client/client.py", line 11, in <module>
    from fdfs_client.tracker_client import *
  File "/home/python/FastDFS/fdfs_client-py-master/fdfs_client/tracker_client.py", line 17, in <module>
    from fdfs_client.utils import *
  File "/home/python/FastDFS/fdfs_client-py-master/fdfs_client/utils.py", line 8, in <module>
    from mutagen._compat import StringIO
ImportError: No module named 'mutagen'
>>> 

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    qq_40185638 qq_40185638 2019-04-19 16:06

    需要pip install mutagen和pip install requests

    点赞 1 评论 复制链接分享

相关推荐