Python3學習筆記01-Python
- 2020 年 1 月 9 日
- 筆記
1. 下載 python-3.6.3
下載地址:https://www.python.org/ftp/python/3.6.3/python-3.6.3-amd64.exe
安裝 python-3.6.3
安裝的第一個介面注意選中「Add Python3.6 to PATH(把Python加入系統環境變數)」

2. 下載spyder
下載地址https://codeload.github.com/spyder-ide/spyder/zip/v3.2.4
下載裡面最新的源碼zip包,在本地解壓後,cmd里cd到解壓的目錄下,執行如下命令:
python setup.py install
然後執行如下命令,複製一行、執行一行即可。
python -m pip install –upgrade pip
pip install zmq
pip install chardet
pip install psutil
pip install qtawesome
pip install pickleshare
pip install docutils
pip install jinja2
pip install sphinx
pip install jupyter_client
pip install qtconsole
pip install pyflakes
pip install pycodestyle
pip install rope
pip install nbconvert
pip install pylint
pip install qtpy
pip3 install PyQt5
然後在cmd里輸入spyder 來啟動spyder
如果在cmd里輸入spyder後沒有反應或者出現蜘蛛網的窗口後再沒有反應,可以在
C:UsersAdministrator下面的 spyder_crash.log文件里有spyder 錯誤的原因。
在Python的安裝目錄中的Scripts目錄下的Spyder.bat,可以建一個快捷方式到桌面上。