Vijay Kumari
How to install Python in Windows 10?
By Vijay Kumari in Python on Sep 16 2019
  • Rohit Gupta
    Sep, 2019 17

    Installing Python

    • Python latest version can be download from https://www.python.org/downloads/.
    • At the time of writing this, the latest version was 3.7.4.
    • Download the installer file according to your operating system and execute the installer commands according to your Operating System.

    For a detailed tutorial on Python Basics please visit https://www.c-sharpcorner.com/article/python-basics/

    • 2
  • Salman Beg
    Jul, 2020 1

    Follow this video which explains how to install Python in Windows 10,
    https://www.youtube.com/watch?v=WK67mbDcFeA

    • 0
  • Laxmidhar Sahoo
    Jan, 2020 22

    1. Step 1: Select Version of Python to Install
    2. The installation procedure involves downloading the official Python .exe installer and running it on your system.
    3. https://www.python.org/downloads/windows/
    4. Note: If you are installing Python on a remote Windows server, log in via https://phoenixnap.com/kb/ssh-to-connect-to-remote-server-linux-or-windows. Once you log in, the installation procedure is the same as for a local Windows machine.
    5. Step 2: Download Python Executable Installer
    6. Open your web browser and navigate to the Downloads for Windows section of the official Python website.
    7. Search for your desired version of Python. At the time of publishing this article, the latest Python 3 release is version 3.7.3, while the latest Python 2 release is version 2.7.16.
    8. Select a link to download either the Windows x86-64 executable installer or Windows x86 executable installer. The download is approximately 25MB.
    9. Note: If your Windows installation is a 32-bit system, you need the Windows x86 executable installer. If your Windows is a 64-bit version, you need to download the Windows x86-64 executable installer. There is nothing to worry about if you install the wrong version. You can uninstall one version of Python and install another.
    10. 3: Run Executable Installer
    11. 1. Run the Python Installer once downloaded. (In this example, we have downloaded Python 3.7.3.)
    12. 2. Make sure you select the Install launcher for all users and Add Python 3.7 to PATH checkboxes. The latter places the interpreter in the execution path. For older versions of Python that do not support the Add Python to Path checkbox, see Step 6.
    13. 3. Select Install Now the recommended installation options.
    14. Step 4: Verify Python Was Installed On Windows
    15. Navigate to the directory in which Python was installed on the system. In our case, it is C:\Users\Username\AppData\Local\Programs\Python\Python37 since we have installed the latest version.
    16. Double-click python.exe.
    17. The output should be similar to what you can see below:
    18. Step 5: Verify Pip Was Installed
    19. If you opted to install an older version of Python, it is possible that it did not come with Pip preinstalled. Pip is a powerful package management system for Python software packages. Thus, make sure that you have it installed.
    20. We recommend using Pip for most Python packages, especially when working in virtual environments.
    21. To verify whether Pip was installed:
    22. Open the Start menu and type cmd.”
    23. Select the Command Prompt application.
    24. Enter pip -V in the console. If Pip was i
    25. nstalled successfully, you should see the following output:
    26. Step 6: Add Python Path to Environment Variables (Optional)
    27. We recommend you go through this step if your version of the Python installer does not include the Add Python to PATH checkbox or if you have not selected that option.
    28. Setting up the Python path to system variables alleviates the need for using full paths. It instructs Windows to look through all the PATH folders for python and find the install folder that contains the python.exe file.
    29. 1. Open the Start menu and start the Run app.
    30. Step 7: Install virtualnv (Optional)
    31. You have Python, and you have Pip to manage packages. Now, you need one last software package virtualnv. Virtualnv enables you to create isolated local virtual environments for your Python projects.
    32. Why use virtualnv?
    33. Python software packages are installed system-wide by default. Consequently, whenever a single project-specific package is changed, it changes for all your Python projects. You would want to avoid this, and having separate virtual environments for each project is the easiest solution.
    34. To install virtualnv:
    35. 1. Open the Start menu and type cmd.”
    36. 2. Select the Command Prompt application.
    37. 3. Type the following Pip command in the console:
    38. C:\Users\Username> pip install virtualenv
    39. For more details follow the link
    40. https://phoenixnap.com/kb/how-to-install-python-3-windows

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS