First trial from root
[root@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@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