modxevil / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

NotImplementedError: Unable to find the Python PIL library. #294

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When using the Google Cloud SDK [0.9.81] to start AppEngine with JAVA runtime. 
We encounter an error saying that PIP is not installed. We use the Java Image 
service in our application.

When we deploy the application everything works fine but the local server is 
throwing NotImplemenetedExceptions.

We use Fedora system and have PILLOW installed, we also tried to install PIL. I 
tried setting CLOUDSDK_PYTHON_SITEPACKAGES=1, but this did not work.

What is the output of 'gcloud info'?

$ gcloud info
Google Cloud SDK [0.9.81]

Platform: [Linux, x86_64]
Python Version: [2.7.10 (default, Sep 24 2015, 17:50:09)  [GCC 5.1.1 20150618 
(Red Hat 5.1.1-4)]]
Site Packages: [Enabled]

Installation Root: [/home/joel/google-cloud-sdk]
Installed Components:
  core: [2015.10.05]
  app-engine-python: [1.9.27]
  core-nix: [2015.09.03]
  app: [2015.10.05]
  gcloud: [2015.10.05]
  gsutil-nix: [4.14]
  app-engine-php: [ ]
  gsutil: [4.15]
  bq: [2.0.18]
  app-engine-java: [1.9.27]
  bq-nix: [2.0.18]

Downloading the 'classic' Java GAE SDK gives no errors.

As I understand we now have a single dev_appserver.py script that should work 
for all standard and custom runtimes.

Original issue reported on code.google.com by joel.wij...@usmedia.nl on 8 Oct 2015 at 4:09

GoogleCodeExporter commented 8 years ago
Thanks for reporting this. We'll let you know what the solution is for using 
site packages with the Cloud SDK dev_appserver.py wrapper.

I'm glad that you can work around in the meantime.

Original comment by z...@google.com on 8 Oct 2015 at 11:33

GoogleCodeExporter commented 8 years ago
Issue 312 has been merged into this issue.

Original comment by dlor...@google.com on 16 Oct 2015 at 4:43