Trouble installing ta-lib in python 3.7 on Mac - ta-lib

I am trying to install ta-lib using the below code (after activating my conda environment)
conda install -c quantopian ta-lib
I keep getting this message below, could someone help please
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: | failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment: | 0/1 [00:00
ta-lib -> python[version='2.7.*|>=2.7,<2.8.0a0|>=3.5,<3.6.0a0']
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Your current python version
is (python=3.7). Note that conda will not change your python version to a different minor version
unless you explicitly specify that.
The following specifications were found to be incompatible with each other:
Package ca-certificates conflicts for:
python=3.7 -> openssl[version='>=1.1.1a,<1.1.2a'] -> ca-certificates
ta-lib -> python[version='>=3.5,<3.6.0a0'] -> openssl[version='>=1.0.2n,<1.0.3a'] -> ca-certificates
Package pip conflicts for:
python=3.7 -> pip
ta-lib -> python[version='>=3.5,<3.6.0a0'] -> pip
Package certifi conflicts for:
python=3.7 -> pip -> setuptools -> certifi[version='>=2016.09']
ta-lib -> python[version='>=3.5,<3.6.0a0'] -> pip -> setuptools -> certifi[version='>=2016.09']
Package wheel conflicts for:
python=3.7 -> pip -> wheel
ta-lib -> python[version='>=3.5,<3.6.0a0'] -> pip -> wheel
Package setuptools conflicts for:
ta-lib -> python[version='>=3.5,<3.6.0a0'] -> pip -> setuptools
python=3.7 -> pip -> setuptools

conda install -c conda-forge ta-lib
You can use it

Related

conflict installing pytorch and torchvision using conda install

I am trying to install specific versions of pytorch and torchvision but everytime i try install it with conda I face this Conflict Regarding python and cudatoolkit versions
`newstudent#snail-System-Product-Name:~$ conda install pytorch==1.2.0 torchvision==0.4.1 cudatoolkit=11.0 -c pytorch`
`Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.`
`Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.`
`Solving environment: \`
`Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed`
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- torchvision==0.4.1 -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0']
Your python: python=3.8
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package _libgcc_mutex conflicts for:
python=3.8 -> libgcc-ng[version='>=7.3.0'] -> _libgcc_mutex=[build=main]
cudatoolkit=11.0 -> libgcc-ng[version='>=7.3.0'] -> _libgcc_mutex=[build=main]
pytorch==1.2.0 -> libgcc-ng[version='>=7.3.0'] -> _libgcc_mutex=[build=main]
Package libgcc-ng conflicts for:
pytorch==1.2.0 -> cffi -> libgcc-ng[version='>=7.2.0']
pytorch==1.2.0 -> libgcc-ng[version='>=7.3.0']
cudatoolkit=11.0 -> libgcc-ng[version='>=7.3.0']
python=3.8 -> libgcc-ng[version='>=7.3.0']
torchvision==0.4.1 -> numpy[version='>=1.11'] -> libgcc-ng[version='>=7.2.0|>=7.3.0']
python=3.8 -> zlib[version='>=1.2.11,<1.3.0a0'] -> libgcc-ng[version='>=7.2.0']`
Anyone can help with this?

netCDF4ninstall not working with python3.8

I am trying to install the netCDF4 module to a conda environment that's using python3.8 using conda install netCDF4 but am receiving the following error:
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- netcdf4 -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
Your python: python=3.8
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with each other:
Package pip conflicts for:
python=3.8 -> pip
netcdf4 -> python[version='>=3.6,<3.7.0a0'] -> pip
Package wheel conflicts for:
python=3.8 -> pip -> wheel
netcdf4 -> python[version='>=3.6,<3.7.0a0'] -> pip -> wheel
Package certifi conflicts for:
python=3.8 -> pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
Package setuptools conflicts for:
netcdf4 -> setuptools
python=3.8 -> pip -> setuptools
Package ca-certificates conflicts for:
netcdf4 -> python[version='>=3.6,<3.7.0a0'] -> ca-certificates
python=3.8 -> openssl[version='>=1.1.1d,<1.1.2a'] -> ca-certificates
I need to user python3.8 to make use of another module. Does anyone know why netCDF4 might not work with python3.8?

Issues installing IJulia

unfortunately I’m not the most experienced Linux user and when I try to Pkg.build(“IJulia”). We have RHL installed on the university computers. I always get the following error msg. We have RHL installed on the university computers. Why is it showing python3.8 when I mostly use python2.7 how'd I change to the lower version as default?
INFO: Building Conda
INFO: Building MbedTLS
INFO: Building ZMQ
INFO: Building IJulia
Warning: `/nethome/harnold8/.julia/v0.6/Conda/deps/usr/bin/jupyter --version` returned an unrecognized version number jupyter core : 4.6.1
jupyter-notebook : 6.0.2
qtconsole : 4.6.0
ipython : 7.11.1
ipykernel : 5.1.3
jupyter client : 5.3.4
jupyter lab : not installed
nbconvert : 5.6.1
ipywidgets : 7.5.1
nbformat : 5.0.3
traitlets : 4.3.3
Info: /nethome/harnold8/.julia/v0.6/Conda/deps/usr/bin/jupyter was too old: got 0.0.0, required ≥ 3.0
Info: Installing Jupyter via the Conda package.
Info: Running `conda install -y jupyter` in root environment
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- jupyter -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
Your python: python=3.8
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with each other:
Package ipython conflicts for:
jupyter -> ipykernel -> ipython[version='>=4.0|>=4.0.0|>=5.0']
Package certifi conflicts for:
jupyter -> ipykernel -> ipython[version='>=4.0'] -> jedi[version='>=0.10'] -> numpydoc -> sphinx -> requests[version='>=2.0.0'] -> certifi[version='>=2017.4.17']
jupyter -> jupyter_console -> pygments -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
jupyter -> ipykernel -> tornado[version='>=4.0'] -> certifi
python=3.8 -> pip -> setuptools -> certifi[version='>=2016.09|>=2016.9.26']
Package wheel conflicts for:
python=3.8 -> pip -> wheel
jupyter -> python[version='>=2.7,<2.8.0a0'] -> pip -> wheel
Package setuptools conflicts for:
jupyter -> jupyter_console -> pygments -> setuptools
python=3.8 -> pip -> setuptools
Package python-dateutil conflicts for:
jupyter -> ipykernel -> jupyter_client -> python-dateutil[version='>=2.1']
Package ca-certificates conflicts for:
python=3.8 -> openssl[version='>=1.1.1d,<1.1.2a'] -> ca-certificates
jupyter -> python[version='>=2.7,<2.8.0a0'] -> ca-certificates
Package pip conflicts for:
python=3.8 -> pip
jupyter -> python[version='>=2.7,<2.8.0a0'] -> pip
=================================================================================================[ ERROR: IJulia ]=================================================================================================
LoadError: failed process: Process(setenv(`/nethome/harnold8/.conda/envs/conda_jl/bin/conda install -y jupyter`,String["PATH=/usr/local/packages/miniconda3/bin:/usr/local/packages/miniconda3/bin:/usr/local/packages/miniconda3/bin:/usr/local/packages/miniconda3/bin:/usr/local/packages/miniconda3/bin:/usr/local/packages/miniconda3/bin:/usr/local/packages/miniconda3/bin:/usr/local/packages/miniconda3/bin:/usr/lib64/qt-3.3/bin:/nethome/harnold8/perl5/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/nethome/harnold8/.local/bin:/nethome/harnold8/bin", "QTDIR=/usr/lib64/qt-3.3", "PERL_MM_OPT=INSTALL_BASE=/nethome/harnold8/perl5", "DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-heXaYXpsli,guid=9dbf67b0dd4297c744095d1b5e1352bf", "MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles", "PERL5LIB=/nethome/harnold8/perl5/lib/perl5:", "XDG_SESSION_DESKTOP=gnome-classic", "SSH_AGENT_PID=10081", "XDG_SESSION_TYPE=x11", "USER=harnold8", "QT_IM_MODULE=xim", "USERNAME=harnold8", "GNOME_SHELL_SESSION_MODE=classic", "GDMSESSION=gnome-classic", "MATHEMATICA_HOME=/usr/local/packages/Wolfram/Mathematica/11.2", "XDG_DATA_DIRS=/nethome/harnold8/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/", "LESSOPEN=||/usr/bin/lesspipe.sh %s", "SHELL=/bin/bash", "QT_PLUGIN_PATH=/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins", "XDG_SEAT=seat0", "XAUTHORITY=/run/gdm/auth-for-harnold8-3uU2Qz/database", "XDG_MENU_PREFIX=gnome-", "CONDARC=/nethome/harnold8/.conda/envs/conda_jl/condarc-julia.yml", "SESSION_MANAGER=local/unix:#/tmp/.ICE-unix/9889,unix/unix:/tmp/.ICE-unix/9889", "QTLIB=/usr/lib64/qt-3.3/lib", "XMODIFIERS=#im=none", "TERM=xterm-256color", "HOME=/nethome/harnold8", "HOSTNAME=eas-est-323503.eas.gatech.edu", "QTINC=/usr/lib64/qt-3.3/include", "VTE_VERSION=5202", "COLORTERM=truecolor", "PYTHONIOENCODING=UTF-8", "HISTSIZE=1000", "PERL_LOCAL_LIB_ROOT=:/nethome/harnold8/perl5", "XDG_CURRENT_DESKTOP=GNOME-Classic:GNOME", "LANG=en_US.UTF-8", "SHLVL=2", "LOADEDMODULES=", "IMSETTINGS_INTEGRATE_DESKTOP=yes", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "LOGNAME=harnold8", "OLDPWD=/usr/local/packages/julia/d386e40c17", "SSH_AUTH_SOCK=/run/user/908581/keyring/ssh", "DESKTOP_SESSION=gnome-classic", "GDM_LANG=en_US.UTF-8", "IMSETTINGS_MODULE=none", "XDG_RUNTIME_DIR=/run/user/908581", "_=/usr/local/bin/julia", "QT_GRAPHICSSYSTEM_CHECKED=1", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/d4b04ad0_9e52_41ec_abc0_926decff4097", "GNOME_TERMINAL_SERVICE=:1.121", "PWD=/nethome/harnold8", "KRB5CCNAME=FILE:/tmp/krb5cc_908581_sBQoZH", "MODULESHOME=/usr/share/Modules", "DISPLAY=:0", "BASH_FUNC_module()=() { eval `/usr/bin/modulecmd bash \$*`\n}", "OPENBLAS_NUM_THREADS=8", "LD_PRELOAD=/nethome/harnold8/.julia/v0.6/Conda/deps/usr/lib/libz.so", "HISTCONTROL=ignoredups", "MAIL=/var/spool/mail/harnold8", "XDG_VTNR=1", "CONDA_PREFIX=/nethome/harnold8/.conda/envs/conda_jl", "XDG_SESSION_ID=3", "KDEDIRS=/usr", "PERL_MB_OPT=--install_base /nethome/harnold8/perl5", "WINDOWPATH=1", "LS_COLORS=rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:", "OPENBLAS_MAIN_FREE=1"]), ProcessExited(1)) [1]
while loading /home/harnold8/.julia/v0.6/IJulia/deps/build.jl, in expression starting on line 125

Conda environment is in an unsolvable loop of 'The environment is inconsistent', how to fix it?

A dependency conflict in conda environment seems to cause the environment to be in a state of self-conflict and it is unable to find any useful fix.
I've tried things like conda install anaconda and conda update --all but seems nothing works, they all leads to the same error:
(cv-torch) ubuntu#ubuntu-ThinkPad-P51:~/git/gate_detection$ conda install anaconda
Collecting package metadata (current_repodata.json): done
Solving environment: \
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- conda-forge/linux-64::pytest==5.2.0=py37_0
- pypi/pypi::nbconvert==5.6.0=pypi_0
- pypi/pypi::jupyterlab-server==1.0.6=pypi_0
- pypi/pypi::jupyterlab==1.1.4=pypi_0
- pypi/pypi::notebook==6.0.1=pypi_0
- pypi/pypi::jupyter-client==5.3.3=pypi_0
- pypi/pypi::ipykernel==5.1.2=pypi_0
- pypi/pypi::jupyterlab-desktop==0.1.0=pypi_0 failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: /
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- conda-forge/linux-64::pytest==5.2.0=py37_0
- pypi/pypi::nbconvert==5.6.0=pypi_0
- pypi/pypi::jupyterlab-server==1.0.6=pypi_0
- pypi/pypi::jupyterlab==1.1.4=pypi_0
- pypi/pypi::notebook==6.0.1=pypi_0
- pypi/pypi::jupyter-client==5.3.3=pypi_0
- pypi/pypi::ipykernel==5.1.2=pypi_0
- pypi/pypi::jupyterlab-desktop==0.1.0=pypi_0 failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages. failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Package libprotobuf conflicts for:
tb-nightly -> protobuf[version='>=3.6.0'] -> libprotobuf[version='3.6.1.*|3.7.0.*|3.7.1.*|3.8.0.*|3.9.0.*|3.9.1.*|3.9.2.*|>=3.6.0,<3.6.1.0a0|>=3.6.1,<3.6.2.0a0|>=3.7.0,<3.7.1.0a0|>=3.7.1,<3.8.0a0|>=3.8.0,<3.9.0a0|>=3.9.0,<3.10.0a0|>=3.9.1,<3.10.0a0|>=3.9.2,<3.10.0a0']
protobuf -> libprotobuf[version='3.5.1.1|3.5.1|3.5.2.*|3.6.0.*|3.6.1.*|3.7.0.*|3.7.1.*|3.8.0.*|3.9.0.*|3.9.1.*|3.9.2.*|3.5.2|>=3.4.1,<3.5.0a0|>=3.5.1,<3.6.0a0|>=3.5.2,<3.6.0a0|>=3.6.0,<3.6.1.0a0|>=3.6.1,<3.6.2.0a0|>=3.7.0,<3.7.1.0a0|>=3.7.1,<3.8.0a0|>=3.8.0,<3.9.0a0|>=3.9.0,<3.10.0a0|>=3.9.1,<3.10.0a0|>=3.9.2,<3.10.0a0']
grpcio -> protobuf[version='>=3.5.0'] -> libprotobuf[version='3.5.1.1|3.5.1|3.5.2.*|3.6.0.*|3.6.1.*|3.7.0.*|3.7.1.*|3.8.0.*|3.9.0.*|3.9.1.*|3.9.2.*|3.5.2|>=3.5.1,<3.6.0a0|>=3.5.2,<3.6.0a0|>=3.6.0,<3.6.1.0a0|>=3.6.1,<3.6.2.0a0|>=3.7.0,<3.7.1.0a0|>=3.7.1,<3.8.0a0|>=3.8.0,<3.9.0a0|>=3.9.0,<3.10.0a0|>=3.9.1,<3.10.0a0|>=3.9.2,<3.10.0a0']
opencv -> libprotobuf[version='>=3.4.1,<3.5.0a0|>=3.5.2,<3.6.0a0']
(cv-torch) ubuntu#ubuntu-ThinkPad-P51:~/git/gate_detection$ conda update --all
Collecting package metadata (current_repodata.json): done
Solving environment: /
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- conda-forge/linux-64::pytest==5.2.0=py37_0
- pypi/pypi::ipykernel==5.1.2=pypi_0
- pypi/pypi::jupyterlab-server==1.0.6=pypi_0
- pypi/pypi::jupyter-client==5.3.3=pypi_0
- pypi/pypi::jupyterlab==1.1.4=pypi_0
- pypi/pypi::nbconvert==5.6.0=pypi_0
- pypi/pypi::jupyterlab-desktop==0.1.0=pypi_0
- pypi/pypi::notebook==6.0.1=pypi_0 failed with repodata from current_repodata.json, will retry with next repodata source.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: -
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- conda-forge/linux-64::pytest==5.2.0=py37_0
- pypi/pypi::ipykernel==5.1.2=pypi_0
- pypi/pypi::jupyterlab-server==1.0.6=pypi_0
- pypi/pypi::jupyter-client==5.3.3=pypi_0
- pypi/pypi::jupyterlab==1.1.4=pypi_0
- pypi/pypi::nbconvert==5.6.0=pypi_0
- pypi/pypi::jupyterlab-desktop==0.1.0=pypi_0
- pypi/pypi::notebook==6.0.1=pypi_0 failed
Solving environment: / failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Finding shortest conflict path for libprotobuf[version='>=3.7.1,<3.8.0a0']: 13%|████████████████████▍ | 2/15 [00:00<00:00, 16.01it/s]
Package libprotobuf conflicts for:
tb-nightly -> protobuf[version='>=3.6.0'] -> libprotobuf[version='3.6.1.*|3.7.0.*|3.7.1.*|3.8.0.*|3.9.0.*|3.9.1.*|3.9.2.*|>=3.6.0,<3.6.1.0a0|>=3.6.1,<3.6.2.0a0|>=3.7.0,<3.7.1.0a0|>=3.7.1,<3.8.0a0|>=3.8.0,<3.9.0a0|>=3.9.0,<3.10.0a0|>=3.9.1,<3.10.0a0|>=3.9.2,<3.10.0a0']
protobuf -> libprotobuf[version='3.5.1.1|3.5.1|3.5.2.*|3.6.0.*|3.6.1.*|3.7.0.*|3.7.1.*|3.8.0.*|3.9.0.*|3.9.1.*|3.9.2.*|3.5.2|>=3.4.1,<3.5.0a0|>=3.5.1,<3.6.0a0|>=3.5.2,<3.6.0a0|>=3.6.0,<3.6.1.0a0|>=3.6.1,<3.6.2.0a0|>=3.7.0,<3.7.1.0a0|>=3.7.1,<3.8.0a0|>=3.8.0,<3.9.0a0|>=3.9.0,<3.10.0a0|>=3.9.1,<3.10.0a0|>=3.9.2,<3.10.0a0']
opencv -> libprotobuf[version='>=3.4.1,<3.5.0a0|>=3.5.2,<3.6.0a0']
grpcio -> protobuf[version='>=3.5.0'] -> libprotobuf[version='3.5.1.1|3.5.1|3.5.2.*|3.6.0.*|3.6.1.*|3.7.0.*|3.7.1.*|3.8.0.*|3.9.0.*|3.9.1.*|3.9.2.*|3.5.2|>=3.5.1,<3.6.0a0|>=3.5.2,<3.6.0a0|>=3.6.0,<3.6.1.0a0|>=3.6.1,<3.6.2.0a0|>=3.7.0,<3.7.1.0a0|>=3.7.1,<3.8.0a0|>=3.8.0,<3.9.0a0|>=3.9.0,<3.10.0a0|>=3.9.1,<3.10.0a0|>=3.9.2,<3.10.0a0']
(cv-torch) ubuntu#ubuntu-ThinkPad-P51:~/git/gate_detection$
When I attempt to resolve it manually by removing all the packages that caused the conflict, it gave me an even longer error:
(cv-torch) ubuntu#ubuntu-ThinkPad-P51:~/git/gate_detection$ conda remove tb-nightly protobuf opencv grpcio
Collecting package metadata (repodata.json): done
Solving environment: \
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- pypi/pypi::jupyter-client==5.3.3=pypi_0
- pypi/pypi::ipykernel==5.1.2=pypi_0
- pypi/pypi::nbconvert==5.6.0=pypi_0
- conda-forge/linux-64::pytest==5.2.0=py37_0
- pypi/pypi::notebook==6.0.1=pypi_0
- pypi/pypi::jupyterlab-server==1.0.6=pypi_0
- pypi/pypi::jupyterlab==1.1.4=pypi_0
- pypi/pypi::jupyterlab-desktop==0.1.0=pypi_0 /
Found conflicts! Looking for incompatible packages. failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Package parso conflicts for:
jedi -> parso[version='0.1.0|>=0.1.0,<0.2|>=0.2.0|>=0.3.0|>=0.5.0']
Package libgcc-ng conflicts for:
python=3.7 -> libgcc-ng[version='>=4.9|>=7.2.0|>=7.3.0']
openssl -> libgcc-ng[version='>=4.9|>=7.2.0|>=7.3.0']
numpy -> libgcc-ng[version='>=4.9|>=7.2.0|>=7.3.0']
scipy -> libgcc-ng[version='>=4.9|>=7.2.0|>=7.3.0']
markupsafe -> libgcc-ng[version='>=4.9|>=7.2.0|>=7.3.0']
pyzmq -> libgcc-ng[version='>=4.9|>=7.2.0|>=7.3.0']
mistune -> libgcc-ng[version='>=4.9|>=7.2.0|>=7.3.0']
pytorch -> libgcc-ng[version='>=5.4.0|>=7.3.0']
torchvision -> libgcc-ng[version='>=5.4.0|>=7.3.0']
shapely -> libgcc-ng[version='>=4.9|>=7.2.0|>=7.3.0']
matplotlib -> libgcc-ng[version='>=7.2.0|>=7.3.0']
Package libopenblas conflicts for:
scipy -> libopenblas[version='>=0.2.20,<0.2.21.0a0|>=0.3.2,<0.3.3.0a0|>=0.3.3,<1.0a0']
numpy -> libopenblas[version='>=0.2.20,<0.2.21.0a0|>=0.3.2,<0.3.3.0a0|>=0.3.3,<1.0a0']
Package cycler conflicts for:
matplotlib -> cycler[version='>=0.10']
Package pexpect conflicts for:
ipython -> pexpect
Package jupyterlab_launcher conflicts for:
jupyterlab -> jupyterlab_launcher[version='<0.2|>=0.10.0,<0.11.0|>=0.11.0,<0.12.0|>=0.11.2,<0.12.0|>=0.13.1,<0.14.0|>=0.2.3|>=0.3.0|>=0.4.0|>=0.5.4|>=0.5.4,<0.6.0|>=0.6.0,<0.7.0']
Package jinja2 conflicts for:
notebook -> jinja2
jupyterlab-server -> jinja2[version='>=2.10']
nbconvert -> jinja2[version='>=2.4']
jupyterlab -> jinja2[version='>=2.10']
Package setuptools conflicts for:
bleach -> setuptools
matplotlib -> setuptools
ipython -> setuptools[version='>=18.5']
pygments -> setuptools
jinja2 -> setuptools
markdown -> setuptools[version='>=36']
pytest -> setuptools[version='>=40.0']
pip -> setuptools
Package tornado conflicts for:
notebook -> tornado[version='>=4.1,<7|>=4|>=4,<6|>=5.0|>=5.0,<7']
matplotlib -> tornado
ipykernel -> tornado[version='>=4.0|>=4.2']
terminado -> tornado[version='>=4']
nbconvert -> tornado[version='>=4.0']
jupyterlab -> tornado[version='!=6.0.0,!=6.0.1,!=6.0.2']
jupyter-client -> tornado[version='>=4.1']
Package numpy conflicts for:
pytorch -> numpy[version='>=1.11|>=1.11.3,<2.0a0|>=1.9|>=1.9.3,<2.0a0']
shapely -> numpy[version='1.10.*|1.11.*|1.12.*|1.13.*|1.8.*|1.9.*|>=1.11|>=1.11.3,<2.0a0|>=1.14.6,<2.0a0|>=1.7|>=1.8|>=1.9|>=1.9.3,<2.0a0']
matplotlib -> numpy[version='1.10.*|1.11.*']
torchvision -> numpy[version='>1.11|>=1.11']
scipy -> numpy[version='1.10.*|1.11.*|1.12.*|1.13.*|>=1.11|>=1.11.3,<2.0a0|>=1.14.6,<2.0a0|>=1.15.1,<2.0a0|>=1.9|>=1.9.3,<2.0a0']
Package jupyterlab-server conflicts for:
jupyterlab -> jupyterlab-server~=1.0.0
Package libgcc conflicts for:
pytorch -> libgcc
scipy -> libgcc
Package libstdcxx-ng conflicts for:
python=3.7 -> libstdcxx-ng[version='>=4.9|>=7.2.0|>=7.3.0']
scipy -> libstdcxx-ng[version='>=4.9|>=7.2.0|>=7.3.0']
pyzmq -> libstdcxx-ng[version='>=4.9|>=7.3.0']
numpy -> libstdcxx-ng[version='>=4.9|>=7.3.0']
torchvision -> libstdcxx-ng[version='>=5.4.0|>=7.3.0']
pytorch -> libstdcxx-ng[version='>=5.4.0|>=7.3.0']
matplotlib -> libstdcxx-ng[version='>=7.2.0|>=7.3.0']
Package python-decorator conflicts for:
ipython -> python-decorator
Package python-dateutil conflicts for:
matplotlib -> python-dateutil
jupyter-client -> python-dateutil[version='>=2.1']
Package jupyter_client conflicts for:
ipykernel -> jupyter_client
nbconvert -> jupyter_client[version='>=4.2']
notebook -> jupyter_client[version='>=5.2.0|>=5.3.1']
Package nbconvert conflicts for:
notebook -> nbconvert
Package atomicwrites conflicts for:
pytest -> atomicwrites[version='>=1.0']
Package nbsphinx conflicts for:
nbconvert -> nbsphinx[version='>=0.2.12']
Package mkl_random conflicts for:
numpy -> mkl_random[version='>=1.0.2,<2.0a0']
Package jupyterlab_server conflicts for:
jupyterlab -> jupyterlab_server[version='>=0.2.0,<0.3.0|>=1.0.0,<2.0.0']
Package backports.functools_lru_cache conflicts for:
matplotlib -> backports.functools_lru_cache
Package entrypoints conflicts for:
nbconvert -> entrypoints[version='>=0.2.2']
Package webencodings conflicts for:
bleach -> webencodings
Package pandocfilters conflicts for:
nbconvert -> pandocfilters[version='>=1.4.1']
Package futures conflicts for:
jupyterlab -> futures
Package openblas conflicts for:
numpy -> openblas[version='0.2.*|0.2.18.*|0.2.18|0.2.18.*|0.2.19|0.2.19.*|0.2.20|0.2.20.*|>=0.2.15|>=0.2.20,<0.2.21.0a0|>=0.3.3,<0.3.4.0a0']
scipy -> openblas[version='0.2.18.*|0.2.18|0.2.18.*|0.2.19|0.2.19.*|0.2.20|0.2.20.*|>=0.2.20,<0.2.21.0a0|>=0.3.3,<0.3.4.0a0']
Package ptyprocess conflicts for:
terminado -> ptyprocess
pexpect -> ptyprocess[version='>=0.5']
Package libsodium conflicts for:
pyzmq -> libsodium[version='>=1.0.16,<1.0.17.0a0|>=1.0.17,<1.0.18.0a0']
Package ipaddress conflicts for:
notebook -> ipaddress
Package backports.shutil_get_terminal_size conflicts for:
ipython -> backports.shutil_get_terminal_size
Package jupyter-client conflicts for:
ipykernel -> jupyter-client
nbconvert -> jupyter-client[version='>=5.3.1']
notebook -> jupyter-client[version='>=5.3.1']
Package packaging conflicts for:
pytest -> packaging
Package json5 conflicts for:
jupyterlab-server -> json5
Package pickleshare conflicts for:
ipython -> pickleshare
Package libblas conflicts for:
numpy -> libblas[version='>=3.8.0,<4.0a0']
scipy -> libblas[version='>=3.8.0,<4.0a0']
Package libgfortran conflicts for:
numpy -> libgfortran[version='>=3.0']
scipy -> libgfortran[version='>=3.0']
Package * conflicts for:
scipy -> *[track_features=blas_openblas]
numpy -> *[track_features=blas_openblas]
Package ipython-genutils conflicts for:
notebook -> ipython-genutils
Package prometheus-client conflicts for:
notebook -> prometheus-client
Package tk conflicts for:
python=3.7 -> tk[version='>=8.6.7,<8.7.0a0|>=8.6.8,<8.7.0a0|>=8.6.9,<8.7.0a0']
matplotlib -> tk[version='8.5.*|8.6.*|8.6.*,>=8.6.7,<8.7.0a0|8.6.*,>=8.6.8,<8.7.0a0']
Package traitlets conflicts for:
ipykernel -> traitlets[version='>=4.1|>=4.1.0']
nbconvert -> traitlets[version='>=4.2']
ipython -> traitlets[version='>=4.2']
jupyter-client -> traitlets
notebook -> traitlets[version='>=4.2.1|>=4.3']
Package pytorch conflicts for:
torchvision -> pytorch[version='1.1.*|1.2.0.*|>=0.3|>=0.4']
Package pyparsing conflicts for:
matplotlib -> pyparsing
Package prompt-toolkit conflicts for:
ipython -> prompt-toolkit[version='<2.1.0,>=2.0.0']
Package freetype conflicts for:
matplotlib -> freetype[version='2.6.*|>=2.8,<2.9.0a0|>=2.9.1,<3.0a0']
Package blas conflicts for:
numpy -> blas[version='*|*|1.0|1.1',build='openblas|openblas|openblas|mkl|mkl']
pytorch -> blas==1.0=mkl
scipy -> blas[version='*|*|1.0|1.1',build='openblas|openblas|openblas|mkl|mkl']
Package six conflicts for:
absl-py -> six
bleach -> six[version='>=1.9.0']
prompt-toolkit -> six[version='>=1.9.0']
pytest -> six[version='>=1.10.0']
torchvision -> six
Package sphinx conflicts for:
nbconvert -> sphinx[version='>=1.5.1']
ipython -> sphinx[version='>=1.3']
Package mock conflicts for:
jupytext -> mock
Package libcblas conflicts for:
scipy -> libcblas[version='>=3.8.0,<4.0a0']
numpy -> libcblas[version='>=3.8.0,<4.0a0']
Package future conflicts for:
pytorch -> future
torchvision -> future
Package terminado conflicts for:
notebook -> terminado[version='>=0.3.3|>=0.8.1']
Package xz conflicts for:
python=3.7 -> xz[version='>=5.2.3,<5.3.0a0|>=5.2.4,<5.3.0a0|>=5.2.4,<6.0a0']
Package markupsafe conflicts for:
jinja2 -> markupsafe[version='>=0.23']
Package funcsigs conflicts for:
pytest -> funcsigs[version='>=1.0']
Package mistune conflicts for:
nbconvert -> mistune[version='<2,>=0.8.1|>0.6|>=0.7.4|>=0.8.1']
Package zeromq conflicts for:
pyzmq -> zeromq[version='4.1.*|4.2.*|4.2.1|>=4.2.3,<4.3|>=4.2.5,<4.2.6.0a0|>=4.2.5,<4.3|>=4.2.5,<4.3.0a0|>=4.3.1,<4.4.0a0|>=4.3.2,<4.4.0a0']
Package icu conflicts for:
matplotlib -> icu[version='>=58.2,<59.0a0']
Package pyzmq conflicts for:
jupyter-client -> pyzmq[version='>=13']
notebook -> pyzmq[version='>=17']
Package pathlib2 conflicts for:
pytest -> pathlib2[version='>=2.2.0']
pickleshare -> pathlib2
ipython -> pathlib2
testpath -> pathlib2
Package jupyterlab conflicts for:
jupyterlab-desktop -> jupyterlab[version='>=0.35.0']
Package more-itertools conflicts for:
pytest -> more-itertools[version='>=4.0|>=4.0,>=4.0,<6.0']
Package py conflicts for:
pytest -> py[version='>=1.4.29|>=1.4.33|>=1.5.0']
Package mkl conflicts for:
numpy -> mkl[version='>=2018.0.0,<2019.0a0|>=2018.0.1,<2019.0a0|>=2018.0.2,<2019.0a0|>=2018.0.3,<2019.0a0|>=2019.1,<2020.0a0|>=2019.3,<2020.0a0|>=2019.4,<2020.0a0']
scipy -> mkl[version='>=2018.0.0,<2019.0a0|>=2018.0.2,<2019.0a0|>=2018.0.3,<2019.0a0|>=2019.1,<2020.0a0|>=2019.4,<2020.0a0']
pytorch -> mkl[version='>=2018.0.2,<2019.0a0|>=2018.0.3,<2019.0a0|>=2019.1,<2020.0a0|>=2019.4,<2020.0a0']
Package defusedxml conflicts for:
nbconvert -> defusedxml
Package ipython_genutils conflicts for:
notebook -> ipython_genutils
Package bzip2 conflicts for:
python=3.7 -> bzip2[version='>=1.0.6,<2.0a0']
Package _pytorch_select conflicts for:
torchvision -> _pytorch_select[version='0.1|0.2']
pytorch -> _pytorch_select[version='0.1|0.2']
Package jedi conflicts for:
ipython -> jedi[version='>=0.10']
Package nose conflicts for:
ipython -> nose[version='>=0.10.1']
Package cudatoolkit conflicts for:
pytorch -> cudatoolkit[version='10.0.*|7.5.*|8.0.*|9.0.*|9.2.*|>=10.0.130,<10.1.0a0|>=8.0,<8.1.0a0|>=9.0,<9.1.0a0|>=9.2,<9.3.0a0']
torchvision -> cudatoolkit[version='>=10.0.130,<10.1.0a0|>=9.0,<9.1.0a0|>=9.2,<9.3.0a0']
Package babel conflicts for:
jinja2 -> babel[version='>=0.8']
Package backcall conflicts for:
ipython -> backcall
Package nodejs conflicts for:
jupyterlab -> nodejs[version='<10']
Package ipykernel conflicts for:
notebook -> ipykernel
Package jupyter-core conflicts for:
jupyter-client -> jupyter-core
nbconvert -> jupyter-core
notebook -> jupyter-core[version='>=4.4.0']
Package functools32 conflicts for:
matplotlib -> functools32
Package ipywidgets conflicts for:
nbconvert -> ipywidgets[version='>=7']
Package libpng conflicts for:
matplotlib -> libpng[version='>=1.6.23,<1.7|>=1.6.32,<1.7.0a0|>=1.6.34,<1.7.0a0|>=1.6.35,<1.7.0a0|>=1.6.36,<1.7.0a0|>=1.6.37,<1.7.0a0']
Package pytest conflicts for:
parso -> pytest[version='>=3.0.7']
jedi -> pytest[version='<5.0.0,>=3.1.0']
Package openssl conflicts for:
python=3.7 -> openssl[version='>=1.0.2o,<1.0.3a|>=1.0.2p,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a']
Package subprocess32 conflicts for:
matplotlib -> subprocess32
jupyterlab -> subprocess32
Package pygments conflicts for:
ipython -> pygments
nbconvert -> pygments
Package pytz conflicts for:
matplotlib -> pytz
Package cffi conflicts for:
pytorch -> cffi
Package numpy-base conflicts for:
numpy -> numpy-base[version='1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.17.2.*|1.14.3|1.14.3|1.14.3|1.14.3|1.14.3|1.14.3|1.14.4|1.14.4|1.14.4|1.14.4|1.14.4|1.14.4|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.15.0|1.15.0|1.15.0|1.15.0|1.15.0|1.15.0|1.15.0|1.15.0|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.3|1.15.3|1.15.3|1.15.3|1.15.3|1.15.3|1.15.4|1.15.4|1.15.4|1.15.4|1.15.4|1.15.4|1.15.4|1.15.4|1.15.4|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.2|1.16.2|1.16.2|1.16.2|1.16.2|1.16.2|1.16.3|1.16.3|1.16.3|1.16.3|1.16.3|1.16.3|1.16.4|1.16.4|1.16.4|1.16.4|1.16.4|1.16.4|1.16.5|1.16.5|1.16.5|1.16.5|1.16.5|1.16.5|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|>=1.9.3,<2.0a0',build='py37hdbf6ddf_7|py37h2b20989_7|py36hdbf6ddf_7|py36h2b20989_7|py35hdbf6ddf_7|py27hdbf6ddf_6|py27h2b20989_7|py27h2b20989_6|py37hde5b4d6_0|py36hde5b4d6_0|py36h2f8d375_0|py27h2f8d375_0|py36hde5b4d6_0|py36h2f8d375_0|py27hde5b4d6_0|py27h2f8d375_0|py37hde5b4d6_0|py37h2f8d375_0|py36h2f8d375_0|py27hde5b4d6_0|py27h2f8d375_0|py37hde5b4d6_0|py36h2f8d375_0|py27hde5b4d6_0|py27h2f8d375_0|py37hde5b4d6_1|py37h2f8d375_1|py36hde5b4d6_0|py36h2f8d375_0|py27hde5b4d6_1|py27hde5b4d6_0|py37hde5b4d6_0|py37h2f8d375_1|py36h2f8d375_0|py27hde5b4d6_1|py27hde5b4d6_0|py27h2f8d375_0|py37hde5b4d6_0|py36hde5b4d6_0|py27hde5b4d6_0|py27h81de0dd_0|py27h2f8d375_0|py37h2f8d375_0|py36h2f8d375_0|py27h2f8d375_0|py37h81de0dd_1|py37h2f8d375_1|py37h2f8d375_0|py36h2f8d375_0|py35h81de0dd_0|py35h2f8d375_0|py27h81de0dd_1|py27h81de0dd_0|py27h2f8d375_0|py37h74e8950_0|py37h2f8d375_0|py36h81de0dd_0|py36h2f8d375_0|py35h81de0dd_0|py35h2f8d375_0|py27h81de0dd_0|py27h2f8d375_0|py37h7cdd4dd_0|py35h7cdd4dd_0|py35h3dfced4_0|py27h7cdd4dd_0|py37hde5b4d6_5|py36hde5b4d6_5|py35h2f8d375_4|py27h2f8d375_5|py37hdbf6ddf_3|py37hdbf6ddf_2|py37hdbf6ddf_1|py37h2b20989_4|py37h2b20989_3|py36hdbf6ddf_4|py36hdbf6ddf_3|py36hdbf6ddf_0|py36h2b20989_4|py36h2b20989_2|py36h2b20989_1|py36h2b20989_0|py35hdbf6ddf_0|py35h2b20989_4|py27hdbf6ddf_4|py27hdbf6ddf_2|py27hdbf6ddf_1|py27hdbf6ddf_0|py27h2b20989_4|py27h2b20989_2|py27h2b20989_1|py27h2b20989_0|py36hdbf6ddf_0|py36h2b20989_0|py35h2b20989_0|py27hdbf6ddf_0|py36h9be14a7_1|py35h0ea5e3f_1|py37hdbf6ddf_8|py37h81de0dd_10|py37h7cdd4dd_9|py37h74e8950_10|py37h2f8d375_11|py37h2f8d375_10|py37h2b20989_8|py37h2b20989_7|py36h81de0dd_10|py36h7cdd4dd_9|py36h74e8950_9|py36h74e8950_10|py36h2b20989_7|py35h81de0dd_9|py35h7cdd4dd_9|py35h74e8950_10|py35h3dfced4_9|py27hde5b4d6_12|py27hdbf6ddf_8|py27h81de0dd_9|py27h81de0dd_10|py27h7cdd4dd_9|py27h74e8950_9|py27h2f8d375_11|py27h2f8d375_10|py27h2b20989_7|py27h2b20989_8|py27h2f8d375_12|py27h3dfced4_9|py27h74e8950_10|py27hdbf6ddf_7|py27hde5b4d6_11|py35h2b20989_8|py35h2f8d375_10|py35h74e8950_9|py35h81de0dd_10|py35hdbf6ddf_8|py36h2b20989_8|py36h2f8d375_10|py36h2f8d375_11|py36h2f8d375_12|py36h3dfced4_9|py36h81de0dd_9|py36hdbf6ddf_7|py36hdbf6ddf_8|py36hde5b4d6_11|py36hde5b4d6_12|py37h2f8d375_12|py37h3dfced4_9|py37h74e8950_9|py37h81de0dd_9|py37hdbf6ddf_7|py37hde5b4d6_11|py37hde5b4d6_12|py27h0ea5e3f_1|py27h9be14a7_1|py35h9be14a7_1|py36h0ea5e3f_1|py27h2b20989_0|py35hdbf6ddf_0|py27h2b20989_3|py27hdbf6ddf_3|py35hdbf6ddf_4|py36h2b20989_3|py36hdbf6ddf_1|py36hdbf6ddf_2|py37h2b20989_1|py37h2b20989_2|py37hdbf6ddf_4|py27h2f8d375_4|py27h81de0dd_4|py27hde5b4d6_5|py35h81de0dd_4|py36h2f8d375_4|py36h2f8d375_5|py36h81de0dd_4|py37h2f8d375_4|py37h2f8d375_5|py37h81de0dd_4|py27h3dfced4_0|py36h3dfced4_0|py36h7cdd4dd_0|py37h3dfced4_0|py27h74e8950_0|py35h74e8950_0|py36h74e8950_0|py37h81de0dd_0|py27h2f8d375_1|py36h2f8d375_1|py36h81de0dd_0|py36h81de0dd_1|py37h81de0dd_0|py27h81de0dd_0|py36h81de0dd_0|py37h81de0dd_0|py36h2f8d375_0|py36h81de0dd_0|py37h2f8d375_0|py37h81de0dd_0|py27h2f8d375_1|py36h2f8d375_1|py36hde5b4d6_0|py36hde5b4d6_1|py37h2f8d375_0|py37hde5b4d6_1|py27h2f8d375_0|py27h2f8d375_1|py36h2f8d375_1|py36hde5b4d6_1|py37h2f8d375_0|py37hde5b4d6_0|py36hde5b4d6_0|py37h2f8d375_0|py36hde5b4d6_0|py37h2f8d375_0|py37hde5b4d6_0|py27hde5b4d6_0|py37h2f8d375_0|py27hdbf6ddf_7|py35h2b20989_7|py36h2b20989_6|py36hdbf6ddf_6|py37h2b20989_6|py37hdbf6ddf_6']
Package nbformat conflicts for:
nbconvert -> nbformat[version='>=4.4']
notebook -> nbformat
jupytext -> nbformat[version='>=4.0.0']
Package wheel conflicts for:
pip -> wheel
Package configparser conflicts for:
entrypoints -> configparser[version='>=3.5']
Package pyyaml conflicts for:
jupytext -> pyyaml
Package wrapt conflicts for:
deprecated -> wrapt[version='<2,>=1']
Package notebook conflicts for:
jupyterlab-server -> notebook[version='>=4.2.0']
jupyterlab -> notebook[version='>=4.2|>=4.3|>=4.3.1']
Package testpath conflicts for:
nbconvert -> testpath
Package jupyter_core conflicts for:
notebook -> jupyter_core[version='>=4.4.0']
nbconvert -> jupyter_core
Package python-pathlib2 conflicts for:
pickleshare -> python-pathlib2
Package ca-certificates conflicts for:
openssl -> ca-certificates
Package ipython conflicts for:
ipykernel -> ipython[version='>=4.0|>=4.0.0|>=5.0|>=5.0.0']
Package matplotlib-base conflicts for:
matplotlib -> matplotlib-base[version='2.1.2|2.2.3|2.2.3|2.2.3|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|3.0.1|3.0.2|3.0.2|3.0.2|3.0.2|3.0.2|3.0.3|3.0.3|3.0.3|3.0.3|3.1.0|3.1.0|3.1.0|3.1.0|3.1.1|3.1.1|3.1.1|3.1.1',build='py37hfd891ef_0|py37he7580a8_1|py37hfd891ef_1|py37h5f35d83_0|py37h5f35d83_1|py37h167e16e_0|py36h5f35d83_1|py36h167e16e_0|py37h167e16e_1001|py37hc2fb212_1001|py37h250f245_1|py36h250f245_1|py37h60b886d_1|py36h250f245_1|py27h250f245_1|py37h250f245_1|py27h60b886d_1|py36h60b886d_1|py27h250f245_1|py27hfd891ef_0|py36hfd891ef_0|py37hfd891ef_0|py36h167e16e_1000|py36h167e16e_1001|py36h167e16e_1002|py37h167e16e_1002|py36h5f35d83_0|py36hfd891ef_1|py36he7580a8_1|py36hfd891ef_0']
Package numpydoc conflicts for:
jedi -> numpydoc
Package libgfortran-ng conflicts for:
numpy -> libgfortran-ng[version='>=4.9|>=7,<8.0a0|>=7.2.0,<8.0a0']
scipy -> libgfortran-ng[version='>=7,<8.0a0|>=7.2.0,<8.0a0']
Package nccl conflicts for:
pytorch -> nccl[version='<2']
Package liblapack conflicts for:
...
In this case, how to make conda saving itself? Also, why conda's conflict resolver seems to be so much weaker than apt? The later always gave several alternatives that can results in a reliable fix.
You have mix used pip and conda, which caused a dependency conflict. The simplest solution is to reinstall Anaconda to recreate the broken "base" environment.
Tips:
Use a virtual environment whenever you are working on a project. Don't install all packages in the "base" environment. The "base" is designed to work with conda the command, not recommended for your projects.
Don't mix use pip and conda in the same environment, unless you read the following reference.
Extended Reading
Create an environment from Get started with conda
Using Pip in a Conda Environment
The anaconda consists of a number of packages, so I normally start by:
$ conda create -n env_name python=3.6 anaconda
This way, it will pull in list of packages in anaconda from anaconda.org, and it should be self-consistent.
Many packages support conda install, but some only pip. The preference is to do conda install as it has a better dependency detection and resolution mechanism,
So after env is created, conda activate env_name, then conda install packages and then pip install the packages.
When I find packages are in conflict (say pkgA, pkgB, pkgC), I normally just do: conda install pkgA pkgB pkgC and let conda to pick and choose the one to resolve the issues. (This does not always though...)
This solved my problem.
I created a new environment using this:
"What worked for me :
run spyder from the environment (after source activate)
go to
Tools --> preferences --> python Interpreter and select the python file from the env you want to link to spyder ex : /home/you/anaconda3/envs/your_env/bin/python
Worked on ubuntu 16, spyder3, python3.6."
[LINK: https://stackoverflow.com/questions/30170468/how-to-run-spyder-in-virtual-environment/30170469#30170469]
Then proceed with installing the package I need. The issues were miraculously gone :)
Then I typed this in the anaconda environment
spyder activate MyEnvironment

Solving environment: failed

when i tried to install OpenCV3 it is showing this error and other libraries are installing...
(base) C:\WINDOWS\system32>conda install -c menpo opencv3
Collecting package metadata (current_repodata.json): done
Solving environment: failed
Collecting package metadata (repodata.json): done
Solving environment: failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
- _ipyw_jlab_nb_ext_conf -> ipywidgets -> widgetsnbextension[version='>=1.2.3'] -> notebook[version='>=4.2.0'] -> nbconvert -> bleach
- bleach
- ipywidgets -> widgetsnbextension[version='>=1.2.3'] -> notebook[version='>=4.2.0'] -> nbconvert -> bleach
- jupyterlab -> jupyterlab_server[version='>=0.2.0,<0.3.0'] -> notebook -> nbconvert -> bleach
- jupyterlab_server -> notebook -> nbconvert -> bleach
- nbconvert -> bleach
- notebook -> nbconvert -> bleach
- pip -> python[version='>=3.6,<3.7.0a0']
- widgetsnbextension -> notebook[version='>=4.2.0'] -> nbconvert -> bleach
Create a new conda enviroment and install opencv from there. It's very likely there is dependency clash in the default conda environment.
conda create -n opencv4
conda activate opencv4
conda install -c conda-forge opencv
At least this works on my end.
The problem is channel priority is strict. Try setting the following which should solve the issue:
conda config --set channel_priority flexible

Resources