Feb-06-2019, 08:25 AM
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,
---
Apparently I need to also install pip to get anything done. I search and find this statement:
--
That statement is false, the .zip file did not contain pip. So I search some more and am instructed to type:
and so I do: and get:
--
I then add pip.exe to my .bash_profile path, not modifying my Windows path.
--
And so now I run:
and I get:
What the ****?
That does not look right. Would you expect that I get that?
What am I doing wrong here?
---
I type:
and I get:
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?
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?