-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug/macos-arm64-and-lxml-import-error #1707
Comments
Hi @liamvdv sorry for a late response; we are tracking this and reviewing the problem. Will keep this thread updated. |
This thread hasn't been updated. Is it fixed? |
having same issue too |
After getting an Apple Silicon Mac I was finally able to reproduce this error. I believe the problem is that $ pip install lxml==4.9.2 The later versions of |
`unstructured` uses table features added in the most recent version of `python-docx`. Also update the `lxml` version constraint because `lxml>4.9.2` will not install on Apple Silicon (#1707). `python-docx` requires `lxml` although other file formats require it as well.
`unstructured` uses table features added in the most recent version of `python-docx`. Also update the `lxml` version constraint because `lxml>4.9.2` will not install on Apple Silicon (#1707). `python-docx` requires `lxml` although other file formats require it as well.
`unstructured` uses table features added in the most recent version of `python-docx`. Also update the `lxml` version constraint because `lxml>4.9.2` will not install on Apple Silicon (#1707). `python-docx` requires `lxml` although other file formats require it as well.
`unstructured` uses table features added in the most recent version of `python-docx`. Also update the `lxml` version constraint because `lxml>4.9.2` will not install on Apple Silicon (#1707). `python-docx` requires `lxml` although other file formats require it as well.
**Summary** `unstructured` will use table features added in the most recent version of `python-docx`. Also update the `lxml` version constraint because `lxml>4.9.2` will not install on Apple Silicon (#1707). `python-docx` requires `lxml` although other file formats require it as well.
Closing this issue. You can try @scanny 's suggestion from above if you run into this issue. |
Describe the bug
Cannot use unstructured on MacOS M2 Pro because
from unstructured.partition.html import partition_html
throwsTo Reproduce
on my machine throws
Expected behavior
Normal import to then parse HTML/XML files.
Screenshots
![image](https://private-user-images.githubusercontent.com/62619917/274206806-9d77808e-e24c-4e63-8403-703e8e20788e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg2NjM3NzIsIm5iZiI6MTcxODY2MzQ3MiwicGF0aCI6Ii82MjYxOTkxNy8yNzQyMDY4MDYtOWQ3NzgwOGUtZTI0Yy00ZTYzLTg0MDMtNzAzZThlMjA3ODhlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjE3VDIyMzExMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk1OTZlNzVmY2RjNjBkNzIyZDg2MTRlYzY3ODA1MTUzYzg2ZTExZjk5NTk2NjI4ZGFhNWQxZGI2ZTViYjViYmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.rGyKgW_0eH0KinrVyDWLLziHy2gyntq5Vrm0t2ouKkg)
Environment Info
Additional context
I'm on a Mac M2 Pro with macOS Version 13.4.1.
Thank you for your help.
The text was updated successfully, but these errors were encountered: