-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't Install opencv - caused by conflict #2448
Comments
According to |
It looks like |
|
I'm seeing the same issue with Python 3.6, trying to install opencv using conda install fails. I get:
|
@jd20 Any work around yet? |
@vivekpatani Not really, other than to switch to using virtualenv specifically for OpenCV 3.x on Sierra. These instructions worked for me (with some tweaks for Python 3.6 instead of 3.5): http://www.pyimagesearch.com/2016/12/05/macos-install-opencv-3-and-python-3-5/ |
Perhaps file an issue with conda-forge to update opencv for python 3.6 compatibility? |
@vivekpatani @jd20 I put together a work around here: http://stackoverflow.com/questions/41873941/cant-install-opencv3-on-anaconda3-python3-6-on-macos/42704182#42704182 |
As you are using Python 3, install opencv3: |
@awithey the menpo opencv3 package does not seem to work together with python3 (Windows 10):
|
@jo-m @sml0820 @jd20
Until conda finds a solution to this, it would be a good work around, since you'd be staying in the conda environment without breaking a sweat! This solution was devised by @azzurolilc |
Yes, I did the same now. However, I did it in a conda venv:
|
UnsatisfiableError: The following specifications were found to be in conflict:
to @jo-m |
How to fix that problem ? I got a suggestion that to use `Current conda install:
` `# packages in environment at /Users/robiulislam/anaconda: _license 1.1 py36_1 |
@irobiul Can you please make sure you are importing the correct packages? Can you paste complete code on pastebin and send us a link? |
`import cv2 img = cv2.imread('test1.png') cv2.imshow('Amanda', img) @vivekpatani I got error
|
@irobiul Your issue is not related to the current issue, it is about failing to find GTK - Image viewer or whatever equivalent lib works for your OS. |
@vivekpatani; So, how can I solve that problem ? |
@connect2robiul can't your read the comments above your first comment? downgrade python 3.6 to python 3.5 first! |
I had the following error when I try UnsatisfiableError: The following specifications were found to be in conflict:
Could anyone help with this? |
I encountered the same error and the following steps solved the problem |
My command:
|
@farazahmad759 bad solution (from python 3 to python 2...) |
I had to create a new conda environment:
I'm using conda v4.7.10 on Linux. |
I fixed it using pip |
On Windows at least, OpenCV can be installed by DOWNGRADING some packages. This can be done automatically by updating anaconda using the following commands:
|
A conflict lived 4 years...... |
Well, the conflict still occurs today..... wow.... |
strange after 4 year there is no solution yet |
Hi there, thank you for your contribution to Conda! This issue has been automatically locked since it has not had recent activity after it was closed. Please open a new issue if needed. |
Thank you @msarahan for the suggestion in #2436
Anyway, I tried installing
opencv
usingconda install opencv
Because I see that the package is available for Mac and I'm trying to utilize Conda as much as I can, even though, yes I know that I can simply build
opencv
and have the python package copied to the site-package.However, this failed and I got this output
This is the output of
conda list
Also, this is the output of
conda info
As this is the first time using Conda, I'd really love to tackle this issue so that in the future I know what to do
Cheers :)
The text was updated successfully, but these errors were encountered: