Python Forum
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I install Python?
#1
For the life of me, I cannot figure out how to install Python and get going.

Environment: Windows 10 Pro

I downloaded and unzipped: python-3.7.2.post1-embed-amd64.zip
from: https://www.python.org/ftp/python/3.7.2/...-amd64.zip

I did not download any .exe installer, only a fool would use an installer.

--
I added the path where I unzipped it to my PATH (.bash_profile am using cygwin on Windows). I did not modify my Windows path, only a fool would do that.

I would use Linux (not Windows 10 Pro), but am forced to at work.
--
So now I have python installed,

Quote:$python -V
Python 3.7.2

---
Apparently I need to also install pip to get anything done. I search and find this statement:
Quote:https://docs.python-guide.org/starting/i...l3-windows
All supported versions of Python 3 include pip, so just make sure it’s up to date:

python -m pip install -U pip

--
That statement is false, the .zip file did not contain pip. So I search some more and am instructed to type:
Quote:$python get-pip.py

and so I do: and get:
Quote:Collecting pip
Downloading https://files.pythonhosted.org/packages/...ne-any.whl (1.4MB)
Collecting setuptools
Downloading https://files.pythonhosted.org/packages/...ne-any.whl (575kB)
Collecting wheel
Downloading https://files.pythonhosted.org/packages/...ne-any.whl
Installing collected packages: pip, setuptools, wheel
The script wheel.exe is installed in 'H:\apps\python\3.7.2\Scripts' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed pip-19.0.1 setuptools-40.8.0 wheel-0.32.3

--
I then add pip.exe to my .bash_profile path, not modifying my Windows path.

--
And so now I run:
Quote:python -m pip install -U pip

and I get:
Quote:H:\apps\python\3.7.2\python.exe: No module named pip

What the ****?

That does not look right. Would you expect that I get that?

What am I doing wrong here?

---
I type:
Quote:$pip -V

and I get:
Quote:Traceback (most recent call last):
File "D:\obj\Windows-Release\37amd64_Release\msi_python\zip_amd64\runpy.py", line 193, in _run_module_as_main
File "D:\obj\Windows-Release\37amd64_Release\msi_python\zip_amd64\runpy.py", line 85, in _run_code
File "H:\apps\python\3.7.2\Scripts\pip.exe\__main__.py", line 5, in <module>
ModuleNotFoundError: No module named 'pip'


What the ****?

Why is it telling me something about my D:\ drive and a path D:\obj, that I know nothing about?
I installed python, the .zip file under H:\apps\python\3.7.2\python.exe

I don't know what the hell is going on here.

I can't pip install or pip upgrade anything, and have no idea why it is talking about my D:\ drive or if I even have a D:\ drive.

CONTENT REMOVED

I just want things to work without any grief, friction or static.

I should be able to download a .zip file, put the .exe in my path and start coding. I should not have to install pip, if it's so very necessary for using Python. I don't know why it's missing in the .zip file, I don't know why it does not work. What is messed up here?
Reply


Messages In This Thread
How do I install Python? - by devlocalca - Feb-06-2019, 08:25 AM
RE: How do I install Python? - by buran - Feb-06-2019, 09:09 AM
RE: How do I install Python? - by devlocalca - Feb-06-2019, 09:23 AM
RE: How do I install Python? - by buran - Feb-06-2019, 09:24 AM
RE: How do I install Python? - by devlocalca - Feb-06-2019, 09:30 AM
RE: How do I install Python? - by buran - Feb-06-2019, 09:47 AM
RE: How do I install Python? - by metulburr - Feb-06-2019, 09:53 AM
RE: How do I install Python? - by devlocalca - Feb-06-2019, 11:14 AM
RE: How do I install Python? - by buran - Feb-06-2019, 11:44 AM
RE: How do I install Python? - by metulburr - Feb-06-2019, 12:31 PM
RE: How do I install Python? - by buran - Feb-06-2019, 12:32 PM
RE: How do I install Python? - by Kebap - Feb-07-2019, 02:12 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020