how to fix package resolution warnings in conda?

  • Last Update :
  • Techknowledgy :

Try to enforce strict channel priority:

conda update--strict - channel - priority--all

Suggestion : 2

From @lifescholar on November 7, 2017 9:49

    "quandl-3.2.0-py36h3624063_0.tar.bz2": {
       "build": "py36h3624063_0",
       "build_number": 0,
       "depends": [
          "inflection >=0.3.1",
          "more-itertools",
          "numpy >=1.8",
          "pandas >=0.14",
          "python >=3.6,<3.7.0a0",
          "python-dateutil",
          "requests >=2.7.0,<2.18",
          "six"
       ],
       "license": "MIT",
       "md5": "18f3df76b2ce79925ee107ebf7a7b743",
       "name": "quandl",
       "sha256": "805679b63389b3a17eb5b5107405c5ca48f92f33fe9f59afa763728252b6cf42",
       "size": 39252,
       "subdir": "linux-64",
       "timestamp": 1509567355946,
       "version": "3.2.0"
    },
    "quandl-3.1.0-py36_0.tar.bz2": {
       "build": "py36_0",
       "build_number": 0,
       "date": "2017-03-13",
       "depends": [
          "inflection >=0.3.1",
          "more-itertools",
          "numpy",
          "pandas >=0.14",
          "python 3.6*",
          "python-dateutil",
          "requests >=2.7.0",
          "six"
       ],
       "license": "MIT",
       "md5": "dfdf967995d9bafafd87ffa933a1d28d",
       "name": "quandl",
       "size": 29211,
       "version": "3.1.0"
    },
           platform: win - 64
           conda version: 4.3 .30
           conda is private: False
           conda - env version: 4.3 .30
           conda - build version: 3.0 .28
           python version: 3.6 .3.final .0
           requests version: 2.14 .2
           root environment: D: \Users\ 803375527\ AppData\ Local\ Continuum\ anaconda3(writable)
           default environment: D: \Users\ 803375527\ AppData\ Local\ Continuum\ anaconda3
           envs directories: D: \Users\ 803375527\ AppData\ Local\ Continuum\ anaconda3\ envs
           C: \Users\ 803375527\ AppData\ Local\ conda\ conda\ envs
           C: \Users\ 803375527\ .conda\ envs
           package cache: D: \Users\ 803375527\ AppData\ Local\ Continuum\ anaconda3\ pkgs
           C: \Users\ 803375527\ AppData\ Local\ conda\ conda\ pkgs
           channel URLs: https: //repo.continuum.io/pkgs/main/win-64
              https: //repo.continuum.io/pkgs/main/noarch
              https: //repo.continuum.io/pkgs/free/win-64
              https: //repo.continuum.io/pkgs/free/noarch
              https: //repo.continuum.io/pkgs/r/win-64
              https: //repo.continuum.io/pkgs/r/noarch
              https: //repo.continuum.io/pkgs/pro/win-64
              https: //repo.continuum.io/pkgs/pro/noarch
              https: //repo.continuum.io/pkgs/msys2/win-64
              https: //repo.continuum.io/pkgs/msys2/noarch
              config file: C: \Users\ 803375527\ .condarc
           netrc file: None
           offline mode: False
           user - agent: conda / 4.3 .30 requests / 2.14 .2 CPython / 3.6 .3 Windows / 10 Windows / 10.0 .14393
           administrator: False
           platform: win - 64
           conda version: 4.3 .30
           conda is private: False
           conda - env version: 4.3 .30
           conda - build version: not installed
           python version: 3.6 .3.final .0
           requests version: 2.18 .4
           root environment: C: \Software\ SoftwareDev\ Python(writable)
           default environment: C: \Software\ SoftwareDev\ Python
           envs directories: C: \Software\ SoftwareDev\ Python\ envs
           C: \Users\ huzq8\ AppData\ Local\ conda\ conda\ envs
           C: \Users\ huzq8\.conda\ envs
           package cache: C: \Software\ SoftwareDev\ Python\ pkgs
           C: \Users\ huzq8\ AppData\ Local\ conda\ conda\ pkgs
           channel URLs: https: //repo.continuum.io/pkgs/main/win-64
              https: //repo.continuum.io/pkgs/main/noarch
              https: //repo.continuum.io/pkgs/free/win-64
              https: //repo.continuum.io/pkgs/free/noarch
              https: //repo.continuum.io/pkgs/r/win-64
              https: //repo.continuum.io/pkgs/r/noarch
              https: //repo.continuum.io/pkgs/pro/win-64
              https: //repo.continuum.io/pkgs/pro/noarch
              https: //repo.continuum.io/pkgs/msys2/win-64
              https: //repo.continuum.io/pkgs/msys2/noarch
              config file: None
           netrc file: None
           offline mode: False
           user - agent: conda / 4.3 .30 requests / 2.18 .4 CPython / 3.6 .3 Windows / 10 Windows / 10.0 .17046
           administrator: False
conda update--all
Solving environment: / 
Warning: 4 possible package resolutions(only showing differing packages):
   -numba::pyculib - 1.0 .2 - np113py36_2, numba::pyculib_sorting - 1.0 .0 - 8 -
   defaults::pyculib_sorting - 1.0 .0 - 8, numba::pyculib - 1.0 .2 - np113py36_2 -
   defaults::pyculib - 1.0 .2 - np113py36_2, numba::pyculib_sorting - 1.0 .0 - 8 -
   defaults::pyculib - 1.0 .2 - np113py36_2, defaults::pyculib_sorting - 1.0 .0 done
     active environment: None
     user config file: /home/user / .condarc
     populated config files:
        conda version: 4.5 .11
     conda - build version: 3.15 .1
     python version: 3.6 .6.final .0
     base environment: /home/user / anaconda3(writable)
     channel URLs: https: //repo.anaconda.com/pkgs/main/linux-64
        https: //repo.anaconda.com/pkgs/main/noarch
        https: //repo.anaconda.com/pkgs/free/linux-64
        https: //repo.anaconda.com/pkgs/free/noarch
        https: //repo.anaconda.com/pkgs/r/linux-64
        https: //repo.anaconda.com/pkgs/r/noarch
        https: //repo.anaconda.com/pkgs/pro/linux-64
        https: //repo.anaconda.com/pkgs/pro/noarch
        package cache: /home/user / anaconda3 / pkgs /
        home / user / .conda / pkgs
     envs directories: /home/user / anaconda3 / envs /
        home / user / .conda / envs
     platform: linux - 64
     user - agent: conda / 4.5 .11 requests / 2.19 .1 CPython / 3.6 .6 Linux / 3.10 .0 - 693.21 .1.el7.x86_64 centos / 7 glibc / 2.17
     UID: GID: 26661: 1500
     netrc file: None
     offline mode: False

Suggestion : 3

Make sure that you are in the same conda environment as your package. The conda info command tells you what environment is currently active under default environment.,You are not in the same conda environment as your package.,You activate an environment or use the root environment, and then run a command from somewhere else.,If you are not activating your environments, start with doing that. There's more info at Activating environments. If you are still stuck, you may need to consider more drastic measures.

conda create myenv python
conda activate myenv
echo test
CALL conda create myenv python
CALL conda activate myenv
echo test
Intel MKL FATAL ERROR: Cannot load mkl_intel_thread.dll
The ordinal 241 could not be located in the the dynamic link library
conda update - c defaults python
set CONDA_DLL_SEARCH_MODIFICATION_ENABLE = 1

Suggestion : 4

Conda attempts to install the newest versions of the requested packages. To accomplish this, it may update some packages that are already installed, or install additional packages. To prevent existing packages from updating, use the --no-update-deps option. This may force conda to install older versions of the requested packages, and it does not prevent additional dependency packages from being installed.,This command accepts a list of package names and updates them to the latest versions that are compatible with all other packages in the environment.,Ensure that any user-requested package for the current operation is uninstalled and reinstalled, even if that package already exists in the environment.,Exit early and do not run the solver if the requested specs are satisfied. Also skips aggressive updates as configured by 'aggressive_update_packages'. Similar to the default behavior of 'pip install'.

usage: conda update[-h][-n ENVIRONMENT | -p PATH][-c CHANNEL][--use - local]
   [--override - channels][--repodata - fn REPODATA_FNS]
   [--strict - channel - priority][--no - channel - priority]
   [--no - deps | --only - deps][--no - pin][--copy][-C][-k]
   [--offline][-d][--json][-q][-v][-y][--download - only]
   [--show - channel - urls][--file FILE]
   [--experimental - solver {
      classic,
      libmamba,
      libmamba - draft
   }]
   [--force - reinstall]
   [--freeze - installed | --update - deps | -S | --update - all | --update - specs]
   [--clobber]
   [package_spec[package_spec...]]

Suggestion : 5

07/27/2022

Messages similar to the following examples will indicate the issue:

('Connection broken: OSError("(104, \'ECONNRESET\')")', OSError("(104, 'ECONNRESET')"))
('Connection broken: OSError("(104, \'ECONNRESET\')")', OSError("(104, 'ECONNRESET')"))
ReadTimeoutError("HTTPSConnectionPool(host='****', port=443): Read timed out. (read timeout=15)", )

Conda package couldn't be found:

ResolvePackageNotFound:
   -not - existing - conda - package

Bad nested pip dependency:

ERROR: No matching distribution found
for bad - package == 0.0(from good - package == 1.0)

During an installation or an update of a pip package, the resolver might need to update an already-installed package to satisfy the new requirements. Uninstallation can fail for various reasons related to the pip version or the way the dependency was installed. The most common scenario is that a dependency installed by conda couldn't be uninstalled by pip. For this scenario, consider uninstalling the dependency by using conda remove mypackage.

  Attempting uninstall: mypackage
  Found existing installation: mypackage X.Y.Z
  ERROR: Cannot uninstall 'mypackage'.It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Conda package couldn't be found:

ResolvePackageNotFound:
   -not - existing - conda - package

Specified pip package or version couldn't be found:

ERROR: Could not find a version that satisfies the requirement invalid - pip - package(from versions: none)
ERROR: No matching distribution found
for invalid - pip - package

Bad nested pip dependency:

ERROR: No matching distribution found
for bad - package == 0.0(from good - package == 1.0)