Comments (8)
Yes you can use this on Windows - if you successfully ran the commands I listed, you will get a .tar.gz
file (conda prints the path to it when it tells you that you can upload it to binstar) containing the OpenCV3 Python conda package which can be installed as you gave.
You cannot use the git repository because this set of recipes is full of patches that make the code actually compile - these rely on the specific 3.0.0 release of OpenCV3 and OpenCV-contrib.
from conda-opencv3.
I noted that conda requires a package called patch and give me an error message:
Applying patch: C:/ ... _mjpeg_decoder.patch
Did not find 'patch' in C:\Anaconda3....
I tried to install it directly using anaconda 3 but this package depends on python 2.7. Then I installed a version for python 3.4 using pip. But conda cannot use it.
Do you have experience with this issue?
Thank you in advance,
CHristian
from conda-opencv3.
If you have correctly placed the conda
binary directory on your path then conda
ships with the patch
utility. Regardless, you could use something like cmder as your shell, which will also give you patch
. Run conda build
from inside a cmder shell and enjoy the Unix-like experience :)
I tried to install it directly using anaconda 3 but this package depends on python 2.7. Then I installed a version for python 3.4 using pip. But conda cannot use it.
I don't know what you meant by this? What package depends on Python 2.7? This repo makes builds for all Python versions. Try:
set CONDA_PY=34
conda build conda
To build the Python 3.4 version inside a Python 2.7 Miniconda environment.
from conda-opencv3.
@patricksnape I tried your advice, however patch does not exist in my conda installation. The cmder shell works but it also gives me an error about missing patch.
from conda-opencv3.
Hmm. I'm confused why this works for me and not you! It definitely ships with conda otherwise the conda meta.yaml couldn't contain the patch section. Try grabbing the patch command from here and putting it on your path (maybe in the conda bin
folder?) If it still fails as missing patch then you aren't placing it on your path correctly!
from conda-opencv3.
Also - as a note: this is exactly why I provide this repository - because building this software is a nightmare. I cannot stress more that you shouldn't bother trying to build it unless you absolutely have to. Why don't you just use conda?
from conda-opencv3.
@patricksnape I will try download and put patch in the bin folder. I want to build the library beacuse I am using Python 3. Conda only install opencv for python 2.7. But if there are not other solution, I will use Python 2.7 with the conda installation. Thank you very much!
Best regards.
from conda-opencv3.
You don't need to, conda will install OpenCV3 for Python 3, just install it from my repository! Seriously, run these commands:
conda create -n opencv3 python=3
activate opencv3
conda install -c menpo opencv3
That should install OpenCV3 in a Python 3 environment!
from conda-opencv3.
Related Issues (20)
- opencv3 3.1.0 requires numpy 1.11.0 which breaks cx_freeze HOT 2
- Missing Methods ? HOT 2
- Build and link against Tesseract for OpenCV text module HOT 5
- ImportError: libXdmcp.so.6: cannot open shared object file: No such file or directory HOT 1
- Plan to build opencv 3.2 HOT 4
- "conda build conda" fails with error "cannot find hdf5.h" and build is pointing to a scrambled path like " _b_env_placehold_placehold_placehold_placehold.... goes on" HOT 8
- opencv: hdf5 bug-fix HOT 1
- python 3.6 packages HOT 1
- Links against libpng12, conda requirement is for libpng16 HOT 7
- Opencv3 cannot install with Python 3.6 on OS X 10.12 HOT 1
- Cannot find opencv3 3.2.0 with OS X 10.12 HOT 1
- OpenCVConfig.cmake contains wrong path info HOT 1
- Build error due to runaway repeated _placehold string in history file HOT 3
- Error while "Built target opencv_imgproc" HOT 7
- Build Error HOT 1
- Unable to "import cv2" after building opencv with conda-build HOT 3
- Cannot build Conda on Windows 10 HOT 2
- build error in centos7 & ppc64le (IBM powerpc) HOT 2
- build error in macOS Sierra HOT 2
- SHA256 mismatch after conda build + can't find package tar.gz HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conda-opencv3.