My friend was asking me how to set up python environment since he had tried for a while but failed on his windows based enviroment.
I have few experience though and all of the experence is based on Linux system. All I can recall are about the embedded porting for SAMBA application
in which some codes relates to python and some material for cross-toolchain that scripts in python. So I spend some time to reference open course[1]
Here I note the steps for someone who needs as reference as well as for my friend.
Install Anaconda
Anaconda is a good start for rookie (like me) to avoid some conflictions on package installations. We can find the latest one on Anaconda and just clicking “next step” until installation sucessfully.After installation, we can open Anaconda Prompt with admin user.
Check the conda version
Under Anaconda Prompt, create an enviornment which is based on python 3.5.2.
Check one of env you created, naming opencv_py352_demo
If you want to check all envs. and remove some of them, you can type:
If you have generated opencv_py352_demo, you can activate directly
Install OpenCV
OpenCV, Spyder, SciPy and matplotlib
Spyder editor is strong IDE tools, and looks likes MATLAB env. If you are going to learn OpenCV, SciPy (pronounced “Sigh Pie”) and matplotlib are good combinations to do simulations on mathematics, science, engineering applications.