Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you install Python Xlib with pip?

Tags:

python

pip

xlib

"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?

like image 549
Amandasaurus Avatar asked Apr 07 '12 13:04

Amandasaurus


People also ask

Can you install Python packages using pip?

The pip command has options for installing, upgrading and deleting packages, and can be run from the Windows command line. By default, pip installs packages located in the Python Package Index (PyPI), but can also install from other indexes.

How do I pip install in Python?

Ensure you can run pip from the command lineRun python get-pip.py . 2 This will install or upgrade pip. Additionally, it will install setuptools and wheel if they're not installed already.

What is xlib Python?

"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 .


1 Answers

sudo pip install svn+https://svn.code.sf.net/p/python-xlib/code/trunk/

Worked for me.

like image 132
Nolen Royalty Avatar answered Sep 22 '22 17:09

Nolen Royalty