Python Forum
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can't get pip to work
#1
I just started teaching myself how to program, and I'm using Python 3.6 and Windows 10.  I want to use pip to install the pyperclip module.  I know I can download the zip file to install pyperclip, but that's not the whole point.  I also want to learn how to use pip.  However, when I tried to do the installation, I got a SyntaxError.  I downloaded and ran get-pip.py to make sure I had all the scripts and tools I needed for this, but I still get the same error.  Below is a copy of my command line.  Can someone please help me figure out what is going wrong?


Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 17:54:52) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> python -m pip install pyperclip
  File "<stdin>", line 1
    python -m pip install pyperclip
                ^
SyntaxError: invalid syntax
>>> pip install pyperclip
  File "<stdin>", line 1
    pip install pyperclip
              ^
SyntaxError: invalid syntax
>>> pip install 'pyperclip'
  File "<stdin>", line 1
    pip install 'pyperclip'
              ^
SyntaxError: invalid syntax
>>>
Reply


Messages In This Thread
Can't get pip to work - by KBingo - May-09-2017, 01:58 AM
RE: Can't get pip to work - by metulburr - May-09-2017, 02:35 AM
RE: Can't get pip to work - by KBingo - May-09-2017, 03:26 AM
RE: Can't get pip to work - by volcano63 - May-09-2017, 07:33 AM
RE: Can't get pip to work - by snippsat - May-09-2017, 01:23 PM
RE: Can't get pip to work - by metulburr - May-09-2017, 02:34 PM
RE: Can't get pip to work - by sparkz_alot - May-09-2017, 01:46 PM
RE: Can't get pip to work - by metulburr - May-09-2017, 02:27 PM
RE: Can't get pip to work - by sparkz_alot - May-09-2017, 03:35 PM
RE: Can't get pip to work - by snippsat - May-09-2017, 03:51 PM
RE: Can't get pip to work - by metulburr - May-09-2017, 05:22 PM
RE: Can't get pip to work - by KBingo - May-11-2017, 02:45 AM
RE: Can't get pip to work - by snippsat - May-11-2017, 06:05 AM
RE: Can't get pip to work - by KBingo - May-11-2017, 09:35 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020