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

Win 11 - solving environment #3

Open
olugovoy opened this issue Dec 4, 2024 · 2 comments
Open

Win 11 - solving environment #3

olugovoy opened this issue Dec 4, 2024 · 2 comments

Comments

@olugovoy
Copy link

olugovoy commented Dec 4, 2024

Hi there,
FYI:
Following the suggested installation steps didn't work for me on Windows 11.
The process stuck in "solving environment" on the mamba env update step.
Installing conda-libmamba-solver before the installation of mamba helped:
conda install -n base conda-libmamba-solver
conda config --set solver libmamba

@mfripp
Copy link
Member

mfripp commented Dec 15, 2024

Thanks for letting me know about this. I just tried following the standard instructions on a new Windows 11 system and it seemed to run OK. Those were:

conda install -y -c conda-forge mamba git
git clone https://github.com/switch-model/Switch-USA-PG --recurse-submodules --depth=1
cd Switch-USA-PG
mamba create -y -c conda-forge -n switch-pg python=3.10 mamba git ipykernel
mamba env update -n switch-pg -f environment.yml
mamba env update -n switch-pg -f PowerGenome/environment.yml

Can you say where in this sequence mamba got stuck? I would have thought using mamba would be equivalent to setting the solver to libmamba and then running conda. Did I miss something there?

@mfripp
Copy link
Member

mfripp commented Dec 15, 2024

Although now that I look at it, it ended up creating the switch-pg environment in a weird subdirectory (miniconda3/Library/envs/switch-pg instead of miniconda3/envs/switch-pg) and doesn't seem to have added its name to conda's environment list. So not working perfectly!

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