Chigozie Chinasi
Chigozie Chinasi

Reputation: 1

what does it mean when you get a Clipboard exception error

I am Using pydriod3 to learn python but I can't use the pyperclip module because of the error.

I searched clipboard in the Pip and tried downloading all the clipboard files no results. I have also search the web fir answer no results.

#This is my first time on stackoverflow so pardon me if I made a mistake;)

**This is the code:**
import pyperclip
pyperclip.copy('Hello world')
print(pyperclip.paste)


**This is the error message:**
Traceback (most recent call last):
  File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 31, in <module>
    start(fakepyfile,mainpyfile)
  File "/data/user/0/ru.iiec.pydroid3/files/accomp_files/iiec_run/iiec_run.py", line 30, in start
    exec(open(mainpyfile).read(),  __main__.__dict__)
  File "<string>", line 2, in <module>
AttributeError: module 'pyperclip' has no attribute 'copy

[Program finished]

Upvotes: 0

Views: 141

Answers (0)

Related Questions