眼镜:
Error: pyperclip.copy('Hello world!')
File "/usr/local/lib/python3.5/dist-packages/pyperclip/__init__.py", line 612, in lazy_load_stub_copy
return copy(text)
File "/usr/local/lib/python3.5/dist-packages/pyperclip/__init__.py", line 297, in __call__
raise PyperclipException(EXCEPT_MSG)
pyperclip.PyperclipException:
Pyperclip could not find a copy/paste mechanism for your system.
For more information, please visit https://pyperclip.readthedocs.io/en/latest/introduction.html#not-implemented-error
Run Code Online (Sandbox Code Playgroud)
我还尝试卸载并重新安装模块和剪贴板程序。我搜索了 2 个小时寻找答案并使用了所有这些,但它们没有用。我承认我是个菜鸟,但对我来说做这件事不应该这么难。