On Tue, Jun 18, 2013 at 3:15 PM, Joe Magaro <joe.maga...@gmail.com> wrote:

> Well, I didn't know I needed to restart Apache.
>
> Now I get a different error. I did the nltk download in python, but do I
> need to do something in web2py?
>
>   Resource 'corpora/wordnet' not found.  Please use the NLTK
>   Downloader to obtain the resource: >>> nltk.download().
>   Searched in:
>     - '/var/www/nltk_data'
>     - '/usr/share/nltk_data'
>     - '/usr/local/share/nltk_data'
>     - '/usr/lib/nltk_data'
>
> - '/usr/local/lib/nltk_data'
>
>

You have to put 'corpora/wordnet' data in one of the those folders.

when you did the nltk.download the data end up, probably, you your
$HOMEDIR/nltk_data,
just move/copy the contents of that folder into, for eg, /var/www/nltk_data

Ricardo

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to