• Home

Python Installer Windows

 
Python Installer Windows Average ratng: 4,4/5 1633 votes
  • In the sys package, you can find a lot of useful information about your installation. Import sys print sys.executable print sys.execprefix I'm not sure what this will give on your Windows system, but on my Mac executable points to the Python binary and execprefix to the installation root.
  • First, download the latest version of Python 2.7 from the official website. If you want to be sure you are installing a fully up-to-date version, click the Downloads Windows link from the home page of the Python.org web site. The Windows version is provided as an MSI package. To install it manually, just double-click the file.

Recently I had to install Python on Windows 10, so I could use the “Closure Linter” tool for PhpStorm. Here is a simple guide to show you exactly how to install Python and PIP on your Windows 10 machine.

Active4 months ago

I want to find out my Python installation path on Windows. For example:

How can I find where Python is installed?

Stevoisiak
7,61612 gold badges55 silver badges118 bronze badges
Fang-Pen LinFang-Pen Lin
5,8719 gold badges52 silver badges85 bronze badges

15 Answers

elo80kaelo80ka
9,3013 gold badges31 silver badges43 bronze badges

If you need to know the installed path under Windows without starting the python interpreter, have a look in the Windows registry.

Each installed Python version will have a registry key in either:

  • HKLMSOFTWAREPythonPythonCoreversionnumberInstallPath
  • HKCUSOFTWAREPythonPythonCoreversionnumberInstallPath

In 64-bit Windows, it will be under the Wow6432Node key:

  • HKLMSOFTWAREWow6432NodePythonPythonCoreversionnumberInstallPath
yincrash
5,0101 gold badge32 silver badges38 bronze badges
codeapecodeape
77.1k22 gold badges127 silver badges151 bronze badges

It would be either of

  • C:Python36
  • C:Users(Your logged in User)AppDataLocalProgramsPythonPython36
Amol ManthalkarAmol Manthalkar
1,0471 gold badge10 silver badges14 bronze badges

If you have python in your enviroment variable then you can use the following command in cmd:

or for unix enviroment

Aekansh KansalAekansh Kansal

On my windows installation, I get these results:

(You can also look in sys.path for reasonable locations.)

Aug 15, 2019  VMware Fusion Pro VMware Fusion Pro 11.1.1 Crack With Serial Number Free Download 2019. VMware Fusion Pro 11.1.1 Crack is outstanding software providing you the best performance on macOS. The fundamental characteristic allows you to run Windows on. Vmware fusion serial key. As a very excellent virtual machine software with very high performance under Mac OS, VMware Fusion (Pro) is the best way to seamlessly run Windows on a Mac computer. It provides the ultimate Windows experience on a Mac OS, enables you to directly run Windows, Linux, Android or other OS at the same time without having to restart your Mac OS.

Windows Xp Launcher Apk Free Download. Once installed, the own Android apparatus is going to have a beginning pub, a job pub, a desktop along with the rest of the features that you connected with this particular timeless Windows os. Windows xp apk android.

gimelgimel
61.8k10 gold badges64 silver badges99 bronze badges

In the sys package, you can find a lot of useful information about your installation:

Python Windows Installer Add To Path

I'm not sure what this will give on your Windows system, but on my Mac executable points to the Python binary and exec_prefix to the installation root.

You could also try this for inspecting your sys module:

Guðmundur HGuðmundur H
7,2502 gold badges19 silver badges21 bronze badges

Python Windows Installer Targetdir

If You want the Path After successful installation then first open you CMD and type python or python -i

It Will Open interactive shell for You and Then type

import sys

sys.executable

Python Setup Windows

Hit enter and you will get path where your python is installed ..

Rutvik Vijaybhai BhimaniRutvik Vijaybhai Bhimani

You can search for the 'environmental variable for you account'. If you have added the Python in the path, it'll show as 'path' in your environmental variable account.

but almost always you will find it in 'C:Users%User_name%AppDataLocalProgramsPythonPython_version'

the 'AppData' folder may be hidden, make it visible from the view section of toolbar.

Amit GuptaAmit Gupta

If anyone needs to do this in C# I'm using the following code:

PeterPeter
24.5k32 gold badges128 silver badges176 bronze badges

To know where Python is installed you can execute where python in your cmd.exe.

anothernode
3,15510 gold badges28 silver badges46 bronze badges
user8318311

Go to C:UsersUSERAppDataLocalProgramsPythonPython36if it is not there then open console by windows+^RThen type cmd and hit entertype python if installed in your local file it will show you its version from there type the following import osimport sysos.path.dirname(sys.executable)

SATYAJIT MAITRASATYAJIT MAITRA

This worked for me: C:UsersYour_user_nameAppDataLocalProgramsPython

My currently installed python version is 3.7.0

Hope this helps!

David
6681 gold badge9 silver badges26 bronze badges
Prashant GongaPrashant Gonga

if you still stuck or you get this

simply do this replace 2 with one

Python Windows Installer Error

Kos
3,4875 gold badges25 silver badges32 bronze badges
Ashwarya sharmaAshwarya sharma

Python Install Windows 8

I installed 2 and 3 and had the same problem finding 3. Fortunately, typing path at the windows path let me find where I had installed it. The path was an option when I installed Python which I just forgot. If you didn't select setting the path when you installed Python 3 that probably won't work - unless you manually updated the path when you installed it.In my case it was at c:Program FilesPython37python.exe

Douglas GillilandDouglas Gilliland

If you use anaconda navigator on windows, you can go too enviornments and scroll over the enviornments, the root enviorment will indicate where it is installed. It can help if you want to use this enviorment when you need to connect this to other applications, where you want to integrate some python code.

PV8PV8

Python Windows Installer 3.1

Not the answer you're looking for? Browse other questions tagged pythonwindowspath or ask your own question.