This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

python 2.7 module binascii not found


i have newly installed cygwin python 2.7 (python-2.7.3-1) where i
formerly used python 2.6.5.

my programs with "import urllib" now crash.

module urllib wants module base64 which wants module binascii.

there is no /usr/lib/python2.7/binascii.py
but there is /usr/lib/python2.7/lib-dynload/binascii.dll

what can i do to fix this?


mh@giaour /home/mh
$ python googledemangle.py
'http://www.google.com/url?sa=t&rct=j&q=binascii+python+site%3Acygwin.com&source=web&cd=25&cad=rja&ved=0CK8BEBYwGA&url=http%3A%2F%2Fcygwin.com%2Fml%2Fcygwin%2F2012-07%2Fmsg00652.html&ei=Rkh5UY6nFNGGqwHo3YFI&usg=AFQjCNGxBkfiCG1nvDXWaAwMb6WjSbpQkQ'
Traceback (most recent call last):
  File "googledemangle.py", line 4, in <module>
    import urllib, urlparse
  File "/usr/lib/python2.7/urllib.py", line 30, in <module>
    import base64
  File "/usr/lib/python2.7/base64.py", line 10, in <module>
    import binascii
ImportError: No such file or directory


mh@giaour /home/mh
$ cygcheck -s -v -r > cygcheksvr
mh@giaour /home/mh
$ cat cygcheksvr
Cygwin Configuration Diagnostics
Current System Time: Thu Apr 25 18:31:18 2013

Windows XP Professional Ver 5.1 Build 2600 Service Pack 3

Path:   H:\cygwin\usr\local\bin
	H:\cygwin\bin
	H:\WINDOWS\system32
	H:\WINDOWS
	H:\WINDOWS\System32\Wbem

Output from H:\cygwin\bin\id.exe
UID: 500(mh) GID: 513(None)
513(None)               0(root)              
545(Users)

SysDir: H:\WINDOWS\system32
WinDir: H:\WINDOWS

USER = 'mh'
PWD = '/xpe/yy/xx'
HOME = '/home/mh'

HOMEPATH = '\Documents and Settings\mh'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man:'
APPDATA = 'H:\Documents and Settings\mh\Application Data'
HOSTNAME = 'giaour'
SHELL = '/bin/bash'
TERM = 'xterm'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 23 Stepping 10, GenuineIntel'
WINDIR = 'H:\WINDOWS'
OLDPWD = '/xpd/trader'
USERDOMAIN = 'GIAOUR'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'H:\Documents and Settings\All Users'
temp = 'H:\DOCUME~1\ADMINI~1\LOCALS~1\Temp'
COMMONPROGRAMFILES = 'H:\Program Files\Common Files'
TMP = '/tmp'
USERNAME = 'mh'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'H:'
LANG = 'en_US.UTF-8'
USERPROFILE = 'H:\Documents and Settings\mh'
TZ = 'Europe/London'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\GIAOUR'
PROCESSOR_ARCHITECTURE = 'x86'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'H:'
COMSPEC = 'H:\WINDOWS\system32\cmd.exe'
SYSTEMROOT = 'H:\WINDOWS'
PROCESSOR_REVISION = '170a'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'H:\Program Files'
NUMBER_OF_PROCESSORS = '2'
SESSIONNAME = 'Console'
COMPUTERNAME = 'GIAOUR'
_ = '/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygwin
HKEY_CURRENT_USER\Software\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygwin\setup
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start
Menu\Programs\Cygwin
  (default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\H:\cygwin'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'H:\cygwin'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: 5c15029cbae0dd00 Path: H:\cygwin

a:  fd             N/A    N/A                    
c:  hd  NTFS     38256Mb  41% CP CS UN PA FC     xpc
d:  hd  NTFS     76512Mb  14% CP CS UN PA FC     xpd
e:  hd  NTFS     76512Mb  41% CP CS UN PA FC     xpe
f:  hd  NTFS     76512Mb   9% CP CS UN PA FC     xpf
g:  hd  NTFS     76512Mb   2% CP CS UN PA FC     xpg
h:  hd  NTFS     38256Mb  13% CP CS UN PA FC     xp0
i:  cd             N/A    N/A                    
j:  cd             N/A    N/A                    


H:\cygwin        /          system  binary,auto
H:\cygwin\bin    /usr/bin   system  binary,auto
H:\cygwin\lib    /usr/lib   system  binary,auto
h:               /xp0       system  binary
c:               /xpc       system  binary
d:               /xpd       system  binary
e:               /xpe       system  binary
f:               /xpf       system  binary
g:               /xpg       system  binary
cygdrive prefix  /cygdrive  user    binary,auto

Found: H:\cygwin\bin\awk
 -> H:\cygwin\bin\gawk.exe
Found: H:\cygwin\bin\bash.exe
Found: H:\cygwin\bin\cat.exe
Found: H:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: H:\cygwin\bin\find.exe
Found: H:\WINDOWS\system32\find.exe
Warning: H:\cygwin\bin\find.exe hides H:\WINDOWS\system32\find.exe
Not Found: gcc
Not Found: gdb
Found: H:\cygwin\bin\grep.exe
Found: H:\cygwin\bin\kill.exe
Found: H:\cygwin\bin\ld.exe
Found: H:\cygwin\bin\ls.exe
Not Found: make
Found: H:\cygwin\bin\mv.exe
Not Found: patch
Found: H:\cygwin\bin\perl.exe
Found: H:\cygwin\bin\rm.exe
Found: H:\cygwin\bin\sed.exe
Not Found: ssh
Found: H:\cygwin\bin\sh.exe
Found: H:\cygwin\bin\tar.exe
Found: H:\cygwin\bin\test.exe
Found: H:\cygwin\bin\vi
 -> H:\cygwin\bin\vim-nox.exe
Found: H:\cygwin\bin\vim
 -> H:\cygwin\etc\alternatives\vim
 -> H:\cygwin\bin\vim-nox.exe

   14k 2012/05/04 H:\cygwin\bin\cygattr-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygattr-1.dll" v0.0 ts=2012/5/4 12:35
   62k 2011/05/21 H:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2011/5/21 20:16
 1518k 2013/02/12 H:\cygwin\bin\cygcrypto-1.0.0.dll - os=4.0 img=1.0
 sys=4.0
                  "cygcrypto-1.0.0.dll" v0.0 ts=2013/2/12 14:44
  929k 2011/11/10 H:\cygwin\bin\cygdb-4.5.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.5.dll" v0.0 ts=2011/11/10 19:52
   93k 2011/11/10 H:\cygwin\bin\cygdb_cxx-4.5.dll - os=4.0 img=1.0
   sys=4.0
                  "cygdb_cxx-4.5.dll" v0.0 ts=2011/11/10 19:53
  148k 2012/06/08 H:\cygwin\bin\cygexpat-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-1.dll" v0.0 ts=2012/6/8 23:13
   21k 2011/10/26 H:\cygwin\bin\cygffi-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygffi-4.dll" v0.0 ts=2011/10/23 14:33
   43k 2010/01/02 H:\cygwin\bin\cygform-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-10.dll" v0.0 ts=2010/1/2 14:49
   47k 2010/01/02 H:\cygwin\bin\cygformw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygformw-10.dll" v0.0 ts=2010/1/2 17:31
  104k 2013/04/03 H:\cygwin\bin\cyggcc_s-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcc_s-1.dll" v0.0 ts=2013/4/3 9:48
   19k 2009/02/26 H:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2009/2/26 7:58
    8k 2009/02/26 H:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0
    sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2009/2/26 7:58
  317k 2011/07/31 H:\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2011/7/31 6:14
   25k 2012/05/04 H:\cygwin\bin\cyghistory7.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory7.dll" v0.0 ts=2012/5/4 22:07
  358k 2012/04/14 H:\cygwin\bin\cygicons-0.dll - os=4.0 img=1.4 sys=4.0
                  "cygicons-0.dll" v0.0 ts=2012/4/14 2:48
  985k 2011/10/16 H:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2011/10/16 18:01
   35k 2011/10/16 H:\cygwin\bin\cygintl-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-8.dll" v0.0 ts=2011/10/16 6:38
    6k 2012/10/19 H:\cygwin\bin\cyglsa.dll - os=4.0 img=1.0 sys=4.0
                  "cyglsa.dll" v0.0 ts=2012/10/19 13:40
    9k 2012/10/19 H:\cygwin\bin\cyglsa64.dll - os=5.2 img=0.0 sys=5.2
  123k 2011/05/19 H:\cygwin\bin\cyglzma-5.dll - os=4.0 img=1.0 sys=4.0
                  "cyglzma-5.dll" v0.0 ts=2011/5/19 3:41
   25k 2010/01/02 H:\cygwin\bin\cygmenu-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-10.dll" v0.0 ts=2010/1/2 14:48
   25k 2010/01/02 H:\cygwin\bin\cygmenuw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenuw-10.dll" v0.0 ts=2010/1/2 17:30
  213k 2011/07/31 H:\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2011/7/31 6:12
   63k 2010/01/02 H:\cygwin\bin\cygncurses++-10.dll - os=4.0 img=1.0
   sys=4.0
                  "cygncurses++-10.dll" v0.0 ts=2010/1/2 15:00
   63k 2010/01/02 H:\cygwin\bin\cygncurses++w-10.dll - os=4.0 img=1.0
   sys=4.0
                  "cygncurses++w-10.dll" v0.0 ts=2010/1/2 17:41
  195k 2010/01/02 H:\cygwin\bin\cygncurses-10.dll - os=4.0 img=1.0
  sys=4.0
                  "cygncurses-10.dll" v0.0 ts=2010/1/2 14:45
  244k 2010/01/02 H:\cygwin\bin\cygncursesw-10.dll - os=4.0 img=1.0
  sys=4.0
                  "cygncursesw-10.dll" v0.0 ts=2010/1/2 17:28
   13k 2010/01/02 H:\cygwin\bin\cygpanel-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-10.dll" v0.0 ts=2010/1/2 14:47
   13k 2010/01/02 H:\cygwin\bin\cygpanelw-10.dll - os=4.0 img=1.0
   sys=4.0
                  "cygpanelw-10.dll" v0.0 ts=2010/1/2 16:30
  255k 2012/02/10 H:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2012/2/10 10:24
 1628k 2012/07/12 H:\cygwin\bin\cygperl5_14.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_14.dll" v0.0 ts=2012/7/12 20:17
   22k 2002/06/09 H:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 6:45
  162k 2012/05/04 H:\cygwin\bin\cygreadline7.dll - os=4.0 img=1.0
  sys=4.0
                  "cygreadline7.dll" v0.0 ts=2012/5/4 22:07
  566k 2012/08/08 H:\cygwin\bin\cygsqlite3-0.dll - os=4.0 img=1.0
  sys=4.0
                  "cygsqlite3-0.dll" v0.0 ts=2012/8/8 20:25
  366k 2013/02/12 H:\cygwin\bin\cygssl-1.0.0.dll - os=4.0 img=1.0
  sys=4.0
                  "cygssl-1.0.0.dll" v0.0 ts=2013/2/12 14:44
    8k 2011/10/26 H:\cygwin\bin\cygssp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygssp-0.dll" v0.0 ts=2011/10/23 14:33
  878k 2013/04/03 H:\cygwin\bin\cygstdc++-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygstdc++-6.dll" v0.0 ts=2013/4/3 10:10
   48k 2010/01/02 H:\cygwin\bin\cygtic-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygtic-10.dll" v0.0 ts=2010/1/2 14:45
   48k 2010/01/02 H:\cygwin\bin\cygticw-10.dll - os=4.0 img=1.0 sys=4.0
                  "cygticw-10.dll" v0.0 ts=2010/1/2 17:28
  247k 2004/12/07 H:\cygwin\bin\cygtidy-0-99-0.dll - os=4.0 img=1.0
  sys=4.0
                  "cygtidy-0-99-0.dll" v0.0 ts=2004/12/7 14:34
 1103k 2013/01/28 H:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygxml2-2.dll" v0.0 ts=2013/1/28 10:37
 2791k 2012/10/19 H:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2012/10/19 13:39
    Cygwin DLL version info:
        DLL version: 1.7.17
        DLL epoch: 19
        DLL old termios: 5
        DLL malloc env: 28
        Cygwin conv: 181
        API major: 0
        API minor: 262
        Shared data: 5
        DLL identifier: cygwin1
        Mount registry: 3
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Installations name: Installations
        Cygdrive default prefix: 
        Build date: 
        Shared id: cygwin1S5


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to: E:\yy
Last downloaded files from: 

Package              Version              Status
_autorebase          000233-1             OK
alternatives         1.3.30c-10           OK
base-cygwin          3.1-1                OK
base-files           4.1-1                OK
bash                 4.1.10-4             OK
binutils             2.23.51-1            OK
bzip2                1.0.6-2              OK
coreutils            8.15-1               OK
cygutils             1.4.10-2             OK
cygwin               1.7.17-1             OK
dash                 0.5.7-1              OK
diffutils            3.2-1                OK
dos2unix             6.0.3-1              OK
editrights           1.01-2               OK
findutils            4.5.11-1             OK
gawk                 4.0.2-1              OK
gettext              0.18.1.1-2           OK
grep                 2.6.3-1              OK
gzip                 1.4-1                OK
less                 444-1                OK
libattr1             2.4.46-1             OK
libbz2_1             1.0.6-2              OK
libdb4.5             4.5.20.2-3           OK
libexpat1            2.1.0-1              OK
libffi4              4.5.3-3              OK
libgcc1              4.7.2-2              OK
libgdbm4             1.8.3-20             OK
libgmp3              4.3.2-1              OK
libiconv2            1.14-2               OK
libintl8             0.18.1.1-2           OK
liblzma5             5.0.2_20110517-1     OK
libncurses10         5.7-18               OK
libncursesw10        5.7-18               OK
libopenssl100        1.0.1e-2             OK
libpcre0             8.21-2               OK
libpopt0             1.6.4-4              OK
libreadline7         6.1.2-3              OK
libsqlite3_0         3.7.13-1             OK
libssp0              4.5.3-3              OK
libstdc++6           4.7.2-2              OK
libtidy0_99_0        20090325-1           OK
libxml2              2.9.0-2              OK
mintty               1.1.3-1              OK
perl                 5.14.2-3             OK
perl_vendor          5.14.2-3             OK
python               2.7.3-1              OK
rebase               4.4.0-1              OK
run                  1.1.13-1             OK
sed                  4.2.1-2              OK
tar                  1.26-1               OK
terminfo             5.7_20091114-14      OK
tidy                 041206-1             OK
tzcode               2012j-1              OK
unzip                6.0-10               OK
vim                  7.3.762-1            OK
vim-common           7.3.762-1            OK
which                2.20-2               OK
xxd                  7.3.762-1            OK
xz                   5.0.2_20110517-1     OK
zip                  3.0-11               OK
Use -h to see help about each section


-- 
http://www.fastmail.fm - mmm... Fastmail...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]