[Zope] ImportError: No module named sha

darcy w. christ darcy@elegant.com
Fri, 18 Feb 2000 13:51:20 -0500


Hi Zopers,

  i'm trying to install zope on FreeBSD 2.2.8.  i got this error.  Have
you ever seen it before?  i know sha has to do with the way that the
password is encrypted but i didn't realize that i might need something
other than python.  i'm using the latest source.  Any thoughts?  i
appreciate the help.

------------------------------------------------------------------------------
setting dir permissions
------------------------------------------------------------------------------
creating default database
chmod 0600 /u/.2/p/portrait/Zope-2.1.4-src/var/Data.fs
Traceback (innermost last):
  File "w_pcgi.py", line 111, in ?
    if __name__=='__main__': main(sys.argv[0])
  File "w_pcgi.py", line 109, in main
    import wo_pcgi; wo_pcgi.main(me)
  File "/u/.2/p/portrait/Zope-2.1.4-src/wo_pcgi.py", line 107, in main
    import zpasswd; zpasswd.write_access(home, user, group)
  File "/u/.2/p/portrait/Zope-2.1.4-src/zpasswd.py", line 90, in ?
    import sys, string, sha, binascii, whrandom, getopt, getpass, os
ImportError: No module named sha


-- 
~darcy w. christ
Elegant Communications Inc.
416.362.9772 x222 | 416.362.8324 fax