I am trying to install Python programs using Pip. Python recognizes the pip module, but none of the pip commands. Has anyone else had this problem?
For example,
I am trying to install Python programs using Pip. Python recognizes the pip module, but none of the pip commands. Has anyone else had this problem?
For example,
pip
is a command-line tool, that also happens to be a module you can import.
To install a package, execute the command-line tool, not the module. E.g. run pip
in your terminal or console, not in Python itself:
$ pip install python-etsy
You tried to execute the command-line syntax in a Python shell; that's not valid Python syntax.
As of Python 3.4, pip
is included with Python, but to ensure you get to use the right version, you need to use the Python py
command to invoke it:
py -3 -m pip install python-etsy
See the Installing Python Modules documentation.