Comments (2)
After digging around for a bit, this issue occurs once I install PyQt4.
Connecting to a Ubuntu Server 14.04 LTS using PuTTY:
root@pyperclip:~# sudo pip install pyperclip==1.5.17
[...]
RuntimeError: No clipboard software is installed. Install one of: gtk, PyQt4, xclip, xsel, or klipper
[...]
root@pyperclip:~# sudo pip install --upgrade pyperclip # no side effects in the latest release! :)
Successfully installed pyperclip
root@pyperclip:~# mitmproxy # this works, but clipboard is unavailable.
root@pyperclip:~# sudo apt-get install python-qt4
root@pyperclip:~# mitmproxy
: cannot connect to X server
from pyperclip.
This is the situation for other clipboards:
gtk2: Warning, but no exit.
root@pyperclip:~# mitmproxy
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
xclip, xsel, klipper: No warning on startup.
from pyperclip.
Related Issues (20)
- I got a weird bug HOT 2
- Add wheel/pyproject.toml? HOT 3
- Python 3.11.1 - error pyperclip: No module named '_ctypes' HOT 1
- ERROR: No .egg-info directory found in C:\Users\Ni\AppData\Local\Temp\pip-pip-egg-info-y2n30vc4
- Multi-clipboard Support
- Condense Linux and macOS and support BSD, headless Linux
- TypeError: 'dict' object is not callable HOT 1
- WSL2 broken encoding with pyperclip? HOT 4
- sdist is missing tox.ini
- Test output is polluted by TEST HOT 2
- copy_xclip hangs the terminal when you try to exit
- Is this project still active? HOT 2
- ⚠️ This module looks like isn't maintained anymore, use alternative: Clipman 😇 HOT 2
- How can I copy a string? HOT 1
- Why can't I package a program with this using pyinstall?
- How do you use pyperclip in termux? HOT 1
- Klipper backend appears to fail silently on Plasma 6 + Wayland HOT 1
- xclip installed but: Pyperclip could not find a copy/paste mechanism for your system HOT 3
- Tests are broken in 1.9.0 release HOT 2
- Fix Popen to prevent signal passthrough
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyperclip.