How can I install opencv3 for python3 with conda? - python

I tried to install opencv3 with conda on my mac. Somehow opencv seems to be installed for python2.7. Actually I removed that with
brew uninstall opencv
heres the error for
conda install -c menpo opencv3
Fetching package metadata .............
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- opencv3 -> python 2.7*
- python 3.6*
Use "conda info <package>" to see the dependencies for each package.

Since I only needed the python version of opencv
pip install opencv-python
worked fine. Thanks to #Max

Related

UnsatisfiableError conda-forge 3.7

I've been having trouble installing some packages with conda (on python 3.7 on Windows in a conda env). For example if I try install the shap package:
conda install -c conda-forge shap
I get
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- conda-forge/win-64::wincertstore==0.2=py37_1002
- shap
Use "conda info <package>" to see the dependencies for each package.
It installs fine with pip. But how could I resolve the error to use conda instead?

linux how to install kivy with conda?

i want to add kivy in my anaconda python.
i use anaconda3 last version with python3.6 on Centos 7 64bits
i try to use last version in anaconda cloud :
./conda install --force --no-deps -c wgarcia kivy
or
./conda install --force --no-deps -c wgarcia kivy=1.9.1
i try with other version in other repo (1.9.0,1.8...) but i have same error
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- kivy=1.9.1
- sphinx
Use "conda info <package>" to see the dependencies for each package.
please, how to install Kivy (1.10 ?) in my anaconda ?

pyglet installation error in anaconda (python 3.6)

I am getting the following error when I tried to install pyglet:
$ conda install -c conda-forge pyglet
Fetching package metadata .............
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- pyglet -> python 3.5* -> xz 5.0.5
- python 3.6*
Use "conda info <package>" to see the dependencies for each package.
I had to downgrade my pyglet version from 1.3 using "pip install"
pip install pyglet==1.2.4

Unable to install shogun on ubuntu

I have installed anaconda3 on my ubuntu 16.04. I am now trying to install shogun toolbox. I am typing the following command:-
conda install -c conda-forge shogun
And I am getting the following error:-
UnsatisfiableError: The following specifications were found to be in conflict:
- blaze
- python 3.6*
- shogun
Use "conda info <package>" to see the dependencies for each package.
Can anyone help?
Though not exact match of the question asked but might help in understanding the Unsatisfiable Error meaning.
conda install python=3.6 UnsatisfiableError
do:
conda uninstall pytables
then:
conda install shogun

Installation failed while installing pydoop using conda

I have anaconda installed on ubuntu, i am using spyder for python development
I am trying command
conda install -c ijstokes pydoop
it is giving:
Fetching package metadata .............
Solving package specifications: .
UnsatisfiableError: The following specifications were found to be in conflict:
- pydoop -> python 3.5* -> openssl 1.0.1*
- pydoop -> python 3.5* -> xz 5.0.5
- python 3.6*
Use "conda info " to see the dependencies for each package.
Dont know what to do next please help.
The error states that there is a version conflict between pydoop which has a dependency on python 3.5* and python 3.6*. The easiest way to fix this is to make an environment with Python 3.5.
conda create -n py35 -c ijstokes python=3.5 pydoop
This package for conda is fairly old. Why not try to install pydoop from pypi?
pip install pydoop

Categories

Resources