Hello everyone. I have python 3.10.6 and windows 8.1 so based on what I've found on the internet I'm supposed to have pip. I am going through the lessons from "Automate the Boring Stuff with Python" and I have to get Pyperclip but I just don't understand how. I would be very grateful if someone helped me please.
Pyperclip how to install
Receive error when trying to install module pyperclip on Windows
How do you import pyperclip package module on Windows 10?
Python 3.5 Pyperclip module import failure - Stack Overflow
Videos
» pip install pyperclip
open command prompt type: pip install pyperclip
if this doesn't work then do this use cd Python35/Scripts to get to the scripts folder This is the folder where pip is located.
Now type: pip install pyperclip
This will download and install pyperclip
now type: pip freeze
And pyperclip should be listed
If you want to test in python shell remember to close the shell(if open) and open new one because it needs to load the new package.
type in python shell: import pyperclip
it should accept it and now you can pyperclip.copy() and pyperclip.paste()
Good luck!
sudo pip3 install pyperclip
did the trick for me
Hey there.
I've been have trouble finding out how to install the pyperclip module on windows. Any help would be much appreciated.
I am using the Python 3.6.1
EDIT: SOLVED!. Details in comment. Thanks all!
I got the ATBS for free the other week and have been working through it. I'm at a section where he tells us to use pip to install pyperclip.
I've search A LOT about this, and almost every answer is instructions on how to get pip to install it.
That is not the problem I'm having. It says "Successfully installed pyperclip-1.8.2" in the command prompt.
The IDLE shell says ModuleNotFoundError: No module named 'pyperclip'.
I don't know what to do here. I am brand new to programming and no nothing about the cmd prompt really.
One thing I do know is pip is installing pyperclip in a folder that isn't where python is installed and I think that might be the issue, but I don't know how to fix it.
C:\Program Files\Python310\Scripts>pip install pyperclip
Defaulting to user installation because normal site-packages is not writeable
Collecting pyperclip
Using cached pyperclip-1.8.2.tar.gz (20 kB)
Preparing metadata (setup.py) ... done
Using legacy 'setup.py install' for pyperclip, since package 'wheel' is not installed.
Installing collected packages: pyperclip
Running setup.py install for pyperclip ... done
Successfully installed pyperclip-1.8.2If I try again, I can see where it installed:
C:\Program Files\Python310\Scripts>pip install pyperclip Defaulting to user installation because normal site-packages is not writeable Requirement already satisfied: pyperclip in c:\users\user\appdata\roaming\python\python310\site-packages (1.8.2)