ImportError: dlopen(/Users/human/.virtualenvs/ia_book_images/lib/python3.10/site-packages/lxml/, 0x0002): symbol not found in flat namespace '_htmlDefaultSAXHandler' but then when I tried to import etree I would get this error: Traceback (most recent call last):įile "/Users/human/Code/ia_book_images/viewer/book_image_downloader.py", line 4, in I then tried to install using the following command: ❯ STATIC_DEPS=true pip install lxml -no-cache-dir 13:01:46 So I used homebrew to install libxml2 and libxlt, and I force linked them both. I thought this must be because lxml is using the system's libxml2 which is probably out of date. Initially I was just pip installing, but when I tried to free up memory using Element.clear() I was getting the following error: Python(58695,0x1001b4580) malloc: *** error for object 0圆00000bc3f60: pointer being freed was not allocated So, I'm having the classic trouble install lxml.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |