å®è£
æµç¨å¤§è´å为ä¸æ¥
1. å®è£
[python2.7.13]ï¼
https://www.python.org/downloads/release/python-2713/ï¼
ä¸è½½python2.7.13å®è£
å
ãä¸è·¯nextãå®è£
å®æåå¨cmd ä¸è¾å
¥python æµè¯pythonå®è£
æåã
2. å®è£
[setuptools]ï¼
https://pypi.python.org/pypi/setuptoolsï¼åpipå·¥å
·
ä¸è½½setuptoolsï¼è§£åå°C:\ï¼cmdè¿å
¥è¯¥æ件夹ï¼è¿è¡
python ez_setup.py
æè
ç´æ¥ä¸è½½ez_setup.pyæºç ï¼å¹¶è¿è¡
æ¤æ¶å®æeasy_installå·¥å
·å®è£
ãä¸é¢ä½¿ç¨è¯¥å·¥å
·å®è£
pipå·¥å
·ã
å¨cmd ä¸è¿è¡
easy_install pip
pip æ¯ä¸ä¸ªPythonå
管çå·¥å
·ï¼ä¸»è¦æ¯ç¨äºå®è£
PyPI ä¸ç软件å
ï¼å¯ä»¥æ¿ä»£ easy_install å·¥å
·ãå®è£
好pipåï¼ç¬¬ä¸ä»¶äºæ¯ä¿®æ¹pipå
æºãç±äºé»è®¤çpipæºé度æ
¢ï¼ä¸è½½æ¶ç»å¸¸ä¼æ¥å¥æªé误ï¼æ以修æ¹pip为å½å
æºãä½è
使ç¨çæ¯è±ç£çæºã
3. å®è£
ipythonåç¸å
³åº
å¨cmd ä¸è¿è¡
pip install ipython
并å®è£
pyreadlineï¼ pyreadlineå¯ä»¥è®©ipython å¼å¯é«äº®åèªå¨è¡¥å
¨åè½ã
å®è£
å®æåå¨cmd ä¸è¾å
¥ ipythonæµè¯
pip install pyreadline
4. å®è£
jupyter notebookåç¸å
³å·¥å
·
å®è£
jupyter notebookï¼å¨cmdä¸è¿è¡
pip install jupyter
å®è£
å®æåå¨cmdä¸è¾å
¥
jupyter notebook
æµè¯jupyter notebookå®è£
æåã
åç»ï¼
è¿æ¯å®è£
çååå§ççæ¬ï¼ä½¿ç¨è¿ç¨ä¸åç°æ æ³æ页é¢ä¿å为pdfæ ¼å¼ãæ¤é®é¢æ£å¨è§£å³ã