Re: [google-appengine] Issue with spaCy library in the new GAE Standard Environment python37 runtime

2018-09-22 Thread 'Rahul Ravindran' via Google App Engine
That is great. Do you mind sharing a sample of your code, requirements.txt and app.yaml in a sample which we could use to look at this usecase? Additionally, by slow- do you mean every request or the first one? If you could share your image or code, that would help us debut further On Sat, Sep

Re: [google-appengine] Issue with spaCy library in the new GAE Standard Environment python37 runtime

2018-09-22 Thread BLONDEV INC
Hey, I added the model to requirements.txt and made some modifications to account for that. It is now working, if VERY slowly. On Saturday, September 22, 2018 at 2:45:47 PM UTC-4, Rahul Ravindran wrote: > > So, you cannot install anything outside of requirements.txt into our > environment. You

Re: [google-appengine] Issue with spaCy library in the new GAE Standard Environment python37 runtime

2018-09-22 Thread BLONDEV INC
Well, then, does that mean GAE2 does not support spaCy? What good is it if you can't use the spaCy models? I would think that Google would have installed the models that come with spaCy. On Saturday, September 22, 2018 at 2:45:47 PM UTC-4, Rahul Ravindran wrote: > > So, you cannot install

Re: [google-appengine] Issue with spaCy library in the new GAE Standard Environment python37 runtime

2018-09-22 Thread 'Rahul Ravindran' via Google App Engine
So, you cannot install anything outside of requirements.txt into our environment. You could download everything into your source folder and that may work, but if you are attempting to download models and write it some where, that is not supported On Sat, Sep 22, 2018 at 11:43 AM BLONDEV INC

Re: [google-appengine] Issue with spaCy library in the new GAE Standard Environment python37 runtime

2018-09-22 Thread BLONDEV INC
Then I installed the model I wanted, (flask3) ➜ readable001 git:(master) python -m spacy download en ...You can now load the model via spacy.load('en') and now it works on THIS machine, too... [image: Snip20180922_106.png] Seems the models for spaCy are not installed in the GAE2 Standard

Re: [google-appengine] Issue with spaCy library in the new GAE Standard Environment python37 runtime

2018-09-22 Thread BLONDEV INC
Having an issue, however, on another machine using a different environment. This is a message I got while installing spaCy: (flask3) ➜ readable001 git:(master) python -m spacy validate Installed models (spaCy v2.0.12) /Users/rose/WORK/VENVS/flask3/lib/python3.7/site-packages/spacy

Re: [google-appengine] Issue with spaCy library in the new GAE Standard Environment python37 runtime

2018-09-22 Thread BLONDEV INC
Yes. It works just fine... [image: PHOTO-2018-09-22-14-17-42.jpg] On Saturday, September 22, 2018 at 1:09:53 PM UTC-4, Rahul Ravindran wrote: > > We don't use Conda. THis seems like an issue with your application. Can > you run this locally successfully? > > On Sat, Sep 22, 2018 at 9:50 AM

Re: [google-appengine] Issue with spaCy library in the new GAE Standard Environment python37 runtime

2018-09-22 Thread 'Rahul Ravindran' via Google App Engine
We don't use Conda. THis seems like an issue with your application. Can you run this locally successfully? On Sat, Sep 22, 2018 at 9:50 AM BLONDEV INC wrote: > > Hi, > > I am getting this error message when I make a GET request to my app's URL. > > File "/srv/main.py", line 12, in

[google-appengine] Issue with spaCy library in the new GAE Standard Environment python37 runtime

2018-09-22 Thread BLONDEV INC
Hi, I am getting this error message when I make a GET request to my app's URL. File "/srv/main.py", line 12, in break_sentences nlp = spacy.load('en') File "/env/lib/python3.7/site-packages/spacy/__init__.py", line 15, in load return util.load_model(name, **overrides) File