Cannot use zipimport with windows standalone

Alexander Belchenko bialix at ukr.net
Mon Jan 11 10:20:57 GMT 2010


Tim Michelsen пишет:
> 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?

Python 2.5

> 
> Thanks in advance,
> Timmie
> 
> 
> 




More information about the bazaar mailing list