1, the installation anaconda
Anaconda is a release of python, it integrates a number of scientific computing package, as long as the Anaconda installation do not need to be installed separately in the python. (Of course, self-install Python, and then install the pile of packages pip also possible) Further, anaconda also provides a very useful tool.
Therefore, introduction of machine learning, our test environment install Anaconda (official website to download there are different versions of python2,3 exe, the proposed installation python3 version)
2、Anaconda Navigator
Anaconda Navigator provides two core functions:
1) app store may seem like you need to install the package directly to the search, click Download. Some packages do not need to use traditional or python setup.py install pip like to install (installation tensorflow and keras but later we still use traditional pip install)
2) can build a virtual environment, because sometimes develop applications, you may need python2 and python3, they do not want to influence each other, do not want to engage in more than one development machine. This time you can use the Navigator to construct multiple virtual environments, each virtual environment independent of the package is isolated. For example the first one environment with python2 run django do site, the two environments do run python installation tensorflow neural network, the third installation environment python install keras do neural network, click create to create environment.
Such as creating called "testenvironment environment.
Under the environment need to open a tool that you can use to activate
3、Anaconda Prompt
Anaconda Prompt be used to activate the switch to a different virtual environments, after startup, the input
activate testenvironment
It is activated and entered testenvironment this virtual environment.
conda list
You can see the virtual environment inside the installation package.
conda install django
Packages are installed corresponding to the virtual environment currently used, for example, the installation package django
deactivate testenvironment
You can exit the virtual environment.
4、Jupyter Notebook
Jupyter Notebook is an online tool for editing and execution py program, with it you can not install the pycharm.
But also has the advantage that in the past each machine will need to install pycharm, personal computer programming for personal use. Now only need one machine installed Jupyter Notebook, and started Jupyter Notebook services, other users can access the machine's IP browser: 8888 / tree, see the python code under Jupyter Notebook working directory, and can be used Jupyter Notebook online compile and execute code.
For the code-sharing, joint review, work together, online test tone compiled program, it provides a great help.
5, other tools
There ipython and Spyder, somewhat similar uses and Jupyter Notebook, are used to run python code.