How to use pip in Windows?

Viewed 90644

I am trying to install some modules using pip. My system is Windows 7 64-bit, and I'm using Python Shell and Python 2.7.

I've typed in following code to start the installation:

python -m pip install traitlets

According to this page, the above code should work. However I've got pip highlighted in red and an error message:

SyntaxError: invalid syntax

Can someone please point out what is wrong with my code?

2 Answers
Related