Thursday, December 1, 2016

Install Louie for Python3

I needed Louie for a Python3 script, but it is not available through apt-get. To install directly from the github, just use the following command which makes use of pip3.

pi@raspberrypi:~ $ sudo pip3 install git+git://github.com/11craft/louie.git

In order to check for the installed modules in your python3 installation:
>>> import pip
>>> installed_packages = pip.get_installed_distributions()
>>> installed_packages_list = sorted(["%s==%s" % (i.key, i.version)
...      for i in installed_packages])
>>> print(installed_packages_list)
['babel==2.3.4', 'flask-babel==0.9', 'flask-socketio==2.8.1', 'flask-themes==0.1.3', 'flask-wtf==0.9.5', 'flask==0.10.1', 'gevent-socketio==0.3.6', 'gevent-websocket==0.9.5', 'gevent==1.1.1', 'greenlet==0.4.10', 'itsdangerous==0.24', 'libopenzwave==0.3.1', 'louie==1.2a1dev', 'nose==1.3.7', 'openzwave==0.3.1', 'pydispatcher==2.0.5', 'pyozwman==0.3.1', 'pyozwweb==0.3.1', 'python-engineio==1.1.0', 'python-socketio==1.6.1', 'pytz==2016.7', 'pyyaml==3.12', 'six==1.10.0', 'speaklater==1.3', 'urwid==1.3.1', 'virtualenv==15.1.0', 'webob==1.7.0rc1', 'werkzeug==0.11.11', 'wtforms==1.0.5']

No comments:

Post a Comment