Installing Python 3 on Windows 10¶
Although you can use Anaconda to install Python, if you want to develop with Python we suggest to bypasss Anaconda and install Python directly as shown below.
- Open a browser window and navigate to the download page for Windows at python.org.
- Click on the link for the Latest Python 3 Release - Python 3.x.x. (as of this writing, the latest is Python 3.7.3).
- Select either the Windows x86-64 executable installer for 64-bit or the Windows x86 executable installer for 32-bit. Download and run the installer (Important: Check the 'Add Python 3.x to PATH' box to ensure that the interpreter will be placed in your execution path).
- Test if Python was installed correctly by opening a command window and typing
python –-version. If you see the message
python is not recognized as an internal or external command, operable program or batch file, you need to add Python to you PATH environment variable.
- (Optional) To add Python to the PATH environment variable:
- Navigate to Control Panel/System Properties. In the 'Advanced' tab, click on 'Environment Variables'.
- Select ‘Path’ in ‘User variables’ and click 'Edit...'. Click on 'New' and add the following paths
- Re-test if Python has been added to your PATH.
Chances are, you will want to use Python for more than contributing to this project. If that is the case, type the commands below to install packages in the SciPy Ecosystem for Python 3 on Windows 10
python -m pip install --user numpy scipy matplotlib ipython jupyter pandas
- Test that the packages were installed by importing them in the Python interpreter.
- If the matplotlib import fails with 'ImportError: DLL load failed: The specified module could not be found', install Microsoft’s Visual C++ Redistributable for Visual Studio 2015 (see matplotlib issues for more details).
python -m pip install --user spyder