WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Python on piCore-20121202  (Read 4313 times)

Offline phillip.toone

  • Newbie
  • *
  • Posts: 40
Python on piCore-20121202
« on: December 29, 2012, 06:37:57 PM »
So I downloaded piCore-20121202 and installed it to a SD card as instructed in the README.txt file.  I now have a working desktop.  :)

I tried to install python following the example in the README.txt file.  I type "tce" from the command terminal to start the TCE application.  I type "s" to search for "python".  I see the following options:

1. python-dev.tcz
2. python-doc.tcz
3. python-git.tcz
4. python-libproxy.tcz
5. python.tcz

I choose "5" and see that it is version "2.7.3", "Binaries only", "Compiled for RPI".  I choose "q" to quit and press "i" to install.  I get the following output.

Connecting to repo.picorelinux.org (178.48.167.232:80)
wget: short write
sqlite3.tcz: FAILED
md5sum: WARNING: 1 of 1 computed checksums did NOT match
Error on sqlite3.tcz

I'm not sure what I am doing wrong.  I've also tried installing the other four python packages with various errors.  Am I selecting the write package?  Am I using the right mirror?  Maybe I have a problem with my tce-setdrive?  When I try to run tce-setdrive again I get this:

Your TCE Drive, /mnt/mmcblk0p1/tce, has already been selected!

I didn't have any problems when setting up my system initially.  Maybe there is a problem with the python package?  When I try to do this from the Apps program I get the following error trying to browser for the python package.

Error, check network, mirror or writable extension directory.

I think my network is fine because ifconfig give me reasonable ip addresses.  Any help would be appreciated.  Thank you very much.
« Last Edit: December 29, 2012, 06:41:04 PM by phillip.toone »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Python on piCore-20121202
« Reply #1 on: December 29, 2012, 06:58:10 PM »
Where is your tce directory?

Python package in repo is working, tested. It is enough to install python.tcz no need for others.

Let me know where is /tce If on the mmcblk0p1 partition installation is wrong. You need an ext3 or ext4 partition created on the remaining unpatitioned area of the SD card with a /tce directory and a 256MB SWAP on the SD. Boot partition (mmcblk0p1) is too small for downloaded extensions and also risky for R/W as it is a FAT type.
« Last Edit: December 29, 2012, 07:14:04 PM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline phillip.toone

  • Newbie
  • *
  • Posts: 40
Re: Python on piCore-20121202
« Reply #2 on: April 14, 2013, 10:28:37 PM »
Let me know where is /tce If on the mmcblk0p1 partition installation is wrong. You need an ext3 or ext4 partition created on the remaining unpatitioned area of the SD card with a /tce directory and a 256MB SWAP on the SD. Boot partition (mmcblk0p1) is too small for downloaded extensions and also risky for R/W as it is a FAT type.

Yes, this is the same problem you addressed here.  Sorry for bringing the same problem up more once.  And thanks again for all your help.