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 install with Conda + Pypy 3.9 #194

Closed
davidlougheed opened this issue Jun 1, 2024 · 3 comments
Closed

Cannot install with Conda + Pypy 3.9 #194

davidlougheed opened this issue Jun 1, 2024 · 3 comments

Comments

@davidlougheed
Copy link

Hello, I'm trying to install Physlr with Conda + Pypy 3.9 and I get the following error:

LibMambaUnsatisfiableError: Encountered problems while solving:
  - package physlr-1.0.4-py39h2df963e_0 requires tqdm, but none of the providers can be installed

Could not solve for environment specs
The following packages are incompatible
├─ physlr 1.0.4  is installable and it requires
│  └─ tqdm with the potential options
│     ├─ tqdm 4.7.2 would require
│     │  └─ python 3.6* , which can be installed;
│     └─ tqdm [4.10.0|4.11.0|...|4.9.0] conflicts with any installable versions previously reported;
└─ pin-1 is not installable because it requires
   └─ python 3.9.* , which conflicts with any installable versions previously reported.

Pins seem to be involved in the conflict. Currently pinned specs:
 - python 3.9.* (labeled as 'pin-1')

If I manually install TQDM, I instead get another error:

Could not solve for environment specs
The following packages are incompatible
├─ physlr 1.0.4**  is installable with the potential options
│  ├─ physlr 1.0.4 would require
│  │  ├─ pypy with the potential options
│  │  │  ├─ pypy 7.3.8 would require
│  │  │  │  └─ python 3.9.10 0_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.15 would require
│  │  │  │  └─ python 3.9.18 1_73_pypy, which can be installed;
│  │  │  ├─ pypy [7.3.0|7.3.1] would require
│  │  │  │  └─ python 3.6.9 0_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.1 would require
│  │  │  │  └─ python 3.6.9 1_73_pypy, which does not exist (perhaps a missing channel);
│  │  │  ├─ pypy 7.3.1 would require
│  │  │  │  └─ python 3.6.9 2_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.2 would require
│  │  │  │  └─ python 3.6.9 3_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.3 would require
│  │  │  │  └─ python 3.6.12 5_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.3 would require
│  │  │  │  └─ python 3.7.9 5_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.3 would require
│  │  │  │  └─ python 3.6.12 4_73_pypy, which can be installed;
│  │  │  ├─ pypy [7.3.4|7.3.5] would require
│  │  │  │  └─ python 3.7.10 0_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.5 would require
│  │  │  │  └─ python 3.7.10 1_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.7 would require
│  │  │  │  └─ python 3.7.12 0_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.8 would require
│  │  │  │  └─ python 3.8.12 0_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.9 would require
│  │  │  │  └─ python 3.8.13 0_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.9 would require
│  │  │  │  └─ python 3.9.12 0_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.11 would require
│  │  │  │  └─ python 3.8.16 0_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.11 would require
│  │  │  │  └─ python 3.9.16 0_73_pypy, which can be installed;
│  │  │  ├─ pypy 7.3.12 would require
│  │  │  │  └─ python 3.9.17 0_73_pypy, which can be installed;
│  │  │  └─ pypy 7.3.13 would require
│  │  │     └─ python 3.9.18 0_73_pypy, which can be installed;
│  │  └─ scikit-learn with the potential options
│  │     ├─ scikit-learn [0.17.1|0.18|...|0.20.4] would require
│  │     │  └─ python [2.7* |>=2.7,<2.8.0a0 ], which can be installed;
│  │     ├─ scikit-learn [0.17.1|0.18|0.18.2] would require
│  │     │  └─ python 3.4* , which can be installed;
│  │     ├─ scikit-learn [0.17.1|0.18|...|0.20.0] would require
│  │     │  └─ python [3.5* |>=3.5,<3.6.0a0 ], which can be installed;
│  │     ├─ scikit-learn [0.18|0.18.1|...|0.19.2] would require
│  │     │  └─ python 3.6* , which can be installed;
│  │     ├─ scikit-learn [0.19.2|0.20.0|...|0.24.2] would require
│  │     │  └─ python >=3.6,<3.7.0a0 , which can be installed;
│  │     ├─ scikit-learn [0.20.0|0.20.1|...|1.0.2] would require
│  │     │  └─ python >=3.7,<3.8.0a0 , which can be installed;
│  │     ├─ scikit-learn [0.22|0.22.1|...|1.3.2] would require
│  │     │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│  │     ├─ scikit-learn [0.23.2|0.24.0|...|1.5.0] would require
│  │     │  └─ python_abi 3.9.* *_cp39 but there are no viable options
│  │     │     ├─ python_abi 3.9 would require
│  │     │     │  └─ pypy <0a0 , which conflicts with any installable versions previously reported;
│  │     │     └─ python_abi 3.9 would require
│  │     │        └─ python 3.9.* *_cpython, which conflicts with any installable versions previously reported;
│  │     ├─ scikit-learn [1.0.1|1.0.2|...|1.5.0] would require
│  │     │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  │     ├─ scikit-learn [1.1.3|1.2.0|...|1.5.0] would require
│  │     │  └─ python >=3.11,<3.12.0a0 , which can be installed;
│  │     ├─ scikit-learn [1.3.1|1.3.2|...|1.5.0] would require
│  │     │  └─ python >=3.12,<3.13.0a0 , which can be installed;
│  │     └─ scikit-learn [0.19.0|0.19.1|...|1.4.2] conflicts with any installable versions previously reported;
│  └─ physlr 1.0.4 would require
│     └─ scikit-learn with the potential options
│        ├─ scikit-learn [0.17.1|0.18|...|0.20.4], which can be installed (as previously explained);
│        ├─ scikit-learn [0.17.1|0.18|0.18.2], which can be installed (as previously explained);
│        ├─ scikit-learn [0.17.1|0.18|...|0.20.0], which can be installed (as previously explained);
│        ├─ scikit-learn [0.18|0.18.1|...|0.19.2], which can be installed (as previously explained);
│        ├─ scikit-learn [0.19.2|0.20.0|...|0.24.2], which can be installed (as previously explained);
│        ├─ scikit-learn [0.20.0|0.20.1|...|1.0.2], which can be installed (as previously explained);
│        ├─ scikit-learn [0.22|0.22.1|...|1.3.2], which can be installed (as previously explained);
│        ├─ scikit-learn [0.23.2|0.24.0|...|1.5.0], which cannot be installed (as previously explained);
│        ├─ scikit-learn [1.0.1|1.0.2|...|1.5.0], which can be installed (as previously explained);
│        ├─ scikit-learn [1.1.3|1.2.0|...|1.5.0], which can be installed (as previously explained);
│        ├─ scikit-learn [1.3.1|1.3.2|...|1.5.0], which can be installed (as previously explained);
│        └─ scikit-learn [0.19.0|0.19.1|...|1.4.2] conflicts with any installable versions previously reported;
├─ pin-1 is not installable because it requires
│  └─ python 3.9.* , which conflicts with any installable versions previously reported;
└─ pypy is installable with the potential options
   ├─ pypy 7.3.8, which can be installed (as previously explained);
   ├─ pypy 7.3.15, which can be installed (as previously explained);
   ├─ pypy [7.3.0|7.3.1], which can be installed (as previously explained);
   ├─ pypy 7.3.1, which cannot be installed (as previously explained);
   ├─ pypy 7.3.1, which can be installed (as previously explained);
   ├─ pypy 7.3.2, which can be installed (as previously explained);
   ├─ pypy 7.3.3, which can be installed (as previously explained);
   ├─ pypy 7.3.3, which can be installed (as previously explained);
   ├─ pypy 7.3.3, which can be installed (as previously explained);
   ├─ pypy [7.3.4|7.3.5], which can be installed (as previously explained);
   ├─ pypy 7.3.5, which can be installed (as previously explained);
   ├─ pypy 7.3.7, which can be installed (as previously explained);
   ├─ pypy 7.3.8, which can be installed (as previously explained);
   ├─ pypy 7.3.9, which can be installed (as previously explained);
   ├─ pypy 7.3.9, which can be installed (as previously explained);
   ├─ pypy 7.3.11, which can be installed (as previously explained);
   ├─ pypy 7.3.11, which can be installed (as previously explained);
   ├─ pypy 7.3.12, which can be installed (as previously explained);
   └─ pypy 7.3.13, which can be installed (as previously explained).

Pins seem to be involved in the conflict. Currently pinned specs:
 - python 3.9.* (labeled as 'pin-1')

Any suggestions as to best next steps?

@lcoombe
Copy link
Member

lcoombe commented Jun 25, 2024

Hi @davidlougheed,

Could you let us know the exact sequence of conda commands you tried?

On my end (on a linux machine), I was able to install physlr with these commands:

conda create -n physlr_test # Make a fresh conda environment
conda activate physlr_test # Activate the fresh conda environment
conda install mamba pypy3.9
mamba install physlr
(physlr_test) [lcoombe@hpce704 git]$ physlr version
physlr 1.0.4

Thank you for your interest in physlr!
Lauren

@davidlougheed
Copy link
Author

@lcoombe thanks for the response and sorry for the slow reply.

There seems to be some progress using this (with a few tweaks), thank you!

With mamba install physlr, I get a segfault - this is probably some issue with mamba or conda.

[...]
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
warning  libmamba Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY
Segmentation fault (core dumped)

I then did conda config --set channel_priority flexible to address all of those warnings, and then install seems successful. I am trying to run the tool on actual data now!

@lcoombe
Copy link
Member

lcoombe commented Aug 20, 2024

Great, thanks for the update @davidlougheed - I'm glad to hear you were able to get a successful install!
Good luck with your runs!

@lcoombe lcoombe closed this as completed Aug 20, 2024
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

2 participants