Receive error when trying to install module pyperclip on Windows

I tried to install pyperclips with the following administrator command…
C:\Users\Brian Walker\AppData\Local\Programs\Python\Python39\Scripts\pip install paperclips
and I get the message…“ERROR: Could not find a version that satisfies the requirement pyperclips
ERROR: No matching distribution found for pyperclips” Anyone know what I may be doing wrong?

It seems like you’re using the wrong package name. The package is called pyperclip (singular, not plural). Try this: python3 -m pip install pyperclip

EDIT: Always use python3 -m pip :slight_smile:

I did get it installed, but when I try to run a program, I get the following message using Mu…Traceback (most recent call last):
File “c:\users\brian walker\mu_code\”, line 8, in
import sys, pyperclip
ModuleNotFoundError: No module named ‘pyperclip’ I have read that maybe where the module gets installed is incorrect. If that is the case, where does it need to go? I could copy and move it. This is where it states it is located…
C:\Users\Brian Walker\AppData\Local\Programs\Python\Python39\Scripts>pip install pyperclip
Requirement already satisfied: pyperclip in c:\users\brian walker\appdata\local\programs\python\python39\lib\site-packages (1.8.2)

You guess is probably correct.

Rather than copying and moving it, you’re better of making sure the
“pip” you run comes from the same Python install as the one running your

How are you running your programme?

I’m not a Windows person, so you’ll have to draw some parallels here,
but to directly invoke a Python script I would go:

python3 path/to/the/ ...

That picks a particular python3 install. To make sure I’m running its
“pip” when I install a package I go:

python3 -m pip install pyperclip

Adjust “python3” to match whatever Python you’re invoking. By using the
“pip” module from that specific Python you ensure that it installs the
package where that specific Python expects to find things.

Cameron Simpson