James Glass
James Glass

Reputation: 4300

Trouble installing & starting Python from command line in Windows 7

I'm installing Python for use with SQLMap. I've downloaded and ran the Python 2.7.2 MSI installer, and restarted my computer. According to everything I've read, I should be able to just call python and SQLMap from the DOS command line using python sqlmap.py, but the command line doesnt seem to recognize the python - I get a 'python' is not recognized as an internal or external command, operable program or batch file. error.

Do I need to add Python to my path variable? If so, how? Everything I've read says it should work out of the box...

Upvotes: 0

Views: 5709

Answers (1)

arno_v
arno_v

Reputation: 20347

Yes you should add it to your path. Does running C:\Python27\python.exe sqlmap.py work?

See for instance https://superuser.com/questions/143119/how-to-add-python-to-the-windows-path

Upvotes: 4

Related Questions