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

I can't create conda env at windows 11. How to solve the problem, then run the code? #1

Open
zhenhuixiang opened this issue Jul 10, 2024 · 1 comment

Comments

@zhenhuixiang
Copy link

(base) C:\Users\Administrator\Desktop\Offline Optimiztaion\algorithms\gabo>conda env create -f environment.yml
Channels:

  • defaults
  • conda-forge
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed
    Channels:
  • defaults
  • conda-forge
    Platform: win-64
    Collecting package metadata (repodata.json): done
    Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:

  • nothing provides requested rhash 1.4.3**
  • nothing provides requested readline 8.2**
  • nothing provides requested ncurses 6.4**
  • nothing provides requested libuuid 1.41.5**
  • nothing provides requested libstdcxx-ng 13.2.0**
  • nothing provides requested libnsl 2.0.0**
  • nothing provides requested libnghttp2 1.57.0**
  • nothing provides requested libgfortran5 11.2.0**
  • nothing provides requested libgfortran-ng 11.2.0**
  • nothing provides requested libgcc-ng 13.2.0**
  • nothing provides requested libev 4.33**
  • nothing provides requested libedit 3.1.20230828**
  • nothing provides requested ld_impl_linux-64 2.38**
  • nothing provides requested gettext 0.21.0**
  • package glib-2.74.0-h12be248_0 is excluded by strict repo priority
  • package glib-tools-2.74.0-h12be248_0 is excluded by strict repo priority
  • package libglib-2.74.0-h79619a9_0 is excluded by strict repo priority
  • package libsolv-0.7.27-h12be248_0 is excluded by strict repo priority
  • package libiconv-1.17-hcfcfb64_2 is excluded by strict repo priority
  • package m2w64-gcc-libs-core-5.3.0-7 requires msys2-conda-epoch >=20160418, but none of the providers can be installd
  • package python-3.8.12-h6244533_0 requires openssl >=1.1.1l,<1.1.2a, but none of the providers can be installed
  • package libsolv-0.7.27-h12be248_0 requires libzlib >=1.2.13,<2.0.0a0, but none of the providers can be installed
@michael-s-yao
Copy link
Owner

The conda environment in this repository has only been tested on linux-based systems. I believe the environment.yml file in this repository contains mostly linux-specific packages - one potential workaround might be to create a fresh Python 3.8.12 conda environment from scratch on your Windows machine, and then install the packages only in the requirements.txt file using pip. This would hopefully get you most of the way there although is not a tested approach as I don't have a Windows machine myself. Hope this helps!

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