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

Cannot create a conda environment. #377

Open
LiubovShilova opened this issue Feb 20, 2024 · 6 comments
Open

Cannot create a conda environment. #377

LiubovShilova opened this issue Feb 20, 2024 · 6 comments

Comments

@LiubovShilova
Copy link

Hi! I have some issues with creating the environment. Both mamba and conda return error.

While running

conda env create -f conda.yaml

I encounter the error:

Could not solve for environment specs
The following packages are incompatible
├─ python >=3.9  is installable with the potential options
│  ├─ python [3.9.0|3.9.1|...|3.9.9], which can be installed;
│  ├─ python [3.10.0|3.10.1|...|3.10.9] conflicts with any installable versions previously reported;
│  ├─ python [3.11.0|3.11.1|...|3.11.8] conflicts with any installable versions previously reported;
│  ├─ python [3.12.0|3.12.1|3.12.2] conflicts with any installable versions previously reported;
│  └─ python 3.12.0rc3 would require
│     └─ _python_rc, which does not exist (perhaps a missing channel);
├─ pytorch >=2.0.0  is installable with the potential options
│  ├─ pytorch [1.12.1|1.13.1|...|2.2.0] would require
│  │  └─ python >=3.8,<3.9.0a0 , which conflicts with any installable versions previously reported;
│  ├─ pytorch [2.0.0|2.0.1|...|2.2.0] would require
│  │  └─ python >=3.9,<3.10.0a0 , which can be installed;
│  ├─ pytorch [2.0.0|2.0.1|...|2.2.0] would require
│  │  └─ python >=3.10,<3.11.0a0 , which conflicts with any installable versions previously reported;
│  ├─ pytorch [2.0.1|2.1.0|2.1.1|2.1.2|2.2.0] would require
│  │  └─ python >=3.11,<3.12.0a0 , which conflicts with any installable versions previously reported;
│  └─ pytorch 2.2.0 would require
│     └─ python >=3.12,<3.13.0a0 , which conflicts with any installable versions previously reported;
└─ xformers 0.0.18*  is not installable because there are no viable options
   ├─ xformers 0.0.18 would require
   │  ├─ python [>=3.10,<3.11.0a0 |>=3.9,<3.10.0a0 ] with the potential options
   │  │  ├─ python [3.9.0|3.9.1|...|3.9.9], which can be installed;
   │  │  └─ python [3.10.0|3.10.1|...|3.10.9] conflicts with any installable versions previously reported;
   │  └─ pytorch 1.13.1.*  but there are no viable options
   │     ├─ pytorch [1.12.1|1.13.1] would require
   │     │  └─ python >=3.10,<3.11.0a0 , which conflicts with any installable versions previously reported;
   │     ├─ pytorch [1.12.1|1.13.1] would require
   │     │  └─ python >=3.7,<3.8.0a0 , which conflicts with any installable versions previously reported;
   │     ├─ pytorch [1.12.1|1.13.1|...|2.2.0], which cannot be installed (as previously explained);
   │     ├─ pytorch [1.12.1|1.13.1] would require
   │     │  └─ python >=3.9,<3.10.0a0 , which can be installed;
   │     ├─ pytorch [1.12.1|1.13.1] would require
   │     │  └─ __cuda, which is missing on the system;
   │     └─ pytorch 1.13.1 conflicts with any installable versions previously reported;
   └─ xformers 0.0.18 would require
      ├─ python [>=3.10,<3.11.0a0 |>=3.9,<3.10.0a0 ] with the potential options
      │  ├─ python [3.9.0|3.9.1|...|3.9.9], which can be installed;
      │  └─ python [3.10.0|3.10.1|...|3.10.9] conflicts with any installable versions previously reported;
      └─ pytorch 1.12.1.*  but there are no viable options
         ├─ pytorch [1.12.1|1.13.1], which cannot be installed (as previously explained);
         ├─ pytorch [1.12.1|1.13.1], which cannot be installed (as previously explained);
         ├─ pytorch [1.12.1|1.13.1|...|2.2.0], which cannot be installed (as previously explained);
         ├─ pytorch [1.12.1|1.13.1], which cannot be installed (as previously explained);
         ├─ pytorch 1.12.1 conflicts with any installable versions previously reported;
         └─ pytorch [1.12.1|1.13.1], which cannot be installed (as previously explained).
@risratna
Copy link

+1 having the same issue

@stefan-matcovici
Copy link

  • 1 same issue

@CaedenMotley
Copy link

You may want to try downgrading Pytorch and potentially python, let me know if this works.

@nisar2
Copy link

nisar2 commented Mar 12, 2024

+1 same issue

@machineko
Copy link

You can try fixed conda env file -> #402

@wshuai294
Copy link

+1 same issue

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

7 participants