python - Cx_freeze with lxml.html TypeError -


import lxml.html 

gives me error when want compile cx_freeze:

   traceback (most recent call last):   file "c:\python27\scripts\cxfreeze", line 5, in <module>     main()   file "c:\python27\lib\site-packages\cx_freeze\main.py", line 188, in main     freezer.freeze()   file "c:\python27\lib\site-packages\cx_freeze\freezer.py", line 572, in freeze     self._freezeexecutable(executable)   file "c:\python27\lib\site-packages\cx_freeze\freezer.py", line 186, in _freezeexecutable     exe.copydependentfiles, scriptmodule)   file "c:\python27\lib\site-packages\cx_freeze\freezer.py", line 554, in _writemodules     path = os.pathsep.join([origpath] + module.parent.path) typeerror: can concatenate list (not "nonetype") list 

when delete import ok, need use lxml.html not importing solves nothing :(

the error getting indicates module.parent.path returning nonetype. need make sure lxml in pythonpath.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -