error
Traceback (most recent call last):
File “reptile.py”, line 4, in <module>
from lxml import etree
ModuleNotFoundError: No module named ‘lxml’
jiaxiaobindeMacBook-Pro:exercise jss$ No module named ‘lxml’
-bash: No: command not found
Mac OS python
Under an existing pip
$STATIC_DEPS=true pip install lxml
refer:
https://stackoverflow.com/questions/22674730/importerror-no-module-named-lxml-on-mac
Similar Posts:
- Solution to Anaconda installation scene error
- Mac: Python Install lxml Error: Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed
- How to Solve Redis Error: /bin/sh: cc: command not found
- How to Solve ModuleNotFoundError: No module named ‘pip._internal’
- How to Solve Centos Yum Error: No module named yum
- ImportError: No module named mysql
- [Solved] CondaHTTPError: HTTP 000 CONNECTION FAILED for url
- [How to Solve Error] bash: pip or scrapy: command not found
- Error in Python compilation on MAC no module named mysqldb