SliTaz SliTaz Forum

You are not logged in.

#1 2011-07-13 10:55:21

eokyere
Member
Registered: 2011-07-13
Posts: 2

Newbie: How to setup python2.6 and django on Slitaz

Hello All. I am a newbie to SliTaz, although I have used Ubuntu and Redhat in the past, and I use Mac OS as my primary OS. I am also very comfortable on a commandline.

I have just setup a virtual machine with SliTaz-3.0. I am looking to install python2.6 (with python-virtualenv etc) and django next.

I tried tazpkg get-install python, but that seems to try to install python-2.5.1. I then tried tazpkg get-install python-2.6, but of course, that did not find anything.

Can somebody here please help me setup python2.6 on the current install? I am pretty sure I can make my way from there. Many thanks.

Offline

#2 2011-07-13 15:24:03

Rokil
Member
Registered: 2011-06-24
Posts: 59

Re: Newbie: How to setup python2.6 and django on Slitaz

Have you tried to compile it yourself?

Offline

#3 2011-07-14 06:03:57

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: Newbie: How to setup python2.6 and django on Slitaz

Hi,

For Slitaz-3.0, which is the stable version, only python-2.5.1 is available.

But python-2.7.1 is available for cooking. You may look at the cooking version of slitaz...

Happy slitaz.

:-)

Offline

#4 2011-07-14 09:07:05

eokyere
Member
Registered: 2011-07-13
Posts: 2

Re: Newbie: How to setup python2.6 and django on Slitaz

@totoetsasoeur: I need 2.6 specifically. @Rokil: haven't tried that yet. I thought there'll be a 'tazpkg way' of doing it. I'll try that next. Thanks.

Offline

#5 2011-07-14 11:00:04

totoetsasoeur
Moderator
Registered: 2011-03-29
Posts: 247

Re: Newbie: How to setup python2.6 and django on Slitaz

or you could get a debian package (I have not checked if available..) and convert it with something:

#tazpkg convert debian_pack

Offline

#6 2014-09-01 10:39:08

geev03
Member
Registered: 2012-01-09
Posts: 43

Re: Newbie: How to setup python2.6 and django on Slitaz

It is easy now to get django up and running in SliTaz 5.0-RC2

code:

=================================

tazpkg get-install git

git clone git://github.com/django/django.git django-trunk

wget https://bootstrap.pypa.io/get-pip.py

python get-pip.py

pip install Django==1.6.5

python -c "import django; print(django.get_version())"

=================================

[attachment=33406,1656]

Offline

#7 2014-09-01 11:31:16

necrophcodr
Member
Registered: 2014-02-20
Posts: 101

Re: Newbie: How to setup python2.6 and django on Slitaz

You realize you posted a reply to a 3 year old post, in which 1 new stable SliTaz release has been made, and the second release candidate for SliTaz 5.0 is out, right?

Offline

#8 2014-09-01 12:05:53

geev03
Member
Registered: 2012-01-09
Posts: 43

Re: Newbie: How to setup python2.6 and django on Slitaz

Yes. Did that hoping someone looking to install  a later version of Django on SliTaz 5.0-RC2  will save few minutes of his/her time...

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]