简体   繁体   中英

ImportError: No module named lxml.etree ( windows )

After creating a binary with pyInstaller and executing it, i receive the following error:

ImportError: No module named lxml.etree

i have downloaded and installd the lxml binary ( lxml-3.0.1.win32-py2.7.‌exe ) from lfd.uce.edu for Python 2.7 , but i still have the error .

This error only occurs with the binary. if i execute the .py file it runs well.

Thanks in advance.

I tried installing it and it workes fine. Is it possible that you accidentally installed the lxml in the wrong python interpreter directory? Do you have several python interpreters installed?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM