Hi Guys,
I am trying to install pyload on my raspberry pi on which osmc is installed. when I try to run following command
apt-get install python-crypto python-imaging python-openssl python-pycurl tesseract-ocr gocr python-django openssl unrar rhino
it says
E: Package ‘python-pycurl’ has no installation candidate
E: Package ‘tesseract-ocr’ has no installation candidate
E: Package ‘gocr’ has no installation candidate
E: Package ‘python-django’ has no installation candidate
E: Package ‘unrar’ has no installation candidate
E: Package ‘rhino’ has no installation candidate
my source file is
deb Index of /raspbian jessie main contrib non-free
deb apt.osmc.tv jessie main
deb archive.raspbian.org/raspbianjessie main contrib non-free
deb-src Index of /raspbian wheezy main contrib non-fr$
deb ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src ftp.us.debian.org/debian/ jessie main contrib non-free
What am I doing wrong ?
Where did you get the list of package names from ? Not all distributions use the same package names for the same item…
Did you run apt-get update first?
Sam
yes. i run it with sudo command.
Hi,
yeah @abmussani that was my starting point too, but I ended up doing a couple of things differently! After a sudo apt-get update
I installed the following packages: python-support python-crypto python-pycurl tesseract-ocr tesseract-ocr-eng libmozjs-24-bin
. Then I symlinked the JavaScript binary like so: js -> /usr/bin/js24
. I skipped the whole ssl and QT thing because I just access pyload from inside and use it headless. Then just download pyload from the github repo, unpack it somewhere and configure it. pyLoadCore.py -s
will guide you throgh the process. It will tell you if you miss any deps. This is what you end up with:
## System Check ##
Python Version: OK
pycurl: OK
sqlite3: OK
pycrypto: OK
py-OpenSSL: missing
py-imaging: OK
tesseract: OK
PyQt4: missing
jinja2: OK
beaker: OK
JS engine: OK
Hope that helps a bit.
Cheers
But when i try to install python-pycurl it gives me error. Package 'python-pycurl' has no installation candidate
can you share your source.list file ?
Sure. It’s pretty much standard OSMC. Didn’t touch it…
deb http://ftp.debian.org/debian jessie main contrib non-free
deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb http://apt.osmc.tv jessie main
Try sudo apt search pycurl
. It should give you a list of packages where the name contains pycurl.
Thank you for providing me your source file. I tried these sources but still it giving me error. I could not find what is the issue. I am using raspberry pi model B with osmc.