![]() ![]() (ProcMCD43A1) C:\Users\justincase>conda compare environment.yml -json It should be noted that only differences are listed in the output. I can verify that the compare command works in conda version 4.8.4. The only mention of this I've found so far is in a pull request that was merged back on July 16, 2020. "Running pkg" is, of course, the one I activated.Įven less clear, the "not found" refers to the active environment: the packages "black", "fribidi", etc, are in my tfm1 (specified) but not in my project/env (active) environment.Ī recent development now provides the ability to compare a conda environment against a requirements file. The documentation is not too clear on this, but "Specification pkg" refers to a package found in the environment whose specification we exported to a file ("tfm1" in my example). Specification pkg: flit-core=3.6.0=pyhd8ed1ab_0, Running pkg: flit-core=3.7.1=pyhd8ed1ab_0įonttools found but mismatch. Specification pkg: executing=0.8.2=pyhd8ed1ab_0, Running pkg: executing=0.8.3=pyhd8ed1ab_0įlit-core found but mismatch. Next I switch to the other env, in the directory: ❯ conda activate /Users/me/path/project/envĪnd finally use the new compare command: ❯ conda compare /Users/me/path/tfm1_env.ymlĬertifi found but mismatch. ❯ conda env export -f /Users/me/path/tfm1_env.yml path/project/env with the named env tfm1 (my tensorflow env).įirst I switch to the tfm1 env and export its package list: ❯ conda activate tfm1 Now I want to compare the conda env in the directory. ❯ conda -versionįirst list the environments I have ❯ conda env listĮxperiments /Users/me/miniforge3/envs/experiments I install all packages with conda, but installed tkcalendar with pip.Using mini conda 4.11, with the new compare command, I'm going to compare a named environment with a path environment. I mainly use python in Spyder IDE for data analysis and was trying flask for the first time. Should I reinstall Anaconda? Or is there a way to solve the inconsistencies of these packages? Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. ![]() defaults/win-64::_anaconda_depends=2023.06=p圓8_0įailed with initial frozen solve.defaults/noarch::python-jsonrpc-server=0.3.4=py_1. ![]() The following packages are causing the inconsistency: The environment is inconsistent, please check the package plan carefully Now when I am trying to 'conda install anaconda', I am getting fewer packages that are causing inconsistency So I read other threads and have already run: At that time there were a lot of packages that were causing inconsistency. I got stuck on this solving environment when trying to 'conda uninstall flask'. ![]()
0 Comments
Leave a Reply. |