The first thing to do is create a file ~/.pydistutils.cfg
with the
following content:
[install]
install_lib = ~/py-lib
install_scripts = ~/bin
It's also a good idea to set PYTHONPATH
variable in ~/.profile
:
export PYTHONPATH=~/py-lib
Now we can proceed and install easy_install
:
$ cd ~
$ mkdir py-lib bin
$ curl http://peak.telecommunity.com/dist/ez_setup.py > ez_setup.py
$ source .profile
$ python ez_setup.py
Before installing flexget
, some required libraries try to import a
module unittest
which is not provided by OpenELEC's Python distribution.
To "fix" this, let's install the old pyunit
:
$ bin/easy_install pyunit
Finally we can proceed and install FlexGet:
$ bin/easy_install flexget transmissionrpc
All done.
Thanks for replying, I started by your suggestion, now I'm using 4.2.1
Sorry if this is not at the level of your post but I don't have much experience with linux. Could you elaborate on how to create (where) a directory where I'll be permitted to do this tasks?
When I tried to create a file always had no permissions.
Starting putty I got this:
OpenELEC:~ # ls
backup downloads lost+found pictures screenshots videos
bin music py-lib tvshows
My external usb drive is:
OpenELEC:/var/media/My Passport