Colin Fox
cfox at cfconsulting.ca
Wed Mar 17 20:38:54 EST 2004
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm writing some unit tests, and one of my modules is doing a "from mod_python import apache". I get this: ~ from mod_python import apache ~ File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 28, in ? ~ import _apache ImportError: No module named _apache when I try to run my tests stand-alone. When run from within apache, this works. How can I get it to run in stand-alone mode? Thanks, ~ cf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAWSfeoaQ1/feGlJoRAmJKAJ9i5Y3tZYp2BzAi5ZE3oEJZbT5uBQCfRQnm YyJXY0hks0X1wOIvqMsi/Og= =j5GU -----END PGP SIGNATURE-----
|