新人装odoo8.0时出现ImportError:No module named machinery怎么解决



  • Traceback (most recent call last):
      File "F:\testproject\odoo\odoo-8.0\setup.py", line 174, in <module>
        **py2exe_options()
      File "F:\testproject\odoo\odoo-8.0\setup.py", line 54, in py2exe_options
        import py2exe
      File "C:\Python27\lib\site-packages\py2exe_init_.py", line 9, in <module>
        patch_distutils()
      File "C:\Python27\lib\site-packages\py2exe\patch_distutils.py", line 68, in pa
    tch_distutils
        from . import distutils_buildexe
      File "C:\Python27\lib\site-packages\py2exe\distutils_buildexe.py", line 91, in
    <module>
        from . import runtime
      File "C:\Python27\lib\site-packages\py2exe\runtime.py", line 3, in <module>
        from .dllfinder import Scanner, pydll
      File "C:\Python27\lib\site-packages\py2exe\dllfinder.py", line 7, in <module>
        from importlib.machinery import EXTENSION_SUFFIXES
    ImportError: No module named machinery

    就是这样,过不了这个坎了



  • Traceback (most recent call last):
      File "F:\testproject\odoo\odoo-8.0\setup.py", line 174, in <module>
        **py2exe_options()
      File "F:\testproject\odoo\odoo-8.0\setup.py", line 54, in py2exe_options
        import py2exe
      File "C:\Python27\lib\site-packages\py2exe_init_.py", line 9, in <module>
        patch_distutils()
      File "C:\Python27\lib\site-packages\py2exe\patch_distutils.py", line 68, in pa
    tch_distutils
        from . import distutils_buildexe
      File "C:\Python27\lib\site-packages\py2exe\distutils_buildexe.py", line 91, in
    <module>
        from . import runtime
      File "C:\Python27\lib\site-packages\py2exe\runtime.py", line 3, in <module>
        from .dllfinder import Scanner, pydll
      File "C:\Python27\lib\site-packages\py2exe\dllfinder.py", line 7, in <module>
        from importlib.machinery import EXTENSION_SUFFIXES
    ImportError: No module named machinery

    就是这样,过不了这个坎了



  • windows 下试用 还是绿色版吧,
    我还录过 视频。
    http://shine-it.net/index.php/topic,17311.msg31051.html#msg31051


登录后回复
 

与 Odoo 中文社区 的连接断开,我们正在尝试重连,请耐心等待