Skip to content
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

Model parsing can fail on some OSX instances unless lxml package installed #56

Open
sclamons opened this issue Aug 13, 2020 · 0 comments

Comments

@sclamons
Copy link
Collaborator

BeautifulSoup, which is used by Bioscrape's model parser, requires a tree parser to work. It can use Python's default HTML parser, but some OSX installations use an old enough core Python that BeautifulSoup refuses to use it, resulting in an error where BeautifulSoup claims it can't find a TreeParser. This can be fixed manually by installing the "lxml" package (pip install lxml).

Minimal fix -- document this problem in installation notes.

More complete fix -- make sure there's a compatible tree parser during installation, and if there isn't, install one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant