How do you install Python Xlib with pip?

2019-01-24 01:43发布

"Python Xlib" ( http://pypi.python.org/pypi/Python%20Xlib ) is a low level python library for working with xlib. I have installed it on my Ubuntu Linux machine via apt, i.e. sudo aptitude install python-xlib. However is it possible to install it with pip in a virtualenv? I am writing a software package that uses xlib, and would like to be able to include an install_requires line in my setup.py.

Since the package is on PyPI (and appears in results of pip search xlib), I tried to pip install … the following package names but nothing worked: python\ xlib, python-xlib, Python Xlib, Python-Xlib, Python%20Xlib, but none worked. ` Is it possible to install python xlib with pip?

标签: python pip xlib
1条回答
混吃等死
2楼-- · 2019-01-24 02:16
sudo pip install svn+https://svn.code.sf.net/p/python-xlib/code/trunk/

Worked for me.

查看更多
登录 后发表回答