WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Python (python-setuptools.tcz) no easy_install ?  (Read 4671 times)

Offline lykkedk

  • Full Member
  • ***
  • Posts: 182
Python (python-setuptools.tcz) no easy_install ?
« on: April 18, 2015, 10:17:08 AM »
 :) Hi.

While i am struggling making bluetooth work, i need some python modules (gi.repository import GObject)
I tried compiling it myself, but had no luck.

So i tried loading the python-setuptools.tcz
easy_install is according to https://pythonhosted.org/setuptools/easy_install.html#installing-easy-install just a script.

But it does not work out of the box ? - What am i doing wrong ??

Quote
tc@PlayBox:~/bluez-4.101/test$ tce-load -i python-setuptools
python-setuptools is already installed!

Quote
tc@PlayBox:~$ easy_install
-sh: easy_install: not found
tc@PlayBox:~$ sudo easy_install
sudo: easy_install: command not found

Rgds; Jesper.

Offline lykkedk

  • Full Member
  • ***
  • Posts: 182
Re: Python (python-setuptools.tcz) no easy_install ?
« Reply #1 on: April 18, 2015, 11:42:23 AM »
SOLVED  :-[

python easy_install did the trick  ::)

Sry... Jesper.

Offline Petr

  • Newbie
  • *
  • Posts: 3
Re: Python (python-setuptools.tcz) no easy_install ?
« Reply #2 on: December 01, 2015, 05:34:52 AM »
Hi!

I have the same problem. Can somebody help to solve it?


Best regards,
                              Petr

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11163
Re: Python (python-setuptools.tcz) no easy_install ?
« Reply #3 on: December 01, 2015, 05:41:59 AM »
Hi petrnaumenko
Did you enter:
Code: [Select]
python easy_install

Offline Petr

  • Newbie
  • *
  • Posts: 3
Re: Python (python-setuptools.tcz) no easy_install ?
« Reply #4 on: December 02, 2015, 01:43:53 AM »
Hi Rich,

Thanks a lot for you reply  :)

yes I tried several approaches, and I tried to find it...

here it is find results:
Code: [Select]
tc@box:~$ sudo find / -name easy*
/usr/local/lib/python2.7/site-packages/easy-install.pth
/tmp/tcloop/python-setuptools/usr/local/lib/python2.7/site-packages/easy-install.pth

there is no easy_install  :-\

I even installed pip by:
Code: [Select]
tc@box:~$ wget https://bootstrap.pypa.io/get-pip.py
tc@box:~$ sudo python get-pip.py

but after reboot pip disappeared  :(

may be you can help me make pip stable after reboot :)

This is my first experience with the tiny core, I used ubuntu and debian before. In my view its becomes too huge and slow. :)
« Last Edit: December 02, 2015, 02:00:16 AM by Petr »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14506
Re: Python (python-setuptools.tcz) no easy_install ?
« Reply #5 on: December 02, 2015, 04:55:31 AM »
looking at python-setuptools.tcz.list in both armv6/7, the extension seems to be missing a lot of files as compared to the x86 version, but maybe I'm missing something?

As the tinycore file system is in ram, the files downloaded by get-pip will not persist across boots unless you add them to your backup or make a personal extension out of them.

Offline Petr

  • Newbie
  • *
  • Posts: 3
Re: Python (python-setuptools.tcz) no easy_install ?
« Reply #6 on: December 02, 2015, 05:17:05 AM »
Hi Juanito.

Thanks for you reply  :)

As I see I can make  personal extension something like folder on the hdd and install applications there, also I need to include information about this folder to the boot script so system "knows" where to find additional applications.  ???

Would you be so kind and write me how can I do it or give me link where I can read about it?   :)

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14506