it works if i run python2.7 from cmd line
[root@(none) bin]# python2.7
Python 2.7.5 (default, Aug 12 2013, 15:43:02)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
but when i run just python i get this
[root@(none) bin]# python
Traceback (most recent call last):
File "/mnt/onboard/.python/lib/python2.7/site.py", line 548, in <module>
main()
File "/mnt/onboard/.python/lib/python2.7/site.py", line 530, in main
known_paths = addusersitepackages(known_paths)
File "/mnt/onboard/.python/lib/python2.7/site.py", line 266, in addusersitepackages
user_site = getusersitepackages()
File "/mnt/onboard/.python/lib/python2.7/site.py", line 241, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/mnt/onboard/.python/lib/python2.7/site.py", line 231, in getuserbase
USER_BASE = get_config_var('userbase')
File "/mnt/onboard/.python/lib/python2.7/sysconfig.py", line 516, in get_config_var
return get_config_vars().get(name)
File "/mnt/onboard/.python/lib/python2.7/sysconfig.py", line 449, in get_config_vars
import re
File "/mnt/onboard/.python/lib/python2.7/re.py", line 105, in <module>
import sre_compile
File "/mnt/onboard/.python/lib/python2.7/sre_compile.py", line 14, in <module>
import sre_parse
File "/mnt/onboard/.python/lib/python2.7/sre_parse.py", line 17, in <module>
from sre_constants import *
File "/mnt/onboard/.python/lib/python2.7/sre_constants.py", line 18, in <module>
from _sre import MAXREPEAT
ImportError: cannot import name MAXREPEAT
[root@(none) bin]#
if i run some of my existing code with that worked before hand with the only modiification being
#!/usr/bin/python2.7 on the first line
I get this
[root@(none) python]# ./dt2.py
Traceback (most recent call last):
File "./dt2.py", line 3, in <module>
import struct, pygame, os, sys, time, thread
File "/mnt/onboard/.python/lib/python2.7/site-packages/pygame/__init__.py", line 127, in <module>
from pygame.base import *
ImportError: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
[root@(none) python]#
Iany suggestions
P.S
thanks heaps you are a life saver \
hoping to re-pay the community with my own kobo hacking adventures
once i got everything working..