I’ve had a copy of Git on my computer(s) for a little over 2 years now and I had some opportunity at my job to start using Python. On my home computer however, I seem to lack the ability to execute any .py files, or run a command line of ‘python’.
I’ve done several searches to try and figure out how to make python executable on my Git install and these range from:
Installing GitPython - ‘pip install gitpython’. This would be great, if pip existed on my freshly installed Git shell.
Installing it using the setup.py script - ‘python setup.py install’. This would also be great, if python existed on my freshly installed Git shell.
Cloning the gitpython repo, initializing submodules and then verify it by running the ‘nose powered unit tests’. This appears to work, except for not having any executables named ‘nosetests’ afterwards.
I’ve tried un-gzip/tarring the individual packages, as well as following the step-by-step instructions on the gitpython website and plenty of google searches that seem to uncover the same commands – executable (chmod +x) .py files, with no python command to run them. Running a ./setup.py command also seems to just trigger errors without Python.
Did I miss doing something to get this stuff working? Overthinking things in terms of troubleshooting? :D Possibly! Any advice to get me able to run a simple ‘python randompythonexecutable.py’ command would be great! Thanks.