ModuleNotFoundError: No module named 'lxml'报错

Clearly has installed a library, why is it being given without this module?

This problem tangled for a long time, the Internet has no answer; I finally found a chance to open the right way

I reported this wrong reason: Suppose there are two files a.py and b.py, put b directly after I copy and paste the contents of a run to a mistake, and then run a newspaper like the following error:

Solution: same name command a; py then a new or copy and paste content b

Error Screenshot:

 

Guess you like

Origin www.cnblogs.com/sengzhao666/p/12315457.html