[Zope] ImportError: No module named sha

Chris McDonough chrism@digicool.com
Fri, 18 Feb 2000 14:46:50 -0500


This happens usually when you try to install Zope using Python 1.5.1
instead of 1.5.2

"darcy w. christ" wrote:
> 
> 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
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )

-- 
Chris McDonough - Digital Creations, Inc.
Publishers of Zope - http://www.zope.org