Created
June 2, 2019 13:45
-
-
Save scalaview/29f67ac63c6e0c3b674b2b711a620f43 to your computer and use it in GitHub Desktop.
macOS 10.13.4 lxml does not build with Xcode 9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from lxml import etree | |
get error: | |
ImportError: dlopen(/etc/locale/lib/python3.6/site-packages/lxml/etree.cpython-36m-darwin.so, 2): Symbol not found: __PyErr_FormatFromCause | |
solution: | |
pip uninstall lxml | |
python3 -mvenv /tmp/lxml | |
source /tmp/lxml/bin/activate | |
pip install lxml --no-binary :all: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment