Software installation
安装包: Anaconda
- dir:www.anaconda.com/download
- download Anaconda 5.2 for windows installer
- install Anaconda3 with the default setup.
- Skip "Install Microsoft VSCode" / we will use "pycharm" instead of it
- update Anaconda
- run "Anaconda Prompt"
- software update by code:
conda update conda
- update software other packages by code:
conda update --all
Note: that's the best way to update the packages that released by the developer. ( the relationship between packages has been maintained)
- Exit Anaconda Prompt
"Ctrl + Z" press "Enter" "exit" press "Enter"
IDE: PyCharm
- dir: www.jetbrains.com/
- download pycharm-community
- install "PyCharm community edition" with the default setup
- finish setup and Run Pycharm
- select " Do not import settings"
- " download featured plugins"-- not right now
- "Configure->Setting" before your new Project.
- select"Change font size with Ctrl + Mouse Wheel" under Fonts -> Editor -> General.
- change Size to 24 and Font to "Fira Code" under Fonts -> Editor -> Font.
- select "Use console font instead of the default", change Font to Fira Code, Size to 20 under Fonts -> Editor -> Color Scheme -> Console Font.
Create New Project
- LC "Create new project"
- change the default location to your personal folder by drop-down the location folder button.-- easy to be found in the future.
- Add Conda environment to Python Interpreter(解析器)
- Drop-down the project interpreter, select "Existing interpreter"
- select "Conda Environment"
- find the "python.exe" under c:\Users\Lewin\Anaconda3\Tools\python.exe
- select "Make available to all projects" and press OK.
- Press "Create" (if the windows firewall blocked, please try to run Pycharm as Administrator)
- waite files scanning to index (only the first time)
- RC your project"HelloPython"-> New-> Python File
- gives a name for your new python project. (Python file= project)