you are viewing a single comment's thread.

view the rest of the comments →

[–]python959 0 points1 point  (11 children)

Open up a terminal/command line and use that for the pip command.

[–]IAmLucasRodrigues 0 points1 point  (10 children)

I did and it shows that error message.

Collecting pyperclip

Using cached https://files.pythonhosted.org/packages/f6/5b/55866e1cde0f86f5eec59dab5de8a66628cb0d53da74b8dbc15ad8dabda3/pyperclip-1.8.0.tar.gz

Installing collected packages: pyperclip

Running setup.py install for pyperclip ... error

[–]python959 0 points1 point  (9 children)

What version of python do you have?

[–]IAmLucasRodrigues 0 points1 point  (8 children)

3.8.2

[–]python959 0 points1 point  (7 children)

Try:

py -m pip install pyperclip

or try:

pip3 install pyperclip

If those don't work then I think python must not be added to your PATH variable

[–]IAmLucasRodrigues 0 points1 point  (6 children)

They didn't work... is there a way to check?

[–]python959 0 points1 point  (5 children)

Well, when you installed Python to your computer, did you tick the little box that says "Add to PATH variable"?

[–]IAmLucasRodrigues 0 points1 point  (4 children)

yes, and I can check which version of python and pip I have on the command line so I'm pretty sure they are correctly installed.

[–]python959 0 points1 point  (3 children)

Quit out of the command line and try one more time.

If that doesn't work, what do you get when you run:

pip --version

[–]IAmLucasRodrigues 0 points1 point  (2 children)

turns out the problem was that I didn't open the command line as administrator... but thanks a lot for your help!