4
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:
Input:
pip install watchdog
Output:
File "<stdin>", line 1
pip install watchdog
^
SyntaxError: invalid syntax
Normal command prompt:
Input:
python pip install watchdog
Output:
python: can't open file 'pip': [Errno 2] No such file or directory
The solution below, as mentioned by Breakthrough, is correct:
Input:
pip install watchdog
But I received the error output because I was missing my Scripts
folder in the Environmental Variables.
Output:
'pip' is not recognized ans an internal or external command, operable program or batch file.
Adding C:\Python\Scripts
solved it.
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 theScripts
folder. Thanks again! – John – 2013-03-07T19:41:16.577@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 – 2013-03-07T19:44:05.320
Perfect! The path variables need to include the path to Python and the Python script folder. (eg.
C:\Python\;C:\Python\Scripts
) – John – 2013-03-07T19:48:51.023