1
私は まで、すべての手順を行っているtutorial

はImportError:いいえモジュールの名前google.appengine.ext(クラウドエンドポイントのフレームワークv2)は

、これは必要な設定ファイルを生成するには、次のGoogleのエンドポイントv2の を使用しようとしています

:ステップ

しかし、私は、次のコマンドを実行してください

のPythonのlib /エンドポイント/ endpointscfg.py get_swagger_spec main.EchoApi --hostname echo-api.endpoints.xxxxxxx.appspot.com

は、私は次の警告やエラー

WARNING: Could not find the fix_sys_path() function in dev_appserver.
If you encounter errors, please make sure that your Google App Engine SDK is up-to-date.
Traceback (most recent call last):
      File "lib/endpoints/endpointscfg.py", line 59, in
         import _endpointscfg_setup # pylint: disable=unused-import
      File "D:\Libraries\Documents\transporter\lib\endpoints_endpointscfg_setup.py", line 107, in
       ` _SetupPaths()
      File "D:\Libraries\Documents\transporter\lib\endpoints_endpointscfg_setup.py", line 103, in _SetupPaths
        from google.appengine.ext import vendor
ImportError: No module named google.appengine.ext

そして、私はすべてを再インストールした

を生成されていないOpenAPIの設定ファイル、更新されたすべてのチェックシステム変数を取得しますが、それでも上の

PSエラーを取得しますWindows 7

+0

google.appengine.extのように見えるがGoogleクラウドSDKでパッケージ化のApp Engine SDKの一部です。その場所をあなたのpythonパスに含めましたか? – HondaGuy

+0

@HondaGuyこれは答え、私のpythonパスを更新し、それは働いた:)ありがとう –

+0

私はTungamirai Mangombeの答えにコメントする十分な担当者がありません。 私の場合、C:\ Program Files(x86)\ Google \ Cloud SDK \ google-cloud-sdk \ platform \ google_appengine \ google \ appengineを追加しました。回答。それを固定した – SLLegendre

答えて

0

@ HondaGuyのコメントは私のpythonパスにapp-engineを追加しました

私のpython環境変数は今、この

C:\Python27\Lib;C:\Python27\DLLs;C:\Python27\Lib\lib-tk;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\bundledpython;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\google_appengine;

関連する問題