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

Unable to set up the environment #7

Open
gurnoor6 opened this issue Nov 22, 2022 · 0 comments
Open

Unable to set up the environment #7

gurnoor6 opened this issue Nov 22, 2022 · 0 comments

Comments

@gurnoor6
Copy link

gurnoor6 commented Nov 22, 2022

Hi, I tried to set up the conda environment using the command mentioned in README. However, I am getting the following error.

conda create --name promda --file requirements.txt
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:

  - scikit-learn==1.0=pypi_0
  - pillow==8.3.2=pypi_0
  - filelock==3.3.0=pypi_0
  - charset-normalizer==2.0.6=pypi_0
  - torchvision==0.10.1+cu111=pypi_0
  - regex==2021.10.8=pypi_0
  - portalocker==2.3.2=pypi_0
  - sacremoses==0.0.46=pypi_0
  - torch==1.9.1+cu111=pypi_0
  - numpy==1.21.2=pypi_0
  - zipp==3.6.0=pypi_0
  - urllib3==1.26.7=pypi_0
  - six==1.16.0=pypi_0
  - idna==3.2=pypi_0
  - tqdm==4.62.3=pypi_0
  - yacs==0.1.8=pypi_0
  - tokenizers==0.10.3=pypi_0
  - scipy==1.7.1=pypi_0
  - threadpoolctl==3.0.0=pypi_0
  - huggingface-hub==0.0.19=pypi_0
  - pyparsing==2.4.7=pypi_0
  - pyyaml==5.4.1=pypi_0
  - packaging==21.0=pypi_0
  - rake-nltk==1.0.6=pypi_0
  - typing-extensions==3.10.0.2=pypi_0
  - click==8.0.3=pypi_0
  - seqeval==1.2.2=pypi_0
  - transformers==4.10.2=pypi_0
  - sentencepiece==0.1.96=pypi_0
  - colorama==0.4.4=pypi_0
  - fast-bleu==0.0.89=pypi_0
  - tabulate==0.8.9=pypi_0
  - joblib==1.1.0=pypi_0
  - nltk==3.6.5=pypi_0
  - requests==2.26.0=pypi_0
  - torchaudio==0.9.1=pypi_0
  - sacrebleu==2.0.0=pypi_0
  - importlib-metadata==4.8.1=pypi_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.

I have tried setting up on 2 different machines, and getting the same error.
Also tried resolving this error using some stackoverflow threads like https://stackoverflow.com/a/70775641/11730679 and https://stackoverflow.com/a/48509426/11730679. This resolved the issue to some extent, but I still get the following packages cannot be found:

fast-bleu=0.0.89
huggingface-hub==0.0.19
torch==1.9.1+cu111
torchvision==0.10.1+cu111
rake-nltk==1.0.6
torchaudio==0.9.1

Can you please provide a fix for the same.
Thanks

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