Why my Third-Party Moduel doesnt work? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why my Third-Party Moduel doesnt work?

Hi, i have a problem with one of the third-party modules on Python. Since i am with the 3.6 32-bit version the pip tool should be automatically installed. When i type import pyperclip in the interactive shell and press enter no error occurs. And then when i type pyperclip.copy('hi') it shows that module 'pyperclip' has no attribute paste (nor copy) P.S I renamed the file to pyperclip_test.py, but the problem remains. Im with windows computer. Thank you for the help, in advance!

10th Jun 2018, 12:59 PM
Tatyana Mileva
Tatyana Mileva - avatar
1 Answer
+ 2
try reinstalling it again, the same happened to me when using my bs4 module, so all i did was reinstall the module.. for windows try: pip install pyperclip. Or maybe it needs and update if the above doesn't work so try: pip install -U pyperclip
10th Jun 2018, 1:14 PM
ghali lawal
ghali lawal - avatar