Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Error creating from environment.yml #2

Closed
bhoov opened this issue Jul 30, 2021 · 2 comments
Closed

Error creating from environment.yml #2

bhoov opened this issue Jul 30, 2021 · 2 comments

Comments

@bhoov
Copy link

bhoov commented Jul 30, 2021

It seems the environment file is broken when following the code at the top of the environment.yml file:

$ conda create --name fold2seq --file environment.yml
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - rdflib==5.0.0=pypi_0
  - decorator==4.4.2=pypi_0
  - pandas==1.2.3=pypi_0
  - libidn2==2.3.0=h516909a_0
  - mmseqs2==13.45111=h95f258a_1
  - jinja2==2.11.3=pypi_0
  - libgcc-ng==9.3.0=h2828fa1_18
  - pytorch==1.7.1=py3.8_cuda10.2.89_cudnn7.6.5_0
  - torchaudio==0.7.2=py38
  - llvmlite==0.35.0=pypi_0
  - torch-sparse==0.6.9=pypi_0
  - idna==2.10=pypi_0
  - esm==0.2.0=pypi_0
  - tokenizers==0.8.0rc4=pypi_0
  - scipy==1.5.4=pypi_0
  - networkx==2.5=pypi_0
  - sacremoses==0.0.43=pypi_0
  - markupsafe==1.1.1=pypi_0
  - packaging==20.9=pypi_0
  - torch-geometric==1.6.3=pypi_0
  - biopython==1.77=pypi_0
  - h5py==3.2.0=pypi_0
  - matplotlib==3.3.1=pypi_0
  - cycler==0.10.0=pypi_0
  - isodate==0.6.0=pypi_0
  - regex==2020.11.13=pypi_0
  - pyparsing==2.4.7=pypi_0
  - torchvision==0.8.2=py38_cu102
  - kiwisolver==1.2.0=pypi_0
  - bzip2==1.0.8=h7f98852_4
  - tqdm==4.58.0=pypi_0
  - pytz==2021.1=pypi_0
  - libstdcxx-ng==9.3.0=h6de172a_18
  - googledrivedownloader==0.4=pypi_0
  - transformers==3.0.0=pypi_0
  - torch-scatter==2.0.6=pypi_0
  - python-dateutil==2.8.1=pypi_0
  - sentencepiece==0.1.95=pypi_0
  - gawk==5.1.0=h7f98852_0
  - requests==2.25.1=pypi_0
  - torch-cluster==1.5.9=pypi_0
  - filelock==3.0.12=pypi_0
  - torch-spline-conv==1.2.1=pypi_0
  - libunistring==0.9.10=h14c3975_0
  - scikit-learn==0.24.0=pypi_0
  - sklearn==0.0=pypi_0
  - numba==0.52.0=pypi_0
  - gettext==0.19.8.1=hf34092f_1004
  - python-louvain==0.15=pypi_0
  - chardet==4.0.0=pypi_0
  - libgomp==9.3.0=h2828fa1_18
  - openssl==1.1.1k=h7f98852_0
  - ase==3.21.1=pypi_0
  - joblib==1.0.0=pypi_0
  - threadpoolctl==2.1.0=pypi_0
  - certifi==2020.6.20=pypi_0
  - ca-certificates==2020.12.5=ha878542_0
  - urllib3==1.26.3=pypi_0
  - _libgcc_mutex==0.1=conda_forge
  - python_abi==3.8=1_cp38
  - click==7.1.2=pypi_0
  - wget==1.20.1=h22169c7_0

Current channels:

  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

The =pypi_0 looks suspicious and the channel information was not included. So I tried removing the =pypi_0 and adding the channel information:

$ conda create --name fold2seq --file new-environment.yml -c pytorch -c huggingface -c conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - mmseqs2==13.45111=h95f258a_1
  - torch-sparse==0.6.9
  - sklearn==0.0
  - esm==0.2.0
  - torch-geometric==1.6.3
  - scipy==1.5.4
  - torch-cluster==1.5.9
  - torch-spline-conv==1.2.1
  - transformers==3.0.0
  - torch-scatter==2.0.6
  - tokenizers==0.8.0rc4
  - h5py==3.2.0

Current channels:

  - https://conda.anaconda.org/pytorch/linux-64
  - https://conda.anaconda.org/pytorch/noarch
  - https://conda.anaconda.org/anaconda/linux-64
  - https://conda.anaconda.org/anaconda/noarch
  - https://conda.anaconda.org/huggingface/linux-64
  - https://conda.anaconda.org/huggingface/noarch
  - https://conda.anaconda.org/conda-forge/linux-64
  - https://conda.anaconda.org/conda-forge/noarch
  - https://repo.anaconda.com/pkgs/main/linux-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/linux-64
  - https://repo.anaconda.com/pkgs/r/noarch

Help would be appreciated

@YueCao94
Copy link
Contributor

We really thank you for your question! We have updated the README. The code is actually only dependent on a major package, which is pytorch1.7.

@kimdn
Copy link

kimdn commented Apr 5, 2023

I encountered the same error message.
Screen Shot 2023-04-05 at 9 59 46 AM

At least, install pytorch only (e.g. pip install torch==1.7) at least fold_feat_gen.py ran until meeting another error.

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

No branches or pull requests

3 participants