栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Python

【Python问题】Pyperclip could not find a copy/paste mechanism for your system

Python 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

【Python问题】Pyperclip could not find a copy/paste mechanism for your system

ubuntu需要安装几个工具 错误如下
anaconda3/envs/cooper/lib/python3.9/site-packages/pandas/io/clipboard/__init__.py:627: in lazy_load_stub_copy
    return copy(text)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = .ClipboardUnavailable object at 0x7f25eb685fa0>, args = ('abcd...',), kwargs = {}

    def __call__(self, *args, **kwargs):
>       raise PyperclipException(EXCEPT_MSG)
E       pandas.io.clipboard.PyperclipException: 
E           Pyperclip could not find a copy/paste mechanism for your system.
E           For more information, please visit
E           https://pyperclip.readthedocs.io/en/latest/#not-implemented-error

anaconda3/envs/cooper/lib/python3.9/site-packages/pandas/io/clipboard/__init__.py:287: PyperclipException
安装xsel工具
(cooper) cooper@cooper:~$ sudo apt-get install xsel
[sudo] password for cooper: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  xsel
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 20.6 kB of archives.
After this operation, 73.7 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 xsel amd64 1.2.0-2 [20.6 kB]
Fetched 20.6 kB in 0s (26.4 kB/s)
Selecting previously unselected package xsel.
(Reading database ... 255097 files and directories currently installed.)
Preparing to unpack .../xsel_1.2.0-2_amd64.deb ...
Unpacking xsel (1.2.0-2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up xsel (1.2.0-2) ...
安装xclip工具
(cooper) cooper@cooper:~$ sudo apt-get install xclip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  xclip
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 17.0 kB of archives.
After this operation, 72.7 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu xenial/universe amd64 xclip amd64 0.12+svn84-4 [17.0 kB]
Fetched 17.0 kB in 0s (21.6 kB/s)
Selecting previously unselected package xclip.
(Reading database ... 255103 files and directories currently installed.)
Preparing to unpack .../xclip_0.12+svn84-4_amd64.deb ...
Unpacking xclip (0.12+svn84-4) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up xclip (0.12+svn84-4) ...
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/341621.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号