Open DimitrisAlivas opened 2 years ago
Hello, just wanted to report a different dependency errors when trying to install with pip install --user bio-embeddings[all]
in a clean conda environment. It seems like other in the bioembeddings chat have also encountered this issue. I tried conda installing the problematic packages jsonnet
& preshed
but still no luck.
I also tried installing with conda conda install bio-embeddings[all]
but then I am not able to import any of the embedders, e.g. from bio_embeddings.embed import SeqVecEmbedder
results in an error.
$ python
Python 3.10.9 | packaged by conda-forge | (main, Feb 2 2023, 20:20:04) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import bio_embeddings
from bio_embeddings.embed import SeqVecEmbedder
>>> from bio_embeddings.embed import SeqVecEmbedder
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'SeqVecEmbedder' from 'bio_embeddings.embed' (/home/fz274/.conda/envs/bioembed/lib/python3.10/site-packages/bio_embeddings/embed/__init__.py)
I also tried installing in a clean env from the github repo pip install -U "bio-embeddings[all] @ git+https://github.com/sacdallago/bio_embeddings.git"
but I get a different set of errors
$ pip install --user "bio-embeddings[all] @ git+https://github.com/sacdallago/bio_embeddings.git"
Collecting bio-embeddings[all]@ git+https://github.com/sacdallago/bio_embeddings.git
Cloning https://github.com/sacdallago/bio_embeddings.git to /tmp/pip-install-7cq3takv/bio-embeddings_5bc5bd015c164f77bf75251562236a85
Running command git clone --filter=blob:none --quiet https://github.com/sacdallago/bio_embeddings.git /tmp/pip-install-7cq3takv/bio-embeddings_5bc5bd015c164f77bf75251562236a85
Resolved https://github.com/sacdallago/bio_embeddings.git to commit efb9801f0de9b9d51d19b741088763a7d2d0c3a2
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting flask-cors<4.0.0,>=3.0.10
Using cached Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)
Collecting plotly<6.0.0,>=5.8.0
Using cached plotly-5.13.0-py2.py3-none-any.whl (15.2 MB)
Collecting ruamel.yaml<0.18.0,>=0.17.10
Using cached ruamel.yaml-0.17.21-py3-none-any.whl (109 kB)
ERROR: Ignored the following versions that require a different python version: 1.4.0 Requires-Python >=3.8; 1.4.0rc0 Requires-Python >=3.8; 1.4.1 Requires-Python >=3.8; 1.4.2 Requires-Python >=3.8; 1.4.3 Requires-Python >=3.8; 1.4.4 Requires-Python >=3.8; 1.5.0 Requires-Python >=3.8; 1.5.0rc0 Requires-Python >=3.8; 1.5.1 Requires-Python >=3.8; 1.5.2 Requires-Python >=3.8; 1.5.3 Requires-Python >=3.8
ERROR: Could not find a version that satisfies the requirement pandas<2.0.0,>=1.4.2 (from bio-embeddings[all]) (from versions: 0.1, 0.2, 0.3.0, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.1, 0.9.0, 0.9.1, 0.10.0, 0.10.1, 0.11.0, 0.12.0, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.15.0, 0.15.1, 0.15.2, 0.16.0, 0.16.1, 0.16.2, 0.17.0, 0.17.1, 0.18.0, 0.18.1, 0.19.0, 0.19.1, 0.19.2, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.21.0, 0.21.1, 0.22.0, 0.23.0, 0.23.1, 0.23.2, 0.23.3, 0.23.4, 0.24.0, 0.24.1, 0.24.2, 0.25.0, 0.25.1, 0.25.2, 0.25.3, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5)
ERROR: No matching distribution found for pandas<2.0.0,>=1.4.2
Any assistance with these issues would be greatly appreciated. Thanks and best wishes, Francisco
I can confirm the same issue, on WSL (but gbb/build failure with different packages)
The same question, cannot install well
Hello bio_embeddings team,
Thank you for your amazing contribution. It is great to be able to easily use LLMs trained on bio data and perform further research.
I've used the library in the past (approx. 1 year ago) and currently I am trying to re-use it in my research.
The issue is that currently the:
pip install .
or thepip install bio-embeddings[all]
doesn't work for me, even on a completely new, clean virtual environment.When pip installing bio-embeddings[all] I'm getting the error below:
When pip installing with
pip install .
( using poetry)Manually trying to change the package versions to fit the reqs, breaks other things... Is this something you have observed?
Thank you in advance for any help!