Hello! I have been struggling create new conda environment for my project for two weeks.
Below is the error I am getting.
Retrieving notices: ...working... done
Collecting package metadata (repodata.json): done
Solving environment: failed
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "c:\ProgramData\anaconda3\lib\site-packages\conda\exceptions.py", line 1132, in __call__
return func(*args, **kwargs)
File "c:\ProgramData\anaconda3\lib\site-packages\conda_env\cli\main.py", line 78, in do_call
exit_code = getattr(module, func_name)(args, parser)
File "c:\ProgramData\anaconda3\lib\site-packages\conda\notices\core.py", line 116, in wrapper
return_value = func(*args, **kwargs)
File "c:\ProgramData\anaconda3\lib\site-packages\conda_env\cli\main_create.py", line 152, in execute
result[installer_type] = installer.install(prefix, pkg_specs, args, env)
File "c:\ProgramData\anaconda3\lib\site-packages\conda_env\installers\conda.py", line 53, in install
unlink_link_transaction = solver.solve_for_transaction(
File "c:\ProgramData\anaconda3\lib\site-packages\conda\core\solve.py", line 134, in solve_for_transaction
unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
File "c:\ProgramData\anaconda3\lib\site-packages\conda\core\solve.py", line 177, in solve_for_diff
final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
File "c:\ProgramData\anaconda3\lib\site-packages\conda\core\solve.py", line 301, in solve_final_state
ssc = self._run_sat(ssc)
File "c:\ProgramData\anaconda3\lib\site-packages\conda\common\io.py", line 84, in decorated
return f(*args, **kwds)
File "c:\ProgramData\anaconda3\lib\site-packages\conda\core\solve.py", line 851, in _run_sat
ssc.solution_precs = ssc.r.solve(tuple(final_environment_specs),
File "c:\ProgramData\anaconda3\lib\site-packages\conda\common\io.py", line 84, in decorated
return f(*args, **kwds)
File "c:\ProgramData\anaconda3\lib\site-packages\conda\resolve.py", line 1406, in solve
solution, obj5 = C.minimize(eq_v, solution)
File "c:\ProgramData\anaconda3\lib\site-packages\conda\common\logic.py", line 252, in minimize
return self._clauses.minimize(literals, coeffs, bestsol=bestsol, trymax=trymax)
File "c:\ProgramData\anaconda3\lib\site-packages\conda\common\_logic.py", line 702, in minimize
self.Require(self.LinearBound, lits, coeffs, lo, mid, False)
File "c:\ProgramData\anaconda3\lib\site-packages\conda\common\_logic.py", line 320, in Require
self.Eval(func, args, polarity=True)
File "c:\ProgramData\anaconda3\lib\site-packages\conda\common\_logic.py", line 305, in Eval
vals = func(*args, polarity=polarity)
File "c:\ProgramData\anaconda3\lib\site-packages\conda\common\_logic.py", line 588, in LinearBound
res = self.BDD(lits, coeffs, nterms, lo, hi, polarity)
File "c:\ProgramData\anaconda3\lib\site-packages\conda\common\_logic.py", line 544, in BDD
LA = lits[ndx]
IndexError: list index out of range
`$ c:\ProgramData\anaconda3\Scripts\conda-env-script.py create --name myENV --file environment-info.yml`
environment variables:
CIO_TEST=<not set>
CONDA_AUTO_UPDATE_CONDA=false
CONDA_DEFAULT_ENV=base
CONDA_EXE=c:\ProgramData\anaconda3\condabin\..\Scripts\conda.exe
CONDA_EXES="c:\ProgramData\anaconda3\condabin\..\Scripts\conda.exe"
CONDA_PREFIX=c:\ProgramData\anaconda3
CONDA_PROMPT_MODIFIER=(base)
CONDA_PYTHON_EXE=c:\ProgramData\anaconda3\python.exe
CONDA_ROOT=c:\ProgramData\anaconda3
CONDA_SHLVL=1
CURL_CA_BUNDLE=<not set>
HOMEPATH=\Users\gs
LD_PRELOAD=<not set>
PATH=c:\ProgramData\anaconda3;c:\ProgramData\anaconda3\Library\mingw-
w64\bin;c:\ProgramData\anaconda3\Library\usr\bin;c:\ProgramData\anacon
da3\Library\bin;c:\ProgramData\anaconda3\Scripts;c:\ProgramData\anacon
da3\bin;c:\ProgramData\anaconda3\condabin;c:\ProgramData\anaconda3\Lib
rary\bin;c:\ProgramData\anaconda3\Scripts;c:\ProgramData\anaconda3;C:\
windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System
32\WindowsPowerShell\v1.0;C:\windows\System32\OpenSSH;C:\Program Files
(x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA
Corporation\NVIDIA NvDLISR;C:\Program Files\Git\cmd;C:\Program Files\d
otnet;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDO
WS\System32\WindowsPowerShell\v1.0;C:\WINDOWS\System32\OpenSSH;C:\User
s\gs\AppData\Local\Microsoft\WindowsApps;C:\Users\gs\.dotnet\tools;
PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\Windows
PowerShell\v1.0\Modules
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
active environment : base
active env location : c:\ProgramData\anaconda3
shell level : 1
user config file : C:\Users\gs\.condarc
populated config files :
conda version : 23.3.1
conda-build version : 3.24.0
python version : 3.10.9.final.0
virtual packages : __archspec=1=x86_64
__cuda=11.6=0
__win=0=0
base environment : c:\ProgramData\anaconda3 (writable)
conda av data dir : c:\ProgramData\anaconda3\etc\conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : c:\ProgramData\anaconda3\pkgs
C:\Users\gs\.conda\pkgs
C:\Users\gs\AppData\Local\conda\conda\pkgs
envs directories : c:\ProgramData\anaconda3\envs
C:\Users\gs\.conda\envs
C:\Users\gs\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/23.3.1 requests/2.28.1 CPython/3.10.9 Windows/10 Windows/10.0.22621
administrator : True
netrc file : None
offline mode : False
An unexpected error has occurred. Conda has prepared the above report.