Cannot use zipimport with windows standalone

Tim Michelsen timmichelsen at gmx-topmail.de
Mon Jan 11 10:16:40 GMT 2010


Dear all,
I tried the suggestions at:
https://answers.launchpad.net/bzr/+question/80813

It does not work to import the library.zip file:


In [8]: import bzrlib
---------------------------------------------------------------------------
ZipImportError                            Traceback (most recent call last)

C:\<ipython console> in <module>()

ZipImportError: can't find module 'bzrlib'

### CODE
import sys
sys.path.insert(0, 'C:/Programme/Bazaar/lib/library.zip')
import bzrlib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
zipimport.ZipImportError: can't find module 'bzrlib'


What do I need to change in my code?

Thanks in advance,
Timmie




More information about the bazaar mailing list