sacdallago / bio_embeddings

Get protein embeddings from protein sequences
http://docs.bioembeddings.com
MIT License
462 stars 65 forks source link

Package dependency error. #205

Open DimitrisAlivas opened 2 years ago

DimitrisAlivas commented 2 years ago

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 the pip 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)

Successfully built bio-embeddings
ERROR: tensorboard 2.10.0 has requirement protobuf<3.20,>=3.9.2, but you'll have protobuf 3.20.1 which is incompatible.
ERROR: flask 2.2.2 has requirement Werkzeug>=2.2.2, but you'll have werkzeug 2.0.3 which is incompatible.

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!

franciscozorrilla commented 1 year 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.

``` $ conda create -n bioembed Collecting package metadata (current_repodata.json): done Solving environment: done ==> WARNING: A newer version of conda exists. <== current version: 4.7.12 latest version: 23.1.0 Please update conda by running $ conda update -n base -c defaults conda ## Package Plan ## environment location: /home/fz274/.conda/envs/bioembed Proceed ([y]/n)? y Preparing transaction: done Verifying transaction: done Executing transaction: done # # To activate this environment, use # # $ conda activate bioembed # # To deactivate an active environment, use # # $ conda deactivate $ source activate bioembed $ pip install bio-embeddings[all] --user^C $ pip install --user bio-embeddings[all] Collecting bio-embeddings[all] Downloading bio_embeddings-0.2.2-py3-none-any.whl (105 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 105.4/105.4 KB 789.8 kB/s eta 0:00:00 Collecting tqdm<5.0.0,>=4.45.0 Using cached tqdm-4.64.1-py2.py3-none-any.whl (78 kB) Collecting lock<2019.0.0,>=2018.3.25 Downloading lock-2018.3.25.2110.tar.gz (3.0 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: pandas<2.0.0,>=1.2.0 in /home/fz274/.local/lib/python3.7/site-packages (from bio-embeddings[all]) (1.3.5) Collecting atomicwrites<2.0.0,>=1.4.0 Downloading atomicwrites-1.4.1.tar.gz (14 kB) Preparing metadata (setup.py) ... done Collecting biopython<2.0,>=1.79 Downloading biopython-1.80-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 16.9 MB/s eta 0:00:00 Requirement already satisfied: matplotlib<4.0.0,>=3.2.1 in /home/fz274/.local/lib/python3.7/site-packages (from bio-embeddings[all]) (3.2.1) Requirement already satisfied: scipy<2.0.0,>=1.4.1 in /home/fz274/.local/lib/python3.7/site-packages (from bio-embeddings[all]) (1.6.3) Requirement already satisfied: h5py<4.0.0,>=3.2.1 in /home/fz274/.local/lib/python3.7/site-packages (from bio-embeddings[all]) (3.7.0) Collecting torch<=1.10.0,>=1.8.0 Downloading torch-1.10.0-cp37-cp37m-manylinux1_x86_64.whl (881.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 881.9/881.9 MB 1.0 MB/s eta 0:00:00 Collecting python-slugify<6.0.0,>=5.0.2 Downloading python_slugify-5.0.2-py2.py3-none-any.whl (6.7 kB) Collecting humanize<4.0.0,>=3.2.0 Downloading humanize-3.14.0-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.4/98.4 KB 758.9 kB/s eta 0:00:00 Collecting scikit-learn<0.25.0,>=0.24.0 Using cached scikit_learn-0.24.2-cp37-cp37m-manylinux2010_x86_64.whl (22.3 MB) Requirement already satisfied: numpy<2.0.0,>=1.18.3 in /home/fz274/.local/lib/python3.7/site-packages (from bio-embeddings[all]) (1.21.6) Collecting importlib_metadata<5.0.0,>=4.6.1 Downloading importlib_metadata-4.13.0-py3-none-any.whl (23 kB) Collecting plotly<6.0.0,>=5.1.0 Downloading plotly-5.13.0-py2.py3-none-any.whl (15.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.2/15.2 MB 29.0 MB/s eta 0:00:00 Requirement already satisfied: appdirs<2.0.0,>=1.4.4 in /home/fz274/.local/lib/python3.7/site-packages (from bio-embeddings[all]) (1.4.4) Collecting umap-learn<0.6.0,>=0.5.1 Downloading umap-learn-0.5.3.tar.gz (88 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.2/88.2 KB 684.0 kB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting gensim<4.0.0,>=3.8.2 Downloading gensim-3.8.3-cp37-cp37m-manylinux1_x86_64.whl (24.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.2/24.2 MB 23.5 MB/s eta 0:00:00 Collecting ruamel.yaml<0.18.0,>=0.17.10 Using cached ruamel.yaml-0.17.21-py3-none-any.whl (109 kB) Collecting fair-esm==0.4.0 Downloading fair_esm-0.4.0-py3-none-any.whl (37 kB) Collecting jax-unirep<2.0.0,>=1.0.0 Downloading jax_unirep-1.0.3-py3-none-any.whl (67.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.7/67.7 MB 3.0 MB/s eta 0:00:00 Collecting bio-embeddings-tape-proteins==0.5 Downloading bio_embeddings_tape_proteins-0.5-py3-none-any.whl (69 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 69.2/69.2 KB 518.2 kB/s eta 0:00:00 Collecting bio-embeddings-bepler==0.0.1 Downloading bio_embeddings_bepler-0.0.1.tar.gz (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.7/140.7 KB 1.1 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting bio-embeddings-plus==0.1.1 Downloading bio_embeddings_PLUS-0.1.1-py3-none-any.whl (43 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.1/43.1 KB 282.5 kB/s eta 0:00:00 Collecting bio-embeddings-cpcprot==0.0.1 Downloading bio_embeddings_CPCProt-0.0.1-py3-none-any.whl (29 kB) Collecting transformers<5.0.0,>=4.5.0 Downloading transformers-4.26.0-py3-none-any.whl (6.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.3/6.3 MB 28.3 MB/s eta 0:00:00 Collecting bio-embeddings-deepblast==0.1.0 Downloading bio_embeddings_deepblast-0.1.0-py3-none-any.whl (47.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.3/47.3 MB 2.6 MB/s eta 0:00:00 Collecting bio-embeddings-allennlp==0.9.2 Downloading bio_embeddings_allennlp-0.9.2-py3-none-any.whl (7.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.6/7.6 MB 3.6 MB/s eta 0:00:00 Collecting ftfy Downloading ftfy-6.1.1-py3-none-any.whl (53 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.1/53.1 KB 382.8 kB/s eta 0:00:00 Collecting pytorch-transformers==1.1.0 Downloading pytorch_transformers-1.1.0-py3-none-any.whl (158 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 158.1/158.1 KB 1.3 MB/s eta 0:00:00 Requirement already satisfied: pytz>=2017.3 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (2019.3) Collecting flask-cors>=3.0.7 Downloading Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB) Collecting tensorboardX>=1.2 Downloading tensorboardX-2.5.1-py2.py3-none-any.whl (125 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.4/125.4 KB 1.0 MB/s eta 0:00:00 Requirement already satisfied: gevent>=1.3.6 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.4.0) Requirement already satisfied: numpydoc>=0.8.0 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (0.9.1) Collecting overrides<5,>=4 Downloading overrides-4.1.2-py3-none-any.whl (11 kB) Collecting parsimonious>=0.8.0 Downloading parsimonious-0.10.0-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.4/48.4 KB 336.9 kB/s eta 0:00:00 Requirement already satisfied: flask>=1.0.2 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.1.1) Collecting editdistance Downloading editdistance-0.6.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (282 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 282.6/282.6 KB 2.3 MB/s eta 0:00:00 Collecting spacy<3.0,>=2.1.0 Downloading spacy-2.3.9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 25.8 MB/s eta 0:00:00 Requirement already satisfied: nltk in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (3.4.5) Collecting responses>=0.7 Downloading responses-0.22.0-py3-none-any.whl (51 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.1/51.1 KB 352.6 kB/s eta 0:00:00 Collecting pytorch-pretrained-bert>=0.6.0 Downloading pytorch_pretrained_bert-0.6.2-py3-none-any.whl (123 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.8/123.8 KB 990.2 kB/s eta 0:00:00 Requirement already satisfied: pytest in /home/fz274/.local/lib/python3.7/site-packages (from bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (4.6.11) Requirement already satisfied: requests>=2.18 in /home/fz274/.local/lib/python3.7/site-packages (from bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (2.28.1) Collecting sqlparse>=0.2.4 Downloading sqlparse-0.4.3-py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.8/42.8 KB 282.9 kB/s eta 0:00:00 Collecting conllu==4.4 Downloading conllu-4.4-py2.py3-none-any.whl (15 kB) Collecting unidecode Downloading Unidecode-1.3.6-py3-none-any.whl (235 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 235.9/235.9 KB 1.9 MB/s eta 0:00:00 Collecting jsonpickle Downloading jsonpickle-3.0.1-py2.py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.5/40.5 KB 273.5 kB/s eta 0:00:00 Collecting flaky Downloading flaky-3.7.0-py2.py3-none-any.whl (22 kB) Requirement already satisfied: boto3 in /home/fz274/.local/lib/python3.7/site-packages (from bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.16.57) Collecting word2number>=1.1 Downloading word2number-1.1.zip (9.7 kB) Preparing metadata (setup.py) ... done Collecting jsonnet>=0.10.0 Downloading jsonnet-0.19.1.tar.gz (593 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 593.6/593.6 KB 4.6 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting lmdb<2.0,>=1.0 Downloading lmdb-1.4.0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (299 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 299.1/299.1 KB 2.5 MB/s eta 0:00:00 Requirement already satisfied: numba in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from bio-embeddings-deepblast==0.1.0->bio-embeddings[all]) (0.45.1) Collecting pytorch-lightning>=0.8.1 Downloading pytorch_lightning-1.9.0-py3-none-any.whl (825 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 825.8/825.8 KB 6.4 MB/s eta 0:00:00 Requirement already satisfied: pillow in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from bio-embeddings-deepblast==0.1.0->bio-embeddings[all]) (6.2.0) Requirement already satisfied: filelock in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from bio-embeddings-tape-proteins==0.5->bio-embeddings[all]) (3.0.12) Collecting torch<=1.10.0,>=1.8.0 Downloading torch-1.9.1-cp37-cp37m-manylinux1_x86_64.whl (831.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 831.4/831.4 MB 1.1 MB/s eta 0:00:00 Collecting regex Downloading regex-2022.10.31-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (757 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 757.1/757.1 KB 5.9 MB/s eta 0:00:00 Collecting sentencepiece Downloading sentencepiece-0.1.97-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 9.4 MB/s eta 0:00:00 Requirement already satisfied: smart-open>=1.8.1 in /home/fz274/.local/lib/python3.7/site-packages (from gensim<4.0.0,>=3.8.2->bio-embeddings[all]) (4.2.0) Requirement already satisfied: six>=1.5.0 in /home/fz274/.local/lib/python3.7/site-packages (from gensim<4.0.0,>=3.8.2->bio-embeddings[all]) (1.16.0) Requirement already satisfied: typing-extensions>=3.6.4 in /home/fz274/.local/lib/python3.7/site-packages (from importlib_metadata<5.0.0,>=4.6.1->bio-embeddings[all]) (3.7.4.3) Requirement already satisfied: zipp>=0.5 in /home/fz274/.local/lib/python3.7/site-packages (from importlib_metadata<5.0.0,>=4.6.1->bio-embeddings[all]) (3.10.0) Collecting jaxlib Downloading jaxlib-0.3.25-cp37-cp37m-manylinux2014_x86_64.whl (71.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.2/71.2 MB 9.3 MB/s eta 0:00:00 Requirement already satisfied: multipledispatch in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from jax-unirep<2.0.0,>=1.0.0->bio-embeddings[all]) (0.6.0) Collecting jax<0.2.0 Downloading jax-0.1.77.tar.gz (448 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 448.2/448.2 KB 3.3 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting optuna Downloading optuna-3.1.0-py3-none-any.whl (365 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 365.3/365.3 KB 2.9 MB/s eta 0:00:00 Requirement already satisfied: cycler>=0.10 in /home/fz274/.local/lib/python3.7/site-packages (from matplotlib<4.0.0,>=3.2.1->bio-embeddings[all]) (0.11.0) Requirement already satisfied: python-dateutil>=2.1 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from matplotlib<4.0.0,>=3.2.1->bio-embeddings[all]) (2.8.0) Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /home/fz274/.local/lib/python3.7/site-packages (from matplotlib<4.0.0,>=3.2.1->bio-embeddings[all]) (3.0.9) Requirement already satisfied: kiwisolver>=1.0.1 in /home/fz274/.local/lib/python3.7/site-packages (from matplotlib<4.0.0,>=3.2.1->bio-embeddings[all]) (1.4.4) Collecting tenacity>=6.2.0 Downloading tenacity-8.2.0-py3-none-any.whl (24 kB) Requirement already satisfied: text-unidecode>=1.3 in /home/fz274/.local/lib/python3.7/site-packages (from python-slugify<6.0.0,>=5.0.2->bio-embeddings[all]) (1.3) Requirement already satisfied: ruamel.yaml.clib>=0.2.6 in /home/fz274/.local/lib/python3.7/site-packages (from ruamel.yaml<0.18.0,>=0.17.10->bio-embeddings[all]) (0.2.6) Requirement already satisfied: joblib>=0.11 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from scikit-learn<0.25.0,>=0.24.0->bio-embeddings[all]) (0.13.2) Requirement already satisfied: threadpoolctl>=2.0.0 in /home/fz274/.local/lib/python3.7/site-packages (from scikit-learn<0.25.0,>=0.24.0->bio-embeddings[all]) (2.1.0) Collecting huggingface-hub<1.0,>=0.11.0 Downloading huggingface_hub-0.12.0-py3-none-any.whl (190 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 190.3/190.3 KB 1.4 MB/s eta 0:00:00 Collecting tokenizers!=0.11.3,<0.14,>=0.11.1 Downloading tokenizers-0.13.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.6/7.6 MB 25.4 MB/s eta 0:00:00 Requirement already satisfied: pyyaml>=5.1 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from transformers<5.0.0,>=4.5.0->bio-embeddings[all]) (5.1.2) Requirement already satisfied: packaging>=20.0 in /home/fz274/.local/lib/python3.7/site-packages (from transformers<5.0.0,>=4.5.0->bio-embeddings[all]) (21.3) Collecting numba Downloading numba-0.56.4-cp37-cp37m-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (3.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.5/3.5 MB 20.7 MB/s eta 0:00:00 Collecting pynndescent>=0.5 Downloading pynndescent-0.5.8.tar.gz (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 8.5 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Requirement already satisfied: Jinja2>=2.10.1 in /home/fz274/.local/lib/python3.7/site-packages (from flask>=1.0.2->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (2.11.1) Requirement already satisfied: Werkzeug>=0.15 in /home/fz274/.local/lib/python3.7/site-packages (from flask>=1.0.2->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (2.2.2) Requirement already satisfied: click>=5.1 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from flask>=1.0.2->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (7.0) Requirement already satisfied: itsdangerous>=0.24 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from flask>=1.0.2->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.1.0) Requirement already satisfied: greenlet>=0.4.14 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from gevent>=1.3.6->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (0.4.15) Requirement already satisfied: absl-py in /home/fz274/.local/lib/python3.7/site-packages (from jax<0.2.0->jax-unirep<2.0.0,>=1.0.0->bio-embeddings[all]) (1.3.0) Requirement already satisfied: opt_einsum in /home/fz274/.local/lib/python3.7/site-packages (from jax<0.2.0->jax-unirep<2.0.0,>=1.0.0->bio-embeddings[all]) (3.3.0) Requirement already satisfied: setuptools in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from numba->bio-embeddings-deepblast==0.1.0->bio-embeddings[all]) (41.4.0) Collecting llvmlite<0.40,>=0.39.0dev0 Downloading llvmlite-0.39.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (34.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.6/34.6 MB 18.0 MB/s eta 0:00:00 Requirement already satisfied: sphinx>=1.6.5 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (2.2.0) Collecting typing-utils>=0.0.3 Downloading typing_utils-0.1.0-py3-none-any.whl (10 kB) Collecting torchmetrics>=0.7.0 Downloading torchmetrics-0.11.1-py3-none-any.whl (517 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 517.2/517.2 KB 4.1 MB/s eta 0:00:00 Collecting pyyaml>=5.1 Downloading PyYAML-6.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (596 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 596.3/596.3 KB 4.9 MB/s eta 0:00:00 Collecting typing-extensions>=3.6.4 Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB) Collecting pytorch-lightning>=0.8.1 Downloading pytorch_lightning-1.8.6-py3-none-any.whl (800 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 800.3/800.3 KB 6.2 MB/s eta 0:00:00 Collecting lightning-utilities!=0.4.0,>=0.3.0 Downloading lightning_utilities-0.6.0.post0-py3-none-any.whl (18 kB) Collecting fsspec[http]>2021.06.0 Downloading fsspec-2023.1.0-py3-none-any.whl (143 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.0/143.0 KB 1.1 MB/s eta 0:00:00 Requirement already satisfied: idna<4,>=2.5 in /home/fz274/.local/lib/python3.7/site-packages (from requests>=2.18->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (3.4) Requirement already satisfied: certifi>=2017.4.17 in /home/fz274/.local/lib/python3.7/site-packages (from requests>=2.18->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (2022.9.24) Requirement already satisfied: charset-normalizer<3,>=2 in /home/fz274/.local/lib/python3.7/site-packages (from requests>=2.18->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (2.1.1) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /home/fz274/.local/lib/python3.7/site-packages (from requests>=2.18->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.26.12) Collecting types-toml Downloading types_toml-0.10.8.3-py3-none-any.whl (4.5 kB) Collecting toml Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting murmurhash<1.1.0,>=0.28.0 Downloading murmurhash-1.0.9-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (21 kB) Collecting wasabi<1.1.0,>=0.4.0 Downloading wasabi-0.10.1-py3-none-any.whl (26 kB) Collecting srsly<1.1.0,>=1.0.2 Downloading srsly-1.0.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (208 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 208.6/208.6 KB 1.7 MB/s eta 0:00:00 Collecting blis<0.8.0,>=0.4.0 Downloading blis-0.7.9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (10.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.2/10.2 MB 36.8 MB/s eta 0:00:00 Collecting cymem<2.1.0,>=2.0.2 Downloading cymem-2.0.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (36 kB) Collecting thinc<7.5.0,>=7.4.1 Downloading thinc-7.4.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 5.9 MB/s eta 0:00:00 Collecting catalogue<1.1.0,>=0.0.7 Downloading catalogue-1.0.2-py2.py3-none-any.whl (16 kB) Collecting preshed<3.1.0,>=3.0.2 Downloading preshed-3.0.8-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (126 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 126.6/126.6 KB 1.0 MB/s eta 0:00:00 Collecting plac<1.2.0,>=0.9.6 Downloading plac-1.1.3-py2.py3-none-any.whl (20 kB) Requirement already satisfied: protobuf<=3.20.1,>=3.8.0 in /home/fz274/.local/lib/python3.7/site-packages (from tensorboardX>=1.2->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (3.19.6) Requirement already satisfied: s3transfer<0.4.0,>=0.3.0 in /home/fz274/.local/lib/python3.7/site-packages (from boto3->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (0.3.4) Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /home/fz274/.local/lib/python3.7/site-packages (from boto3->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (0.10.0) Requirement already satisfied: botocore<1.20.0,>=1.19.57 in /home/fz274/.local/lib/python3.7/site-packages (from boto3->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.19.57) Collecting wcwidth>=0.2.5 Downloading wcwidth-0.2.6-py2.py3-none-any.whl (29 kB) Collecting cmaes>=0.9.1 Downloading cmaes-0.9.1-py3-none-any.whl (21 kB) Requirement already satisfied: sqlalchemy>=1.3.0 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from optuna->jax-unirep<2.0.0,>=1.0.0->bio-embeddings[all]) (1.3.9) Collecting alembic>=1.5.0 Downloading alembic-1.9.3.tar.gz (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 8.6 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing metadata (pyproject.toml) ... done Collecting colorlog Downloading colorlog-6.7.0-py2.py3-none-any.whl (11 kB) Requirement already satisfied: attrs>=17.4.0 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from pytest->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (19.2.0) Requirement already satisfied: py>=1.5.0 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from pytest->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.8.0) Requirement already satisfied: pluggy<1.0,>=0.12 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from pytest->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (0.13.0) Requirement already satisfied: more-itertools>=4.0.0 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from pytest->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (7.2.0) Requirement already satisfied: importlib-resources in /home/fz274/.local/lib/python3.7/site-packages (from alembic>=1.5.0->optuna->jax-unirep<2.0.0,>=1.0.0->bio-embeddings[all]) (5.1.0) Collecting Mako Downloading Mako-1.2.4-py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 KB 563.1 kB/s eta 0:00:00 Collecting aiohttp!=4.0.0a0,!=4.0.0a1 Downloading aiohttp-3.8.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (948 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 948.0/948.0 KB 7.3 MB/s eta 0:00:00 Requirement already satisfied: MarkupSafe>=0.23 in /home/fz274/.local/lib/python3.7/site-packages (from Jinja2>=2.10.1->flask>=1.0.2->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (2.1.1) Requirement already satisfied: babel!=2.0,>=1.3 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (2.7.0) Requirement already satisfied: sphinxcontrib-jsmath in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.0.1) Requirement already satisfied: sphinxcontrib-htmlhelp in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.0.2) Requirement already satisfied: sphinxcontrib-serializinghtml in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.1.3) Requirement already satisfied: Pygments>=2.0 in /home/fz274/.local/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (2.7.4) Requirement already satisfied: sphinxcontrib-applehelp in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.0.1) Requirement already satisfied: alabaster<0.8,>=0.7 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (0.7.9) Requirement already satisfied: imagesize in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.1.0) Requirement already satisfied: sphinxcontrib-devhelp in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.0.1) Requirement already satisfied: snowballstemmer>=1.1 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (2.0.0) Requirement already satisfied: docutils>=0.12 in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (0.15.2) Requirement already satisfied: sphinxcontrib-qthelp in /usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages (from sphinx>=1.6.5->numpydoc>=0.8.0->bio-embeddings-allennlp==0.9.2->bio-embeddings[all]) (1.0.2) Collecting multidict<7.0,>=4.5 Downloading multidict-6.0.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (94 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 94.8/94.8 KB 758.1 kB/s eta 0:00:00 Collecting frozenlist>=1.1.1 Downloading frozenlist-1.3.3-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (148 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.0/148.0 KB 1.1 MB/s eta 0:00:00 Collecting async-timeout<5.0,>=4.0.0a3 Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting asynctest==0.13.0 Downloading asynctest-0.13.0-py3-none-any.whl (26 kB) Collecting aiosignal>=1.1.2 Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB) Collecting yarl<2.0,>=1.0 Downloading yarl-1.8.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (231 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 231.4/231.4 KB 1.9 MB/s eta 0:00:00 Building wheels for collected packages: bio-embeddings-bepler, atomicwrites, lock, umap-learn, jax, jsonnet, pynndescent, word2number, alembic Building wheel for bio-embeddings-bepler (pyproject.toml) ... done Created wheel for bio-embeddings-bepler: filename=bio_embeddings_bepler-0.0.1-cp37-cp37m-linux_x86_64.whl size=401794 sha256=22fea4d26ff0ddaebc9fc5f645b8847e742acb850556c187f41bdd4f5a3f601b Stored in directory: /home/fz274/.cache/pip/wheels/3a/08/6f/2e83cb2d81e8832b1764f975dac8d1b7455c47f3f8e550924d Building wheel for atomicwrites (setup.py) ... done Created wheel for atomicwrites: filename=atomicwrites-1.4.1-py2.py3-none-any.whl size=6944 sha256=144add36b152971a24430b0711f755e8508ce588d2feefd4d2b74e962f289be0 Stored in directory: /home/fz274/.cache/pip/wheels/0d/a9/a0/39edfadae620db443c05b5df0f6d5caad7411cf86b821790a6 Building wheel for lock (setup.py) ... done Created wheel for lock: filename=lock-2018.3.25.2110-py3-none-any.whl size=3319 sha256=c5b2a0821bb22e6cff130650e5637ab7b275aa0d492a3e4112f9ec5ce98025d1 Stored in directory: /home/fz274/.cache/pip/wheels/80/70/80/f2d0dbe94130ae6eee956436fb20d3920649588cc39c892206 Building wheel for umap-learn (setup.py) ... done Created wheel for umap-learn: filename=umap_learn-0.5.3-py3-none-any.whl size=82819 sha256=6aadb26cdff9b58b9245a08e669458f7a32b8f7ec730b6cdf9c773925a5588ca Stored in directory: /home/fz274/.cache/pip/wheels/b3/52/a5/1fd9e3e76a7ab34f134c07469cd6f16e27ef3a37aeff1fe821 Building wheel for jax (setup.py) ... done Created wheel for jax: filename=jax-0.1.77-py3-none-any.whl size=516860 sha256=e31550c9f59bae6937879e4e7b86b44277acc85c2b813a390e3d17cc18c9c45b Stored in directory: /home/fz274/.cache/pip/wheels/56/fa/4f/671e1f56d75e31d33a657975b8aee268877c74bbb99fcdd3a7 Building wheel for jsonnet (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [107 lines of output] running bdist_wheel running build running build_ext g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/desugarer.cpp -o core/desugarer.o g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/formatter.cpp -o core/formatter.o g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/libjsonnet.cpp -o core/libjsonnet.o g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/lexer.cpp -o core/lexer.o g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/parser.cpp -o core/parser.o g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/pass.cpp -o core/pass.o g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/static_analysis.cpp -o core/static_analysis.o g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/string_utils.cpp -o core/string_utils.o g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/vm.cpp -o core/vm.o In file included from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/config.hpp:35:0, from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/substr.hpp:10, from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/std/string.hpp:6, from third_party/rapidyaml/rapidyaml/src/c4/yml/std/string.hpp:7, from third_party/rapidyaml/rapidyaml/src/./c4/yml/std/std.hpp:4, from third_party/rapidyaml/rapidyaml/src/ryml_std.hpp:4, from core/vm.cpp:29: third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/compiler.hpp:90:13: error: #error "GCC < 5 is not supported" # error "GCC < 5 is not supported" ^ In file included from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/config.hpp:37:0, from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/substr.hpp:10, from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/std/string.hpp:6, from third_party/rapidyaml/rapidyaml/src/c4/yml/std/string.hpp:7, from third_party/rapidyaml/rapidyaml/src/./c4/yml/std/std.hpp:4, from third_party/rapidyaml/rapidyaml/src/ryml_std.hpp:4, from core/vm.cpp:29: third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:19: error: ‘is_trivially_copyable’ is not a member of ‘std’ static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable") ^ third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:269:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’ C4_MUST_BE_TRIVIAL_COPY(NodeScalar); ^ third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:48: error: expected primary-expression before ‘>’ token static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable") ^ third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:269:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’ C4_MUST_BE_TRIVIAL_COPY(NodeScalar); ^ third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:49: error: ‘::value’ has not been declared static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable") ^ third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:269:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’ C4_MUST_BE_TRIVIAL_COPY(NodeScalar); ^ third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:19: error: ‘is_trivially_copyable’ is not a member of ‘std’ static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable") ^ third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:404:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’ C4_MUST_BE_TRIVIAL_COPY(NodeData); ^ third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:48: error: expected primary-expression before ‘>’ token static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable") ^ third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:404:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’ C4_MUST_BE_TRIVIAL_COPY(NodeData); ^ third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:49: error: ‘::value’ has not been declared static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable") ^ third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:404:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’ C4_MUST_BE_TRIVIAL_COPY(NodeData); ^ In file included from third_party/rapidyaml/rapidyaml/src/./c4/yml/./parse.hpp:13:0, from third_party/rapidyaml/rapidyaml/src/./c4/yml/yml.hpp:7, from third_party/rapidyaml/rapidyaml/src/ryml.hpp:4, from core/vm.cpp:30: third_party/rapidyaml/rapidyaml/src/c4/yml/detail/stack.hpp:22:19: error: ‘is_trivially_copyable’ is not a member of ‘std’ static_assert(std::is_trivially_copyable::value, "T must be trivially copyable"); ^ third_party/rapidyaml/rapidyaml/src/c4/yml/detail/stack.hpp:22:47: error: expected primary-expression before ‘>’ token static_assert(std::is_trivially_copyable::value, "T must be trivially copyable"); ^ third_party/rapidyaml/rapidyaml/src/c4/yml/detail/stack.hpp:22:48: error: ‘::value’ has not been declared static_assert(std::is_trivially_copyable::value, "T must be trivially copyable"); ^ make: *** [core/vm.o] Error 1 Traceback (most recent call last): File "", line 36, in File "", line 34, in File "/tmp/pip-install-l013a6kh/jsonnet_05895022adeb43d6b170339e4df4edc1/setup.py", line 93, in test_suite="python._jsonnet_test", File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 192, in run self.run_command('build') File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/tmp/pip-install-l013a6kh/jsonnet_05895022adeb43d6b170339e4df4edc1/setup.py", line 68, in run raise Exception('Could not build %s' % (', '.join(LIB_OBJECTS))) Exception: Could not build core/desugarer.o, core/formatter.o, core/libjsonnet.o, core/lexer.o, core/parser.o, core/pass.o, core/static_analysis.o, core/string_utils.o, core/vm.o, third_party/md5/md5.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/char_traits.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/base64.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/language.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_util.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/format.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/time.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_resource.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/error.o, third_party/rapidyaml/rapidyaml/src/c4/yml/parse.o, third_party/rapidyaml/rapidyaml/src/c4/yml/preprocess.o, third_party/rapidyaml/rapidyaml/src/c4/yml/common.o, third_party/rapidyaml/rapidyaml/src/c4/yml/tree.o [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for jsonnet Running setup.py clean for jsonnet Building wheel for pynndescent (setup.py) ... done Created wheel for pynndescent: filename=pynndescent-0.5.8-py3-none-any.whl size=55497 sha256=db4fdbf6634a4cf2e062e2f626c5668ad0329901c5bd2f6ae0cbbc39957d0031 Stored in directory: /home/fz274/.cache/pip/wheels/19/bc/eb/974072a56a7082a302f8b4be1ad6d21bf5019235c2eff65928 Building wheel for word2number (setup.py) ... done Created wheel for word2number: filename=word2number-1.1-py3-none-any.whl size=5588 sha256=b13c22c14214102d247e760df05e2485107d25b5532eb14f06711b52dae37c13 Stored in directory: /home/fz274/.cache/pip/wheels/4b/c3/77/a5f48aeb0d3efb7cd5ad61cbd3da30bbf9ffc9662b07c9f879 Building wheel for alembic (pyproject.toml) ... done Created wheel for alembic: filename=alembic-1.9.3-py3-none-any.whl size=210560 sha256=a07d113b3a10290f9c5567d7a3845fb96f987d081b676c0c878016600dbdb876 Stored in directory: /home/fz274/.cache/pip/wheels/1a/67/b5/a773bac3094b869c04483a1e203db696d29084fd75a85d16a6 Successfully built bio-embeddings-bepler atomicwrites lock umap-learn jax pynndescent word2number alembic Failed to build jsonnet Installing collected packages: word2number, wcwidth, wasabi, types-toml, tokenizers, sentencepiece, plac, lock, lmdb, jsonnet, fair-esm, cymem, conllu, bio-embeddings-bepler, unidecode, typing-utils, typing-extensions, tqdm, toml, tensorboardX, tenacity, srsly, sqlparse, ruamel.yaml, regex, pyyaml, python-slugify, murmurhash, multidict, llvmlite, ftfy, fsspec, frozenlist, flaky, editdistance, colorlog, cmaes, blis, biopython, atomicwrites, asynctest, yarl, torch, scikit-learn, responses, preshed, plotly, parsimonious, overrides, jaxlib, jax, importlib_metadata, gensim, catalogue, async-timeout, aiosignal, torchmetrics, thinc, numba, Mako, lightning-utilities, jsonpickle, humanize, huggingface-hub, flask-cors, bio-embeddings-plus, aiohttp, transformers, spacy, pynndescent, alembic, umap-learn, pytorch-transformers, pytorch-pretrained-bert, pytorch-lightning, optuna, bio-embeddings-tape-proteins, jax-unirep, bio-embeddings-deepblast, bio-embeddings-cpcprot, bio-embeddings-allennlp, bio-embeddings Running setup.py install for jsonnet ... error error: subprocess-exited-with-error × Running setup.py install for jsonnet did not run successfully. │ exit code: 1 ╰─> [109 lines of output] running install running build running build_ext make: `core/desugarer.o' is up to date. make: `core/formatter.o' is up to date. make: `core/libjsonnet.o' is up to date. make: `core/lexer.o' is up to date. make: `core/parser.o' is up to date. make: `core/pass.o' is up to date. make: `core/static_analysis.o' is up to date. make: `core/string_utils.o' is up to date. g++ -c -g -O3 -Wall -Wextra -Woverloaded-virtual -pedantic -std=c++0x -fPIC -Iinclude -Ithird_party/md5 -Ithird_party/json -Ithird_party/rapidyaml/rapidyaml/src/ -Ithird_party/rapidyaml/rapidyaml/ext/c4core/src/ core/vm.cpp -o core/vm.o In file included from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/config.hpp:35:0, from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/substr.hpp:10, from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/std/string.hpp:6, from third_party/rapidyaml/rapidyaml/src/c4/yml/std/string.hpp:7, from third_party/rapidyaml/rapidyaml/src/./c4/yml/std/std.hpp:4, from third_party/rapidyaml/rapidyaml/src/ryml_std.hpp:4, from core/vm.cpp:29: third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/compiler.hpp:90:13: error: #error "GCC < 5 is not supported" # error "GCC < 5 is not supported" ^ In file included from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/config.hpp:37:0, from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/substr.hpp:10, from third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/std/string.hpp:6, from third_party/rapidyaml/rapidyaml/src/c4/yml/std/string.hpp:7, from third_party/rapidyaml/rapidyaml/src/./c4/yml/std/std.hpp:4, from third_party/rapidyaml/rapidyaml/src/ryml_std.hpp:4, from core/vm.cpp:29: third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:19: error: ‘is_trivially_copyable’ is not a member of ‘std’ static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable") ^ third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:269:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’ C4_MUST_BE_TRIVIAL_COPY(NodeScalar); ^ third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:48: error: expected primary-expression before ‘>’ token static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable") ^ third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:269:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’ C4_MUST_BE_TRIVIAL_COPY(NodeScalar); ^ third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:49: error: ‘::value’ has not been declared static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable") ^ third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:269:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’ C4_MUST_BE_TRIVIAL_COPY(NodeScalar); ^ third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:19: error: ‘is_trivially_copyable’ is not a member of ‘std’ static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable") ^ third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:404:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’ C4_MUST_BE_TRIVIAL_COPY(NodeData); ^ third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:48: error: expected primary-expression before ‘>’ token static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable") ^ third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:404:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’ C4_MUST_BE_TRIVIAL_COPY(NodeData); ^ third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/types.hpp:221:49: error: ‘::value’ has not been declared static_assert(std::is_trivially_copyable::value, #ty " must be trivially copyable") ^ third_party/rapidyaml/rapidyaml/src/c4/yml/tree.hpp:404:1: note: in expansion of macro ‘C4_MUST_BE_TRIVIAL_COPY’ C4_MUST_BE_TRIVIAL_COPY(NodeData); ^ In file included from third_party/rapidyaml/rapidyaml/src/./c4/yml/./parse.hpp:13:0, from third_party/rapidyaml/rapidyaml/src/./c4/yml/yml.hpp:7, from third_party/rapidyaml/rapidyaml/src/ryml.hpp:4, from core/vm.cpp:30: third_party/rapidyaml/rapidyaml/src/c4/yml/detail/stack.hpp:22:19: error: ‘is_trivially_copyable’ is not a member of ‘std’ static_assert(std::is_trivially_copyable::value, "T must be trivially copyable"); ^ third_party/rapidyaml/rapidyaml/src/c4/yml/detail/stack.hpp:22:47: error: expected primary-expression before ‘>’ token static_assert(std::is_trivially_copyable::value, "T must be trivially copyable"); ^ third_party/rapidyaml/rapidyaml/src/c4/yml/detail/stack.hpp:22:48: error: ‘::value’ has not been declared static_assert(std::is_trivially_copyable::value, "T must be trivially copyable"); ^ make: *** [core/vm.o] Error 1 Traceback (most recent call last): File "", line 36, in File "", line 34, in File "/tmp/pip-install-l013a6kh/jsonnet_05895022adeb43d6b170339e4df4edc1/setup.py", line 93, in test_suite="python._jsonnet_test", File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/site-packages/setuptools/command/install.py", line 61, in run return orig.install.run(self) File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/command/install.py", line 545, in run self.run_command('build') File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/command/build.py", line 135, in run self.run_command(cmd_name) File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/local/software/anaconda/3.2019-10/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/tmp/pip-install-l013a6kh/jsonnet_05895022adeb43d6b170339e4df4edc1/setup.py", line 68, in run raise Exception('Could not build %s' % (', '.join(LIB_OBJECTS))) Exception: Could not build core/desugarer.o, core/formatter.o, core/libjsonnet.o, core/lexer.o, core/parser.o, core/pass.o, core/static_analysis.o, core/string_utils.o, core/vm.o, third_party/md5/md5.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/char_traits.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/base64.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/language.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_util.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/format.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/time.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/memory_resource.o, third_party/rapidyaml/rapidyaml/ext/c4core/src/c4/error.o, third_party/rapidyaml/rapidyaml/src/c4/yml/parse.o, third_party/rapidyaml/rapidyaml/src/c4/yml/preprocess.o, third_party/rapidyaml/rapidyaml/src/c4/yml/common.o, third_party/rapidyaml/rapidyaml/src/c4/yml/tree.o [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> jsonnet note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. WARNING: You are using pip version 22.0.4; however, version 23.0 is available. You should consider upgrading via the '/usr/local/software/anaconda/3.2019-10/bin/python -m pip install --upgrade pip' command. ```

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

ddofer commented 1 year ago

I can confirm the same issue, on WSL (but gbb/build failure with different packages)

Lsz-20 commented 3 months ago

The same question, cannot install well