VS Code + Anaconda to create a comfortable Python environment
Recently has been using Anaconda to write code, but it is not easy to debug, and the other anaconda more biased towards data analysis, Python may be more biased towards the pychram, but my experience is pychram mo
Python installation Graphviz
Pip Install Graphviz//This should be installed first Graphviz (website download installation) Anaconda installation Graphviz
Anaconda is a Python release for scientific Computing, supports Linux, MAC, Windows, and provides package management and environmental management capabilities to ea
1. Anaconda Download Depending on whether you downloaded 32-bit or 64-bit according to your system, there is a versionPython3.6--64bitPython3.6--32bitPython2.7--64bitPython2.7--32bit2. Anaconda InstallationAll the way Next,PS: note the installation path3. Anaconda Simple to useAnaconda mainly includes package management Tools
1. Installing Anaconda: Tsinghua Mirror StationFor your operating system, select the appropriate version in the application software->conda, download link . The installation method is relatively simple and is not described in detail.The Windows System installation process needs to be noted, tick the Add software to the Windows path (can also be added manually, that is, in the environment variable path will be added to the Conda.exe file path), so that
Anaconda InstallationFirst go to Anaconda's official website, as shown, you will see the Anaconda download page:2, pull down or click the Windows option in the diagram to get the interface as shown, at this time you can choose according to their own version of the appropriate 2.7 or 3.6, of course, can also be installed in other versions.3, click the Download button in the image can be downloaded
Anaconda is a good Python integrated development environment, you can also use Conda or pip to install PYTHON-OPENCV directly, but this installation method after the installation of OPENCV missing video packets, such as the following read video commands
Import cv2
cap = Cv2. Videocapture (' Path/to/your/video.mp4 ')
cap.isopened ()
You will find that the status
1, if the use of. sh file installation, then in the installation process to select Yes to add anaconda to the environment variables, the installation is complete, the default Python environment is Anaconda, no other action;2, if you copy the compiled Anaconda file, you need to add the environment variable manually: in
In the process of working today, you encounter the problem of installing Anaconda using Conda to create a virtual environment, but after starting Jupyter notebook, you cannot find Python kernel in the virtual environment. Later on the internet found a solution, as follows:Create a virtual environmentFirst look at the commands that created the virtual environment at that time:create -n python2
5 minutes7. Click Next8, click to complete (two tick off, or will link to the official website, if you want to know how to keep)9,the test version of the cmd under the Python 3.6.3 should be the current version of the latest 3.6,about editing IDE software we use pycharm here , can go to the official website to download and installhttp://www.jetbrains.com/pycharm/download/#section =windowsOne, configuration pycharmSelect
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.