-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
After installing profet as per instructions I get the following traceback:
Python 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import profet
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/sxy26921/myenvs/perc/lib/python3.10/site-packages/profet/__init__.py", line 1, in <module>
from .profet import Fetcher
File "/home/sxy26921/myenvs/perc/lib/python3.10/site-packages/profet/profet.py", line 1, in <module>
from .alphafold import Alphafold_DB
File "/home/sxy26921/myenvs/perc/lib/python3.10/site-packages/profet/alphafold.py", line 9, in <module>
from requests_html import HTMLSession
File "/home/sxy26921/myenvs/perc/lib/python3.10/site-packages/requests_html.py", line 14, in <module>
from lxml.html.clean import Cleaner
File "/home/sxy26921/myenvs/perc/lib/python3.10/site-packages/lxml/html/clean.py", line 18, in <module>
raise ImportError(
ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
Install lxml[html_clean] or lxml_html_clean directly.
pip show profet shows:
Name: profet
Version: 0.0.1
Summary: Protein structure Fetcher from online databases
Home-page: https://github.com/alan-turing-institute/profet
Author: mooniean
Author-email: bcostagomes@turing.ac.uk
License: UNKNOWN
Location: /home/sxy26921/myenvs/perc/lib/python3.10/site-packages
Requires: bs4, numpy, pandas, pypdb, requests, requests-html
Required-by:
So even though lxml_html_clean is included in setup.cfg, it looks like the version on pypi is older and does not have that package. I confirmed that instalaling profet from source pip install . does not raise this error.
Pypi package needs updating.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels