Is OpenCV 3.4.3 compatible with Python 3.6.7 (64bit) on a 64bit windows 10 OS?
up vote
0
down vote
favorite
I am totally new to installing openCV. On internet there are so many confusing terms such as Anaconda, Wheels packages, pip, numpy, etc etc.
However, all I want to do is simply install python 3.6.7 from python website and install any compatible OpenCV version. I am not sure if I need numpy/matplotlib etc.
Can anyone please help me in completing this installation? also I am not quite sure how to integrate OpenCV and Python to execute a piece of code...
I greatly appreciate if someone can explain it to me in simple layman terms. Thank you so much!
python opencv
add a comment |
up vote
0
down vote
favorite
I am totally new to installing openCV. On internet there are so many confusing terms such as Anaconda, Wheels packages, pip, numpy, etc etc.
However, all I want to do is simply install python 3.6.7 from python website and install any compatible OpenCV version. I am not sure if I need numpy/matplotlib etc.
Can anyone please help me in completing this installation? also I am not quite sure how to integrate OpenCV and Python to execute a piece of code...
I greatly appreciate if someone can explain it to me in simple layman terms. Thank you so much!
python opencv
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am totally new to installing openCV. On internet there are so many confusing terms such as Anaconda, Wheels packages, pip, numpy, etc etc.
However, all I want to do is simply install python 3.6.7 from python website and install any compatible OpenCV version. I am not sure if I need numpy/matplotlib etc.
Can anyone please help me in completing this installation? also I am not quite sure how to integrate OpenCV and Python to execute a piece of code...
I greatly appreciate if someone can explain it to me in simple layman terms. Thank you so much!
python opencv
I am totally new to installing openCV. On internet there are so many confusing terms such as Anaconda, Wheels packages, pip, numpy, etc etc.
However, all I want to do is simply install python 3.6.7 from python website and install any compatible OpenCV version. I am not sure if I need numpy/matplotlib etc.
Can anyone please help me in completing this installation? also I am not quite sure how to integrate OpenCV and Python to execute a piece of code...
I greatly appreciate if someone can explain it to me in simple layman terms. Thank you so much!
python opencv
python opencv
asked Nov 9 at 20:29
user20707
53
53
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
OK, if you are using python 3.6 - 64bits in windows OS (please be sure that it appear at the begin on your "python command line") first of all you have to go to this page: "https://www.lfd.uci.edu/~gohlke/pythonlibs/"
To install "opencv" library you first need "Numpy" library so let's download this right here:
let's download opencv library too:
There is an easy way to install these 2 libraries on windows:
1.- Unzip these files (I recommend you 7zip to do it) and in the case of numpy we will have this files:
Let's copy "Numpy" and "numpy-1.15.4+mkl.data" files (I have 1.14.0 version, don't worry about that) to this path: "Python36Libsite-packages" (the path to Python36 depends of where you installed it).
import numpy on your python command line, if not appear any error, we have finished of installing numpy on windows 10.
In the case of opencv is a little different,
when we unzip .whl file of opencv, we will have these files:
let's enter to "opencv_python-3.4.1.data" --> "data" --> "Lib" --> "site-packages". and then copy all files inside "site-packages" directory to "Python36Libsite-packages" (the same directory where we paste numpy library)
as same as in the case of numpy, import opencv on your python command line using "import cv2", if not appear any error, we have finished of installing opencv on windows 10.
There is another way to install .whl libraries on windows using PIP but you have to be sure that your python can be called from cmd (there is an option when you installed python called "add to path" to make this posible) also you have to have a good internet conection to prevent any posible error when installing. There are many tutorials in stackoverflow explaining PIP method. Hope this helps!.
Thank you very much for the detailed explanation! Could you also please help me understand, why I need to install unofficial packages (from the link "lfd.uci.edu/~gohlke/pythonlibs/") such as wheel packages, when we can install it from official website? Also how to read the installation packages name? what does "numpy‑1.15.4+mkl‑cp36‑cp36m‑win_amd64.whl" mean?
– user20707
Nov 19 at 18:10
it's not really necessary, there are many ways of install python packages on windows, but it is the easiest way. The first number "1.15.4" is the version of numpy you download, Here is the answer of what means all the name of .whl files, just for not repeat answers. stackoverflow.com/questions/37023557/….
– Diroallu
Nov 21 at 0:29
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53232866%2fis-opencv-3-4-3-compatible-with-python-3-6-7-64bit-on-a-64bit-windows-10-os%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
OK, if you are using python 3.6 - 64bits in windows OS (please be sure that it appear at the begin on your "python command line") first of all you have to go to this page: "https://www.lfd.uci.edu/~gohlke/pythonlibs/"
To install "opencv" library you first need "Numpy" library so let's download this right here:
let's download opencv library too:
There is an easy way to install these 2 libraries on windows:
1.- Unzip these files (I recommend you 7zip to do it) and in the case of numpy we will have this files:
Let's copy "Numpy" and "numpy-1.15.4+mkl.data" files (I have 1.14.0 version, don't worry about that) to this path: "Python36Libsite-packages" (the path to Python36 depends of where you installed it).
import numpy on your python command line, if not appear any error, we have finished of installing numpy on windows 10.
In the case of opencv is a little different,
when we unzip .whl file of opencv, we will have these files:
let's enter to "opencv_python-3.4.1.data" --> "data" --> "Lib" --> "site-packages". and then copy all files inside "site-packages" directory to "Python36Libsite-packages" (the same directory where we paste numpy library)
as same as in the case of numpy, import opencv on your python command line using "import cv2", if not appear any error, we have finished of installing opencv on windows 10.
There is another way to install .whl libraries on windows using PIP but you have to be sure that your python can be called from cmd (there is an option when you installed python called "add to path" to make this posible) also you have to have a good internet conection to prevent any posible error when installing. There are many tutorials in stackoverflow explaining PIP method. Hope this helps!.
Thank you very much for the detailed explanation! Could you also please help me understand, why I need to install unofficial packages (from the link "lfd.uci.edu/~gohlke/pythonlibs/") such as wheel packages, when we can install it from official website? Also how to read the installation packages name? what does "numpy‑1.15.4+mkl‑cp36‑cp36m‑win_amd64.whl" mean?
– user20707
Nov 19 at 18:10
it's not really necessary, there are many ways of install python packages on windows, but it is the easiest way. The first number "1.15.4" is the version of numpy you download, Here is the answer of what means all the name of .whl files, just for not repeat answers. stackoverflow.com/questions/37023557/….
– Diroallu
Nov 21 at 0:29
add a comment |
up vote
0
down vote
accepted
OK, if you are using python 3.6 - 64bits in windows OS (please be sure that it appear at the begin on your "python command line") first of all you have to go to this page: "https://www.lfd.uci.edu/~gohlke/pythonlibs/"
To install "opencv" library you first need "Numpy" library so let's download this right here:
let's download opencv library too:
There is an easy way to install these 2 libraries on windows:
1.- Unzip these files (I recommend you 7zip to do it) and in the case of numpy we will have this files:
Let's copy "Numpy" and "numpy-1.15.4+mkl.data" files (I have 1.14.0 version, don't worry about that) to this path: "Python36Libsite-packages" (the path to Python36 depends of where you installed it).
import numpy on your python command line, if not appear any error, we have finished of installing numpy on windows 10.
In the case of opencv is a little different,
when we unzip .whl file of opencv, we will have these files:
let's enter to "opencv_python-3.4.1.data" --> "data" --> "Lib" --> "site-packages". and then copy all files inside "site-packages" directory to "Python36Libsite-packages" (the same directory where we paste numpy library)
as same as in the case of numpy, import opencv on your python command line using "import cv2", if not appear any error, we have finished of installing opencv on windows 10.
There is another way to install .whl libraries on windows using PIP but you have to be sure that your python can be called from cmd (there is an option when you installed python called "add to path" to make this posible) also you have to have a good internet conection to prevent any posible error when installing. There are many tutorials in stackoverflow explaining PIP method. Hope this helps!.
Thank you very much for the detailed explanation! Could you also please help me understand, why I need to install unofficial packages (from the link "lfd.uci.edu/~gohlke/pythonlibs/") such as wheel packages, when we can install it from official website? Also how to read the installation packages name? what does "numpy‑1.15.4+mkl‑cp36‑cp36m‑win_amd64.whl" mean?
– user20707
Nov 19 at 18:10
it's not really necessary, there are many ways of install python packages on windows, but it is the easiest way. The first number "1.15.4" is the version of numpy you download, Here is the answer of what means all the name of .whl files, just for not repeat answers. stackoverflow.com/questions/37023557/….
– Diroallu
Nov 21 at 0:29
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
OK, if you are using python 3.6 - 64bits in windows OS (please be sure that it appear at the begin on your "python command line") first of all you have to go to this page: "https://www.lfd.uci.edu/~gohlke/pythonlibs/"
To install "opencv" library you first need "Numpy" library so let's download this right here:
let's download opencv library too:
There is an easy way to install these 2 libraries on windows:
1.- Unzip these files (I recommend you 7zip to do it) and in the case of numpy we will have this files:
Let's copy "Numpy" and "numpy-1.15.4+mkl.data" files (I have 1.14.0 version, don't worry about that) to this path: "Python36Libsite-packages" (the path to Python36 depends of where you installed it).
import numpy on your python command line, if not appear any error, we have finished of installing numpy on windows 10.
In the case of opencv is a little different,
when we unzip .whl file of opencv, we will have these files:
let's enter to "opencv_python-3.4.1.data" --> "data" --> "Lib" --> "site-packages". and then copy all files inside "site-packages" directory to "Python36Libsite-packages" (the same directory where we paste numpy library)
as same as in the case of numpy, import opencv on your python command line using "import cv2", if not appear any error, we have finished of installing opencv on windows 10.
There is another way to install .whl libraries on windows using PIP but you have to be sure that your python can be called from cmd (there is an option when you installed python called "add to path" to make this posible) also you have to have a good internet conection to prevent any posible error when installing. There are many tutorials in stackoverflow explaining PIP method. Hope this helps!.
OK, if you are using python 3.6 - 64bits in windows OS (please be sure that it appear at the begin on your "python command line") first of all you have to go to this page: "https://www.lfd.uci.edu/~gohlke/pythonlibs/"
To install "opencv" library you first need "Numpy" library so let's download this right here:
let's download opencv library too:
There is an easy way to install these 2 libraries on windows:
1.- Unzip these files (I recommend you 7zip to do it) and in the case of numpy we will have this files:
Let's copy "Numpy" and "numpy-1.15.4+mkl.data" files (I have 1.14.0 version, don't worry about that) to this path: "Python36Libsite-packages" (the path to Python36 depends of where you installed it).
import numpy on your python command line, if not appear any error, we have finished of installing numpy on windows 10.
In the case of opencv is a little different,
when we unzip .whl file of opencv, we will have these files:
let's enter to "opencv_python-3.4.1.data" --> "data" --> "Lib" --> "site-packages". and then copy all files inside "site-packages" directory to "Python36Libsite-packages" (the same directory where we paste numpy library)
as same as in the case of numpy, import opencv on your python command line using "import cv2", if not appear any error, we have finished of installing opencv on windows 10.
There is another way to install .whl libraries on windows using PIP but you have to be sure that your python can be called from cmd (there is an option when you installed python called "add to path" to make this posible) also you have to have a good internet conection to prevent any posible error when installing. There are many tutorials in stackoverflow explaining PIP method. Hope this helps!.
answered Nov 10 at 1:48
Diroallu
262
262
Thank you very much for the detailed explanation! Could you also please help me understand, why I need to install unofficial packages (from the link "lfd.uci.edu/~gohlke/pythonlibs/") such as wheel packages, when we can install it from official website? Also how to read the installation packages name? what does "numpy‑1.15.4+mkl‑cp36‑cp36m‑win_amd64.whl" mean?
– user20707
Nov 19 at 18:10
it's not really necessary, there are many ways of install python packages on windows, but it is the easiest way. The first number "1.15.4" is the version of numpy you download, Here is the answer of what means all the name of .whl files, just for not repeat answers. stackoverflow.com/questions/37023557/….
– Diroallu
Nov 21 at 0:29
add a comment |
Thank you very much for the detailed explanation! Could you also please help me understand, why I need to install unofficial packages (from the link "lfd.uci.edu/~gohlke/pythonlibs/") such as wheel packages, when we can install it from official website? Also how to read the installation packages name? what does "numpy‑1.15.4+mkl‑cp36‑cp36m‑win_amd64.whl" mean?
– user20707
Nov 19 at 18:10
it's not really necessary, there are many ways of install python packages on windows, but it is the easiest way. The first number "1.15.4" is the version of numpy you download, Here is the answer of what means all the name of .whl files, just for not repeat answers. stackoverflow.com/questions/37023557/….
– Diroallu
Nov 21 at 0:29
Thank you very much for the detailed explanation! Could you also please help me understand, why I need to install unofficial packages (from the link "lfd.uci.edu/~gohlke/pythonlibs/") such as wheel packages, when we can install it from official website? Also how to read the installation packages name? what does "numpy‑1.15.4+mkl‑cp36‑cp36m‑win_amd64.whl" mean?
– user20707
Nov 19 at 18:10
Thank you very much for the detailed explanation! Could you also please help me understand, why I need to install unofficial packages (from the link "lfd.uci.edu/~gohlke/pythonlibs/") such as wheel packages, when we can install it from official website? Also how to read the installation packages name? what does "numpy‑1.15.4+mkl‑cp36‑cp36m‑win_amd64.whl" mean?
– user20707
Nov 19 at 18:10
it's not really necessary, there are many ways of install python packages on windows, but it is the easiest way. The first number "1.15.4" is the version of numpy you download, Here is the answer of what means all the name of .whl files, just for not repeat answers. stackoverflow.com/questions/37023557/….
– Diroallu
Nov 21 at 0:29
it's not really necessary, there are many ways of install python packages on windows, but it is the easiest way. The first number "1.15.4" is the version of numpy you download, Here is the answer of what means all the name of .whl files, just for not repeat answers. stackoverflow.com/questions/37023557/….
– Diroallu
Nov 21 at 0:29
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53232866%2fis-opencv-3-4-3-compatible-with-python-3-6-7-64bit-on-a-64bit-windows-10-os%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown