-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't import numpy #1394
Comments
Oh, I also took had to take out grpcio as mentioned here: #1392 |
Not using @supern8ent could you try that and report back? |
Unfortunately, you have to install it locally. From https://cloud.google.com/appengine/docs/standard/python/tools/using-libraries-python-27#local_development
When I tried removing it from Oh, hey, maybe that's what's happening with #1392. |
Perhaps the newer |
That was the intent of requirements-dev: for packages to be installed and available in the local dev environment but ignored in the upload to production. So in theory you should add it into app.yaml and requirements-dev. |
This issue could probably be closed by @lipis soon as it should be resolved now, unless @supern8ent reports back in a few weeks that it isn't working. |
If I clone gae-init master and simply add
numpy==1.6.1
torequirements.txt
andimport numpy
tomain.py
(afterimport task
), it raises:If I also add
to
app.yaml
it raises:I ran
npm install
andgulp
.Note that I'm having problems in my own application, which was working previously, but for
simplicity's sake I demonstrated in vanilla gae-init. I wonder if this is a gcloud version error...
Python 2.7.17
OS X Mojave 10.14.6
Google Cloud SDK 284.0.0
app-engine-python 1.9.88
app-engine-python-extras 1.9.87
beta 2019.05.17
cloud-datastore-emulator 2.1.0
core 2020.03.06
The text was updated successfully, but these errors were encountered: