PDA

View Full Version : python 2.6/2.7



seagate1
24-05-2013, 03:01 PM
got a solo2 bh 2.0.3, in usr/lib there's 2 folders python 2.6 / 2.7.these plugins that we use , how do you know which to inatsll 2.6/2.7 ? plus what is the difference between both folders.

echelon
24-05-2013, 03:05 PM
2.6 is used for oe1.6 based images like bh 1.79

2.7 is used on the newer oe 2.0 images

you can check your version by ftp,ing into the box and am sure somebody will remind me and you of the correct path for checking (user/lib ? )

all these newer images like bh 2.01 and 2.02 and 2.03 are python 2.7 oe2.0 anyway, so should only have a python 2.7 folder and no python 2.6 folders

DCG
24-05-2013, 04:18 PM
if i remember right

user-lib-enigma2-python-plugins

but i might be wrong
need confirm from ian - or sonic1

regards
dave

oldfart
24-05-2013, 04:30 PM
root@dm500hd:~# python --version
Python 2.7.2
so .. type python --version
note double --

007.4
24-05-2013, 04:35 PM
The python folder is in

/usr/lib

eg
/usr/lib/python2.7
or
/usr/lib/python2.6

However, if you are using 2.7 and have installed crossepg you will also have the python2.6 folder with just a few files in it.
There will lots of files and sub-folders in the python2.7 folder

ian
24-05-2013, 04:35 PM
lol

the python 2.6 folder when you have both is just for crossepg,its never been properly compiled for 2.7 and was just a dirty hack to get it to work.

if you ever find you have both 2.6 and 2.7 folders as you just have,trust me,your running python 2.7

Ian.

seagate1
24-05-2013, 10:38 PM
lol

the python 2.6 folder when you have both is just for crossepg,its never been properly compiled for 2.7 and was just a dirty hack to get it to work.

if you ever find you have both 2.6 and 2.7 folders as you just have,trust me,your running python 2.7

Ian.

@ ian thanks that's all i wanted to know. from reading thru threads i thought how do i know if im running python 2.7 thats why i asked, thanks for input.

seagate1
24-05-2013, 10:43 PM
2.6 is used for oe1.6 based images like bh 1.79

2.7 is used on the newer oe 2.0 images

you can check your version by ftp,ing into the box and am sure somebody will remind me and you of the correct path for checking (user/lib ? )

all these newer images like bh 2.01 and 2.02 and 2.03 are python 2.7 oe2.0 anyway, so should only have a python 2.7 folder and no python 2.6 folders

thanks ech

" so should only have a python 2.7 folder and no python 2.6 folders "

from your post. that is why i was confused now i've got my answer thanks. its a few post down. or up lol.