我使用了pip3 install pyperclip,它成功地安装了pyperclip:
user@user:~$ pip3 install pyperclip
Collecting pyperclip
Installing collected packages: pyperclip
Successfully installed pyperclip-1.6.2当我尝试在python3中导入pyperclip时,它显示:
user@user:~$ python3 Python 3.7.0 (default, Jul 11 2018, 02:16:41)
[GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license"
for more information.
>>> import pyperclip Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named
'pyperclip'
>>>我还查看了pip3列表,看到那里列出了pyperclip。我在Ubuntu 18.04上
https://stackoverflow.com/questions/51382820
复制相似问题