I went into the python command line and typed $ easy_install decorator like how it says on the website https://pypi.python.org/pypi/decorator
It sounds like you're on Windows, so I will provide you with an extremely simple Windows-friendly way to install the Python package.
get-pip.py
from pip-installer.orgget-pip.py
using whichever version of Python you have installedpip.exe
tool obtained in step 2 to install the decorator
packageIf you have Python 2.7 installed in C:\Python27
, steps 2 and 3 will look like this:
C:\Python27\python.exe get-pip.py
C:\Python27\Scripts\pip.exe install decorator
I don't have a Windows machine running in front of me right now; so, let me know if my memory has failed me and the example commands I listed above do not work for you. Like mgilson pointed out in his answer, you need to execute these commands from a command prompt (run cmd.exe
from the Start Menu).
For future reference, adding your Python installation path and its Scripts
subdirectory to your system's PATH
environment variable make operations like this a lot less cumbersome. You can do this using setx
(e.g. setx PATH "C:\Python27;C:\Python27\Scripts;%PATH%"
).