Install pyradio with pip

Using applications, configuring, problems
Post Reply
Message
Author
thoase
Posts: 115
Joined: Fri 03 Apr 2009, 17:24
Location: Sweden

Install pyradio with pip

#1 Post by thoase »

I downloaded pyradio from http://linux.softpedia.com/get/Multimed ... 1519.shtml.

In the instructions for the installation it's say that I should use the command
pip install pyradio. But do I find pip?

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

open the PPM and type python-pip into the find box.

BTW what puppy version?
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

thoase
Posts: 115
Joined: Fri 03 Apr 2009, 17:24
Location: Sweden

#3 Post by thoase »

I use Lucid Puppy 5.2.8.6

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

Re: Install pyradio with pip

#4 Post by Geoffrey »

thoase wrote:I downloaded pyradio from http://linux.softpedia.com/get/Multimed ... 1519.shtml.

In the instructions for the installation it's say that I should use the command
pip install pyradio. But do I find pip?
pip isn't needed to build an install, I used py-setuptools with the command " python setup.py bdist " that builds a distributable tar.gz that I made a pet from, this will require python2.7 to run, from a terminal type " pyradio ".
Attachments
pyradio-0.4.3.pet
(10.33 KiB) Downloaded 139 times
pyradio.png
(93.98 KiB) Downloaded 296 times
Last edited by Geoffrey on Sat 01 Aug 2015, 11:52, edited 1 time in total.
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#5 Post by Semme »

If python-pip isn't there, you've gotta update Lucid's repo.. Cause it IS there.
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

thoase
Posts: 115
Joined: Fri 03 Apr 2009, 17:24
Location: Sweden

#6 Post by thoase »

I downloaded Python-2.7.2-i486.pet and installed it. When I try to start pyradio I get this error:
Traceback (most recent call last):
File "/usr/bin/pyradio", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

When I run cat /usr/bin/pyradio it displays:
#!/usr/bin/python
# EASY-INSTALL-ENTRY-SCRIPT: 'pyradio==0.4.3','console_scripts','pyradio'
__requires__ = 'pyradio==0.4.3'
import sys
from pkg_resources import load_entry_point

sys.exit(
load_entry_point('pyradio==0.4.3', 'console_scripts', 'pyradio')()
)

What's wrong?

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#7 Post by Geoffrey »

thoase wrote:I downloaded Python-2.7.2-i486.pet and installed it. When I try to start pyradio I get this error:
Traceback (most recent call last):
File "/usr/bin/pyradio", line 5, in <module>
from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
I built that in Carolina, must be some differences, I don't have Lucid Puppy 5.2.8.6 so I tried it in Tahr, but it didn't work either, I then downloaded the python packages with setuptools for Tahr and built a new package which had the same " pkg_resources import load_entry_point " error. I searched the ppm for " pkg_resources " and download the the appropriate python package, it then worked, it also requires mplayer be installed, hope that helps, here is the Tahr version.
Attachments
pyradio-0.4.3-tahr.pet
(10.42 KiB) Downloaded 126 times
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

Post Reply