Skip to content
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

opencv3 3.1.0 requires numpy 1.11.0 which breaks cx_freeze #10

Open
hschokker opened this issue Jun 6, 2016 · 2 comments
Open

opencv3 3.1.0 requires numpy 1.11.0 which breaks cx_freeze #10

hschokker opened this issue Jun 6, 2016 · 2 comments

Comments

@hschokker
Copy link

As the title states, when installing opencv3 3.1.0 it requires to update numpy to 1.11.0. This version of numpy gives me errors when using cx_freeze to create an executable under windows 7 64 bit. I am running python 3.4 64 bit (anaconda).

If there is a way to install opencv3 3.0.0 I would be helped.

@patricksnape
Copy link
Contributor

Oh - what is the error exactly? The issue is that our automated Windows build are all shared by a single account and only one build can run at a time. Therefore, have huge build matrices that take a long time to build really starts to hurt the other packages we provide as we end up being stuck waiting for other projects to complete.

Therefore, providing builds for OpenCV for many numpy versions across 3 Python versions becomes prohibitively expensive for the project. You are welcome to build OpenCV yourself using the recipe, or alternatively you could wait for conda-forge to merge in OpenCV 3 where both numpy 1.10 and 1.11 builds will be provided.

@hschokker
Copy link
Author

hschokker commented Jun 6, 2016

I have to type it by hand since logging in batch doesn't work when I get this error:

Traceback (most recent call last):
File "setup.py", line 2, in
import numpy as np
File "C:\Users\myname\AppData\Local\Continuum\Anaconda3\lib\site-packages\numpy__init__.py", line 180, in
from . import add_newdocs
File "C:\Users\myname\AppData\Local\Continuum\Anaconda3\lib\site-packages\numpy\add_newdocs.py", line 13, in

..And similar for these:
from numpy.lib import add_newdoc
from .type_check import *
import numpy.core.numeric as _nx
from . import multiarray
ImportError: DLL load failed: The specified module could not be found.

I get this error when I installed opencv3 3.1.0 and had the numpy version updated to 1.11.0. I will next try to downgrade numpy to 1.9.3 which worked for me with opencv3 3.0.0 before. (Probably this won't work)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants