当我运行以下代码时;
import pyperclip
pyperclip.copy('The text to be copied to the clipboard.')
它显示我跟随错误。
C:\pyzo2015a\lib\site-packages\pyperclip\__init__.py in _copyWindows(text)
46 text = text.decode('mbcs')
47
48 d.user32.OpenClipboard(0 if PY2 else None)
49
50 d.user32.EmptyClipboard()
ArgumentError: argument 1: <class 'TypeError'>: wrong type
有什么问题?我在Widows 7上使用Python3运行此代码。