Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to Python and I am trying to install it on Windows. I am starting to use it because I have to set-up a watch service for a Windows folder, and then update a database when there are changes in that folder. Searching online has led me to "Watchdog".

I am trying to install csvkit and watchdog, but I have had no success; pip and easy_install are both not doing anything.

Running Python 3.3.0 x86.
Windows 7 Professional
Installed pip and distribute using msi.

When running Python command shell:

pip install watchdog

File "<stdin>", line 1
    pip install watchdog
SyntaxError: invalid syntax

Normal command prompt:

python pip install watchdog  

python: can't open file 'pip': [Errno 2] No such file or directory

The solution below, as mentioned by Breakthrough, is correct:

pip install watchdog 

But I received the error output because I was missing my Scripts folder in the Environmental Variables.

'pip' is not recognized ans an internal or external command, operable program or batch file.

Adding C:\Python\Scripts solved it.

share|improve this question
up vote 2 down vote accepted

Per the syntax from the official pip website, try pip install [module] from a normal command prompt (some modules require an elevated, administrative command prompt instead), instead of invoking it from a Python shell. You can view the latest pip usage document here.

If for some reason you cannot invoke pip, ensure that it can be found somewhere in your PATH environment variable (see the question How to set PATH environment variable? for further details).

By calling python pip install watchdog, you are attempting to invoke the file called pip from the current directory, as a Python script, passing it the remaining parameters as arguments.

share|improve this answer
Thanks for your help. 'pip' is not recognized ans an internal or external command, operable program or batch file. is the result, I checked out my path variable and I was missing the Scripts folder. Thanks again! – John Mar 7 '13 at 19:41
@John not a problem, glad everything worked out. I added a small note to the answer in case anyone else runs into the same issue. – Breakthrough Mar 7 '13 at 19:44
Perfect! The path variables need to include the path to Python and the Python script folder. (eg. C:\Python\;C:\Python\Scripts) – John Mar 7 '13 at 19:48

Clarify for newbies: in cmd navigate to C:\Python33\Scripts\ (print that: cd C:\Python33\Scripts) and only than write pip install [module]

(note: i assume you have Python 3.3, if you have Python 2.7 then navigate to C:\Python27\Scripts)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.