We can check it by typing conda info opencv in command prompt and press enter of course, you'll see following - opencv 3.3.1 på6h20b85fd_1įile name : opencv-3.3.1-på6h20b85fd_1.tar.bz2 Conda-build 3 defines a special jinja2 function, compiler (), to make it easy to specify compiler packages dynamically on many platforms. However, Before proceed to install opencv, you can check whether opencv for python 3.6 is available or not. The Anaconda 5.0 compilers and conda-build 3 are designed to work together. After the completion, check your conda packages by typing conda list - opencv should be there. After installing anaconda, simply open command prompt and type following statement and press enter of course - conda install -c conda-forge opencv Maybe this is obvious and straightforward but in my case I struggled to find this solution.įirst Download Anaconda Python 3.6 from official site. If not, your installation of opencv will not be recognised within the environment you are working in. If you created a dedicated environment within Anaconda (in my case 'på6'), make sure you installed spyder for this dedicated environment ('conda install spyder'). conda init powershell in that folder, and re-open the powershell. If the version is printed in the console (in my case 3.4.2), your installation was successful. Here is my easier solution which works with Anaconda, Miniconda, and even Miniforge: Open Powershell and browse to condabin folder in your conda installation directory, for example: C:\Users\\anaconda3\condabin.When starting spyder, test your installation as follows: import cv2 With over 15 million users worldwide, it is the industry standard for developing, testing, and training on a single machine, enabling.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |