You must navigate to your default install location for 3.6. For IDLE 32 bits it's:

C:\Users\<username>\AppData\Local\Programs\Python\Python36-32\Scripts\

for IDLE 64 bits use:

C:\Users\<username>\AppData\Local\Programs\Python\Python36\Scripts\

If you navigate to that directory in the command prompt (use cd command), then the command

pip install pyperclip

should work.

Answer from Oscar Albert on Stack Overflow
🌐
Raspberry Pi Forums
forums.raspberrypi.com › board index › programming › python
ModuleNotFoundError: No module named 'pyperclip' - Raspberry Pi Forums
Your python executable is 3.8 (good) and you use it by typing 'python' in the console. Install the module (it is not a built in module) "sudo python -m pip install pyperclip" which is basically the same as "sudo pip install pyperclip", but ensures that the matching pip for your python is used.
Discussions

ModuleNotFoundError: No module named 'pyperclip'
You may have more than one python environment on your PC, one of which has pyperclip installed and one that doesn't. Examine the bat file to determine how to run python, then run that same version of python to do the installation. -m pip install pyperclip https://stackoverflow.com/questions/47425520/activate-virtualenv-and-run-py-script-from-bat Alternately, examine your IDE; what version of python does it run? Use that same version of python.exe and/or python virtualenv in your bat file. More on reddit.com
🌐 r/learnpython
9
3
March 12, 2022
Pyperclip how to install
How can I install it? I tried many times … thanks Giorgio More on discuss.python.org
🌐 discuss.python.org
8
0
October 21, 2024
python - Can't import Pyperclip - Stack Overflow
Traceback (most recent call last): File "", line 1, in import pyperclip ImportError: No module named 'pyperclip' More on stackoverflow.com
🌐 stackoverflow.com
Cannot install pyperclip on windows 10 using pip version 21.2.4
Traceback (most recent call last): File "", line 1, in import pyperclip ModuleNotFoundError: No module named 'pyperclip' More on github.com
🌐 github.com
2
February 19, 2022
🌐
Reddit
reddit.com › r/learnpython › modulenotfounderror: no module named 'pyperclip'
r/learnpython on Reddit: ModuleNotFoundError: No module named 'pyperclip'
March 12, 2022 -

Hi. I've pip installed pyperclip to my windows machine. Python has been added to PATH. I created a paste -> modify -> copy program that runs fine inside Mu. I had to install pyperclip separately into Mu to get that to work.

However when I created a .bat file to run it I get the following error:

ModuleNotFoundError: No module named 'pyperclip'

This is the first time I have tried to run .bat file that has a module not part of the standard library. Using Python 3.10, pyperclip 1.8.2, Mu 1.1.0b7 and Windows 11

Any idea where I've gone wrong?

🌐
PyPI
pypi.org › project › pyperclip
pyperclip · PyPI
>>> import pyperclip >>> pyperclip.copy('The text to be copied to the clipboard.') >>> pyperclip.paste() 'The text to be copied to the clipboard.' Currently only handles plaintext. On Windows, no additional modules are needed.
      » pip install pyperclip
    
Published   Sep 26, 2025
Version   1.11.0
🌐
Edureka Community
edureka.co › home › community › categories › python › modulenotfounderror no module named pyperclip
ModuleNotFoundError No module named pyperclip | Edureka Community
June 23, 2020 - Hi Guys, I am trying to import pyperclip library in Jupyter Notebook. But it is showing me the ... named 'pyperclip How can I solve this error?
Find elsewhere
🌐
GitHub
github.com › pypa › pip › issues › 10916
Cannot install pyperclip on windows 10 using pip version 21.2.4 · Issue #10916 · pypa/pip
February 19, 2022 - Traceback (most recent call last): File "<pyshell#1>", line 1, in import pyperclip ModuleNotFoundError: No module named 'pyperclip'
Author   makelly1
🌐
GitHub
github.com › asweigart › pyperclip › issues › 95
[Solved]Can't import into Python 3.6 · Issue #95 · asweigart/pyperclip
August 1, 2017 - ", line 1, in import pyperclip ModuleNotFoundError:...
Author   catinsunshine
🌐
GitHub
github.com › somethingcoolmustbehere › dumpPakKey › issues › 5
No module named 'pyperclip' · Issue #5 · allcoolthingsatoneplace/dumpPakKey
October 5, 2020 - No module named 'pyperclip'#5 · Copy link · Starkium · opened · on Oct 5, 2020 · Issue body actions · Traceback (most recent call last): File "dumpPakKey.py", line 6, in ModuleNotFoundError: No module named 'pyperclip' [72216] Failed to execute script dumpPakKey ·
Author   Starkium
🌐
Reddit
reddit.com › r/learnpython › no module named 'pyperclip'
r/learnpython on Reddit: No module named 'pyperclip'
June 7, 2019 -

I've been trying for several hours to import pyperclip in the Canopy text editor. The command prompt indicates that I have pyperclip installed. However, the text editor gives an error: No module named 'pyperclip'. I've installed and uninstalled python several times.

Help

🌐
Stack Overflow
stackoverflow.com › questions › 70064217 › modulenotfounderror-no-module-named-pyperclip-in-visual-studio-code › 71292622
python - ModuleNotFoundError: No module named 'pyperclip' in Visual Studio Code - Stack Overflow
The problem could be because you are not working from a virtual environment. Create a virtual environment. with this command. Before that, ls to the folder and run this command in the present working folder.
🌐
Reddit
reddit.com › r/learnpython › problems with pip install pyperclip in automate the boring stuff
r/learnpython on Reddit: Problems with pip install pyperclip in Automate The Boring Stuff
April 19, 2017 -

To start off I am a very inexperienced beginner. This subreddit has been pretty great I appreciate all the tools and support I have found throughout this subreddit, which is why I came here to search for help. On page 135 of Automate the Boring Stuff, one has to use the pyperclip module, which is referenced in Appendix A on how to install. This is where I am having a problem.

In Appendix A it states, "On Windows, you can find pip at C:\Python34\Scripts\pip.exe." I am running Windows 10 and Python 3.6. I cannot find the pip.exe. I previously found it in C:\Python27\Scripts\pip.exe. When I would click to open this, it would pop up and then close out automatically, so I assumed it had something to do with having both Python 2 and 3. However, I uninstalled Python 2.7 after realizing the redundancy of having both Python 2 and 3. I have a location (C:\Python3) however this file is empty. I thought having both Python 2 and 3 may have been the issue as to why I had a blank "Python 3" folder, so I uninstalled Python 3 and reinstalled it in hopes that I would then have all the necessary scripts. Still, no luck. When installing I just did the basic install that includes pip. Does it have something to do with having some form of antivirus or firewall on my computer?

Now, I have read that pyperclip comes preinstalled in Python 3, so this problem is not much of an issue, however I cannot import pyperclip in IDLE (ModuleNotFoundError: No module named 'pyperclip'). This must mean I need to install pyperclip with pip but I cannot access pip. Is pip accessed through Python 3.6? Or directly through Powershell or the command prompt?

I apologize if any of this sounds redundant or ignorant, I have tried my best for the past few hours to discover a solution with no avail. Again I am a beginner but I have invested in a lot of Python study materials in hopes to one day become proficient in the language. I appreciate any input that can be provided.

EDIT: Solved the problem! Thanks for the help /learnpython

🌐
Reddit
reddit.com › r › learnpython › comments › 3e1b07 › noob_problem_importing_common_module_pyperclip
r/learnpython - [Noob] Problem importing common module (pyperclip) while following tutorial on OS X...
January 28, 2021 -

TL;DR: "ImportError: No module named 'pyperclip'; Tried "easy_install" and "pip" to install the module, error persists. Code is in Python 3, /Library/Python directory only has libraries for 2.3-2.7.

So I'm working through the "Automate the Boring Stuff" intro to Python, doing the first project for Chapter 6, which is a basic (unsecure) password manager.

It makes use of the "sys" module and "pyperclip" module, so I have

import sys, pyperclip

in there, as instructed. The problem is, when I go to run the code, I get this error:

ImportError: No module named 'pyperclip'

The tutorial says that the 'pyperclip' module should already be installed, but I Googled around to see if I could figure it out myself... I tried easy_install and pip to install 'pyperclip,' and it seemed like it went okay. When I go 'pip install pyperclip' now, I get:

Requirement already satisfied (use --upgrade to upgrade): pyperclip in /Library/Python/2.7/site-packages/pyperclip-1.5.11-py2.7.egg

...but I still get the same error trying to run my code. I noticed that it seems to be referring to Python v2.7, whereas the tutorial (and my code) is based on Python 3 (3.4.3 I think).

My /Library/Python/ directory doesn't have any folders for Version 3, so it seems like that could be the root of my problem, but I couldn't find a straightforward way to install Python 3 libraries.

Any idea how I can get the module to work?

EDIT: I notice that in Terminal, if I type "python" it loads Python 2.7. From there, I can use "import pyperclip" and subsequently "pyperclip.copy("Hello world!")" without any problems. If I type "python3" in the terminal, it loads Python 3.4.3, and I still get "ImportError: No module named 'pyperclip'"

🌐
Reddit
reddit.com › r › learnpython › comments › hu9n3s › modulenotfounderror_no_module_named_pyperclip
r/learnpython - ModuleNotFoundError: no module named 'pyperclip'
July 20, 2020 -

Hello, so i'm fairly new to python so i would appreciate any and all the help i can get.

I created a simple program, when i press a button, text is copied to my clipboard, to do this i imported pyperclip. the problem is when i use pyinstaller to distribute it to a windows system, instead of the program running the cmd pops up for half a second saying:

ModuleNotFoundError: no module named 'pyperclip'

[7996] Failed to execute script Main

I have tried:

#installing pyperclip

#adding python to Path

#i uninstalled pyinstaller and installed the developer version, and also added a hidden import when i run the pyinstaller

so instead of pyinstaller --onefile Main.py

i used pyinstaller --hidden-import=pyperclip onefile Main.py

i've gone through quite a few forums, and tried making sense of documentation but i'm having a really hard time, any help would be appreciated
🌐
JustAnswer
justanswer.com › computer-programming › 9stys-need-run-python-code-import-files.html
How to Resolve 'No Module Named Pyperclip' Error in Python
July 11, 2016 - To resolve this error, you can include two lines of code at the beginning of the Python file (assuming that pyperclip is located in the specified directory; otherwise, adjust the path accordingly): ... There is no paperclip file.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360000083390-Unable-to-Import-pyperclip
Unable to Import pyperclip – IDEs Support (IntelliJ Platform) | JetBrains
February 25, 2018 - when i try to import pyperclip import webbrowser, sys, pyperclip I get the following error message /Users/ohizzy/PycharmProjects/HelloWorld/venv/bin/python /Users/ohizzy/PycharmProjects/HelloWorl...
🌐
Stack Overflow
stackoverflow.com › questions › 74607321 › why-do-i-get-modulenotfounderror-no-module-named-pyperclip-despite-installi
python - Why do I get "ModuleNotFoundError: No module named 'pyperclip'" despite installing it with pip? - Stack Overflow
... Requirement already satisfied: ... installations, separate from the one at your command line. You need to install the module in the version of Python you are running....
🌐
GitHub
github.com › pyinstaller › pyinstaller › issues › 8321
ModuleNotFoundError · Issue #8321 · pyinstaller/pyinstaller
February 22, 2024 - Traceback (most recent call last): File "Utils\insert_update_matricula_classlife_util.py", line 1, in <module> ModuleNotFoundError: No module named 'pyperclip' [6972] Failed to execute script 'insert_update_matricula_classlife_util' due to unhandled exception!
Author   aleonccc