google.appengine module

135 vues
Accéder directement au premier message non lu

Milla Tidy

non lue,
4 déc. 2016, 12:03:5304/12/2016
à Google App Engine
I am trying to pip install google-appengine, it returns a dependency error:

$ pip install google-appengine
Collecting google-appengine
  Using cached google-appengine-1.5.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-B4F_B3/google-appengine/setup.py", line 2, in <module>
        import ez_setup
    ImportError: No module named ez_setup
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-B4F_B3/google-appengine/


 I install the ez_setup but gives another dependency error

$ pip install google-appengine
Collecting google-appengine
  Using cached google-appengine-1.5.1.tar.gz
Collecting pyyaml (from google-appengine)
  Using cached PyYAML-3.12.tar.gz
Collecting webob==0.9 (from google-appengine)
  Using cached WebOb-0.9.tar.gz
Collecting ipaddr (from google-appengine)
  Using cached ipaddr-2.1.11.tar.gz
Collecting antlr_python_runtime (from google-appengine)
  Could not find a version that satisfies the requirement antlr_python_runtime (from google-appengine) (from versions: )
No matching distribution found for antlr_python_runtime (from google-appengine)

which I cant get around so then I tried python-appengine which installs but then my virtual enviroments stops working the moment i install google cloud.

$ python
Traceback (most recent call last):
  File "/home/comp/Documents/Dev/LinkUP/CodeBase/env/lib/python2.7/site.py", line 703, in <module>
    main()
  File "/home/comp/Documents/Dev/LinkUP/CodeBase/env/lib/python2.7/site.py", line 683, in main
    paths_in_sys = addsitepackages(paths_in_sys)
  File "/home/comp/Documents/Dev/LinkUP/CodeBase/env/lib/python2.7/site.py", line 282, in addsitepackages
    addsitedir(sitedir, known_paths)
  File "/home/comp/Documents/Dev/LinkUP/CodeBase/env/lib/python2.7/site.py", line 204, in addsitedir
    addpackage(sitedir, name, known_paths)
  File "/home/comp/Documents/Dev/LinkUP/CodeBase/env/lib/python2.7/site.py", line 173, in addpackage
    exec(line)
  File "<string>", line 1, in <module>
KeyError: 'google'


 Can anyone help please!

Adam (Cloud Platform Support)

non lue,
4 déc. 2016, 19:58:0304/12/2016
à Google App Engine
The Google App Engine SDK on PyPI is an unofficial package someone made over 5 years ago. You don't want to use that. You should use the current version which is included in the Google Cloud SDK.
Répondre à tous
Répondre à l'auteur
Transférer
0 nouveau message