美文网首页
Mac终端运行python出现ImportError: No m

Mac终端运行python出现ImportError: No m

作者: 秋羊 | 来源:发表于2018-05-01 16:30 被阅读0次
    1. 安装future
    pip install future
    
    1. 如果问题仍存在,尝试在指令中使用 python3 代替 python 来运行,因为macOS默认使用自带的python 2.7。如:
    python3 /Users/yang/Documents/code/pyglossary/pyglossary.pyw --read-options=resPath=OtherResources --write-format=AppleDict mwaled.mdx mwaled.xml
    

    相关文章

      网友评论

          本文标题:Mac终端运行python出现ImportError: No m

          本文链接:https://www.haomeiwen.com/subject/uatfrftx.html