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

[BUG] - Cannot install from conda #252

Open
dodu94 opened this issue Jul 3, 2024 · 11 comments
Open

[BUG] - Cannot install from conda #252

dodu94 opened this issue Jul 3, 2024 · 11 comments
Labels
bug Something isn't working

Comments

@dodu94
Copy link
Member

dodu94 commented Jul 3, 2024

Describe the bug

I tried to install geouned from conda on a fresh enviroment (python 3.11) without success. Error can be seen in the screenshot.

To Reproduce

Steps to reproduce the behavior:
for example:

  1. create a fresh conda environment
  2. follow installation guide for conda and windows
  3. See error

Screenshots

image

Please complete the following information):

  • OS: Windows
  • GEOUNED version: latest conda package?
  • Python version: 3.11
@dodu94 dodu94 added the bug Something isn't working label Jul 3, 2024
@dodu94
Copy link
Member Author

dodu94 commented Jul 3, 2024

different PC, newer version of conda (22.X instead of an old 4.X) and I get a different error:

image

@shimwell
Copy link
Collaborator

shimwell commented Jul 3, 2024

Looks like the first error was present in an old version of conda and fixed in 4.6.0
conda/conda#7776

@shimwell
Copy link
Collaborator

shimwell commented Jul 3, 2024

Looks like the 2nd error can be fixed by adding to the windows paths

See this comment
conda/conda#8836 (comment)

@dodu94
Copy link
Member Author

dodu94 commented Jul 4, 2024

Is it worth to start a troubleshooting section in the doc?

@shimwell
Copy link
Collaborator

shimwell commented Jul 4, 2024

Up to you, I think these are conda issues instead of geouned issues.

I suspect they don't occur when using miniforge instead of anaconda or when using mamba instead of conda

@SterlingButters
Copy link

Working for me in conda 23.3.1

@akolsek
Copy link
Member

akolsek commented Aug 26, 2024

@dodu94, whenever you can, please confirm if the error persists with the new release on conda-forge.

@dodu94
Copy link
Member Author

dodu94 commented Aug 26, 2024

I still get the same error for conda 22.X (on my laptop).

On conda 23.X (on my WS), instead, it took something like 20 mins if this endless looping:

Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: |

but finally it managed to install

@shimwell
Copy link
Collaborator

Conda appears to on version v24.7.1 at the moment, would it be worth trying a newer version

we could add a hint to update the conda version to the install docs if that helps?

For speed of solve then I think mamba is faster option

@dodu94
Copy link
Member Author

dodu94 commented Aug 26, 2024

Also please consider the fact that conda now moved to a mandatory paid plan for organizations of more than 200 employees (https://www.anaconda.com/pricing) so its popularity may fall a bit in the future (at least in pure open source environments)

@shimwell
Copy link
Collaborator

Yes a pip install would be great. I thought the use of miniforge + mamba + conda-forge helps avoid the paid plan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants