Step 1 :
download https://www.python.org/ftp/python/3.9.6/python-3.9.6-amd64.exe and double click to install, offers Modify, Repair or Uninstall : picked repair, after five minutes got Repair was successful, thank you for using Python 3.9.6 (64-bit).
In the Start menu pick the Python heading, see four items grouped :
IDLE (python 3.9 (64-bit)
Python 3.9 (64-bit)
Python 3.9 Manuals (64-bit)
Python 3.9 Module Docs (64-bit)
Picked the top one, opens window IDLE Shell 3.9.6
Python 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license()” for more information.
Typed “credits” , got : SyntaxError: EOL while scanning string literal
So let’s assume I’m not all that Python-minded.
Typed help w/o the “” , got : Type help() for interactive help, or help(object) for help about object.
We may thus safely assume that Python is installed, and works?
= = =
Step 2 :
(start a powershell as admin, enter
python -m pip install --upgrade git+https://github.com/mapillary/mapillary_tools
and wait until it is done. On most systems that runs flawless).
Result :
Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
Power shell from the maginfying glass reports : Try the new cross-platform PowerShell Install PowerShell on Windows, Linux, and macOS - PowerShell | Microsoft Learn
asked the magnifying glass for Command prompt, and got a familiar Administrator Command Prompt. copy/pasted your line - python3 -m pip install --upgrade git+https://github.com/mapillary/mapillary_tools
This time the reply read as before :
Python was not found; run …
= = =
Looks like my Windows 10 home fully updated computer is somehow protected against whatwever we’re trying to accomplish.
But wait, what if one were to enter the line in the Python 3.9 (64-bit) window?
Reply : syntaxerror invalid syntax
What if — python3.9 ?
Now there is a different reply :
python3.9 : The term ‘python3.9’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- python3.9 -m pip install --upgrade git+https://github.com/mapillary/m …
-
+ CategoryInfo : ObjectNotFound: (python3.9:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
What if — python ?
Now, that looks more promising :
Collecting git+https://github.com/mapillary/mapillary_tools
Cloning GitHub - mapillary/mapillary_tools: Command line tools for processing and uploading Mapillary imagery to c:\users\preferred\appdata\local\temp\pip-req-build-vieta_k3
Running command git clone -q GitHub - mapillary/mapillary_tools: Command line tools for processing and uploading Mapillary imagery ‘C:\Users\preferred\AppData\Local\Temp\pip-req-build-vieta_k3’
ERROR: Error [WinError 2] The system cannot find the file specified while executing command git clone -q GitHub - mapillary/mapillary_tools: Command line tools for processing and uploading Mapillary imagery ‘C:\Users\preferred\AppData\Local\Temp\pip-req-build-vieta_k3’
ERROR: Cannot find command ‘git’ - do you have ‘git’ installed and in your PATH?
WARNING: You are using pip version 21.1.3; however, version 21.2.4 is available.
You should consider upgrading via the ‘C:\Program Files\Python39\python.exe -m pip install --upgrade pip’ command.
Done, reports :
C:\Program : The term ‘C:\Program’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
- C:\Program Files\Python39\python.exe -m pip install --upgrade pip
-
+ CategoryInfo : ObjectNotFound: (C:\Program:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Typed : python.exe -m pip install --upgrade pip >
python.exe -m pip install --upgrade pip
Requirement already satisfied: pip in c:\program files\python39\lib\site-packages (21.1.3)
Collecting pip
Downloading pip-21.2.4-py3-none-any.whl (1.6 MB)
|████████████████████████████████| 1.6 MB 2.2 MB/s
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 21.1.3
Uninstalling pip-21.1.3:
Successfully uninstalled pip-21.1.3
Successfully installed pip-21.2.4
Seem set, try again : python -m pip install --upgrade git+https://github.com/mapillary/mapillary_tools
Result :
python -m pip install --upgrade git+https://github.com/mapillary/mapillary_tools
Collecting git+https://github.com/mapillary/mapillary_tools
Cloning GitHub - mapillary/mapillary_tools: Command line tools for processing and uploading Mapillary imagery to c:\users\preferred\appdata\local\temp\pip-req-build-mp8v8lwp
Running command git clone -q GitHub - mapillary/mapillary_tools: Command line tools for processing and uploading Mapillary imagery ‘C:\Users\preferred\AppData\Local\Temp\pip-req-build-mp8v8lwp’
ERROR: Error [WinError 2] The system cannot find the file specified while executing command git clone -q GitHub - mapillary/mapillary_tools: Command line tools for processing and uploading Mapillary imagery ‘C:\Users\preferred\AppData\Local\Temp\pip-req-build-mp8v8lwp’
ERROR: Cannot find command ‘git’ - do you have ‘git’ installed and in your PATH?
Throwing in the towel.
Or : how to place ‘git’ (where-ever that lives) on my PATH?
= = =
Edit added :
In itself can find PATH, and spot Python and P/Scripts are on path; can search for git, see ten instances, all in Python39\Lib\ and sub-folders, but which one to add, and why : if Python39 is already on path?
End of edit
= = =
Best,