Road data analysis and machine learning day01

1): In order to better learning late, I installed Anaconda, for quick download, you can use the following image, and soon

https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

2): Although the installation "fool" Installing hair, but there are few notes:

    Can refer to this blog https://blog.csdn.net/u012325865/article/details/80455268 ,

         Note thing is : Note will be a black terminal box during the installation process, do not close the point, let it alone. Otherwise there will be no other in the Start menu and other programs spyder. If you have other programs phenomena occur without reinstalling it

3): Some common commands

conda list

conda install numpy    
        

 

Mounting a library, such as tensorflow, but do not know the command, by the following command: after the first command, the version of the information to find the corresponding input anaconda show 'version name' displays the setup command, then re-enter the command to complete the installation.

anaconda search -t conda tensorflow
anaconda show  ***

 

4): Start

After installing the anaconda, you can "start" in the search for anaconda Prompt, enter "jupyter notebook" to start or directly enter the same command to start the cmd

 

5): jupyter auto-complete configuration

  If you open jupyter, found that without this, if skip

      

 

  Can be achieved by the command, so that out of

  Command line installation nbextensions

pip install jupyter_contrib_nbextensions -i https://pypi.mirrors.ustc.edu.cn/simple

jupyter contrib nbextension install --user

  

  Installation nbextensions_configurator

pip install --user jupyter_nbextensions_configurator 
jupyter nbextensions_configurator enable --user

 

   Pop-up, you can check this

 

 6): a simple method jupyter notebook modify the default path Anaconda

   First C: \ ProgramData \ Anaconda3 \ Scripts \ added to the system environment variable,

  Run cmd,

  Enter jupyter-notebook F: \ new folder

  Located directly to the F: \ under the new folder.

  Note: must first establish good F: \ middle name new folder, folder without spaces

 

Guess you like

Origin www.cnblogs.com/z-712/p/11104928.html