Remember every 3rd party lib you use must either be in the SDK (lxml for 
instance) or copied/installed into your project and the 
sys.path needs to reflect where in your project the library is located,  it 
also needs to be deployed with your application.



On Tuesday, April 16, 2013 11:28:06 AM UTC+8, NP wrote:
>
> I'm running python 2.7 on a mac. I have lxml (3.1.1) installed. I also 
> downloaded and installed cssselector since it no longer comes with lxml
>
> In my python file, I have the following
>
> import lxml.etree
> from lxml.cssselect import CSSSelector
>
> When I run the python file (F5), there are no errors and I get my expected 
> output.
>
> But if I launch my app from Google App Engine (on the dev server), I get 
> an error and the log file shows the following
>
> File "/Library/Python/2.7/site-packages/lxml/cssselect.py", line 18, in 
> <module>
>     raise ImportError('cssselect seems not to be installed. '
> ImportError: cssselect seems not to be installed. See 
> http://packages.python.org/cssselect/
>
> I found this link 
> http://code.google.com/p/googleappengine/issues/detail?id=9136
>
> Anybody have a solution/work around?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to