问题
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
在已有的pip下
$STATIC_DEPS=true pip install lxml
参考资料:
https://stackoverflow.com/questions/22674730/importerror-no-module-named-lxml-on-mac