[CentOS] loosing applications
Michel Donais
donais at telupton.com
Sun May 6 21:45:16 UTC 2012
First trial from root
[root at serveur ~]# python
Python 2.4.3 (#1, Feb 22 2012, 16:06:13)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import libuser
"no error there; so it found it's way to libuser"
>>> print (sys.path)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
NameError: name 'sys' is not defined
"here it seem that there is no path defined
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Second trial (non-root) /usr/michel
[michel at serveur ~]$ python
Python 2.4.3 (#1, Feb 22 2012, 16:06:13)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> inport libuser
File "<stdin>", line 1
inport libuser
^
SyntaxError: invalid syntax
>>>
>>>
>>> print(sys.path)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
NameError: name 'sys' is not defined
>>>
I think we are near a solution
---
Michel Donais
More information about the CentOS
mailing list