Add new python modules to my Vu+ Zero with Black Hole 3.0.1

jps1x2

Vu+ Newbie
I would like to test Pushbullet Api with my Vu+ Zero with Black Hole 3.0.1 using python language.

I have tested it with my laptop installing pushbullet.py and websocket-client modules and it works very well for sending notifications to my Smartphone and chatting for automating tasks.

I would like to use it to chat with my Vu+ and send it commands (like zap channel, record channel, receive screen capture from device, etc.) without the need to connect to my Vu+ through ssh remotely and tunnel sockets via ssh using DreamDroid or web interface.

How could i install pushbullet.py and websocket-client python modules to my Black Hole image?
How could i install any new python module i need?

Thanks in advance!
 

jps1x2

Vu+ Newbie
The problem here is that i can't use python install tools like:

Code:
pip install pushbullet.py

To install this library and its dependencies and i don't know other way to install python libraries in my BH image.

I need help to install new python libraries to test it in my Black Hole.

Thanks in advance!
 

cerejo

Vu+ Newbie
jps1x2 ve here is what you need.
Painel - Complementos - Imagens Feeds - Setopboxupdate Feeds.

cerejo
 
Last edited by a moderator:

jps1x2

Vu+ Newbie
Problem solved!

Steps on Black Hole console:

Code:
opkg install python-email
opkg install python-pkgutil
opkg install python-unittest
opkg install python-compile
cd /tmp
wget https://bootstrap.pypa.io/ez_setup.py -O ez_setup.py
python ez_setup.py

Last two commands are for installing Python easy_install tool.

Code:
easy_install websocket-client
easy_install pushbullet.py

Last two commands install Python modules needed for experiments with Pushbullet and its dependencies (python-magic and requests). Now we can use easy_install to install new Python libraries.
 
Top