Lee Brown
administrator at leebrown.org
Thu Jun 23 18:26:51 EDT 2005
Greetings! First, make sure that the paths to those other python modules are available to the local interpreter handling the request: def handler(req): req.content_type = 'text/plain' req.write(sys.path) return apache.OK And if that's the problem, try adding this to your apache config file somewhere after the mod_python "AddHandler" directive: PythonPath "sys.path + ['path/to/pkg1' + 'path/to/pkg2', ...]" Best Regards, Lee E. Brown (administrator at leebrown.org) -----Original Message----- From: mod_python-bounces at modpython.org [mailto:mod_python-bounces at modpython.org] On Behalf Of Khormaee, Cy Sent: Thursday, June 23, 2005 2:02 PM To: mod_python at modpython.org Subject: [mod_python] modules with mod_python Hey all, Im very new to mod_python and wanted to import/use some other packages(NumPy, SciPy, and wxPython) to use in web applications. I successfully installed(manually) them and am able to use them in the system's(running redhat linux) python 2.2.3 interprete r, but mod_python simply does not recognize them. Are there any compatability/propogation issues I am unaware of? Any help would be greatly appreciated. _______________________________________________ Mod_python mailing list Mod_python at modpython.org http://mailman.modpython.org/mailman/listinfo/mod_python
|