conda-forge / poetry-feedstock

A conda-smithy repository for poetry.
BSD 3-Clause "New" or "Revised" License
3 stars 13 forks source link

Unable to pull poetry package on conda-forge #86

Closed dwsmith1983 closed 1 year ago

dwsmith1983 commented 1 year ago

Comment:

I have been trying to pull the poetry package from conda-forge for a OSX. However, it will never resolve.

base ❯ conda install -c conda-forge poetry
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: / failed

CondaError: KeyboardInterrupt

~ 1h 2m 34s

It ran for over 1 hour. This is a fresh install of Anaconda with only conda upgrade conda anaconda --a being run. I have tried numerous times over the past two days. I have also added conda-forge for the channels and set priority to strict and still no luck.

ocefpaf commented 1 year ago

If you are installing into an existing environment, the solve times can be quite unwieldy. Please try a fresh env with:

conda create --name TEST poetry  --channel conda-forge 

Also, can you post your condarc? BTW, for faster solve times you can try to enable libmamba, see https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community for more info.

dwsmith1983 commented 1 year ago

@ocefpaf libmamba worked. However, their (Anaconda's) current setup pretty much renders the package install useless. Thanks for the help.