[BlueBream] ImportError: No module named script.command

Helmut Merz helmutm at cy55.de
Wed Jul 27 03:22:33 EDT 2011


Am Mittwoch, 27. Juli 2011 08:26:14 schrieb joelkim:
> No, I can't import paste.script from bbpy and
> from the normal python interpreter even after I installed
> pastescript.
> 
> c:\Zope\sampleproject>.\bin\bbpy
> 
> >>> import paste
> >>> import paste.script

What happens if you enter here

>>> paste.__path__

I suspect that you have some Python module or package named 
"paste" lying around in your Python path that hides the "real" 
paste package..

Regards
Helmut

 
> Traceback (most recent call last):
>   File "<console>", line 1, in <module>
> ImportError: No module named script
> 
> >>> import paste.script.command
> 
> Traceback (most recent call last):
>   File "<console>", line 1, in <module>
> ImportError: No module named script.command
> 
> 
> 
> --
> View this message in context:
> http://bluebream.765161.n3.nabble.com/BlueBream-ImportError-N
> o-module-named-script-command-tp3201939p3202603.html Sent from
> the BlueBream mailing list archive at Nabble.com.
> _______________________________________________
> bluebream mailing list
> bluebream at zope.org
> https://mail.zope.org/mailman/listinfo/bluebream


More information about the bluebream mailing list