Alle gcloud
Befehle plötzlich diesen Fehler geben:gcloud Befehl funktioniert plötzlich nicht mehr auf allen
ERROR: gcloud failed to load: No module named google.appengine.ext
This usually indicates corruption in your gcloud installation or problems with your Python interpreter.
Please verify that the following is the path to a working Python 2.7 executable: /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
If it is not, please set the CLOUDSDK_PYTHON environment variable to point to a working Python 2.7 executable.
If you are still experiencing problems, please reinstall the Cloud SDK using the instructions here: https://cloud.google.com/sdk/
Hier sind einige relevante Details und Dinge, die ich versucht habe:
- Mac 10.11.6
- Python 2.7.8 auf /Library/Frameworks/Python.framework/Versions/2.7/bin/python
- Python funktioniert anders
- ich völlig Google-Cloud-sdk entfernt und redownloaded von https://cloud.google.com/sdk/
- Versuchte Neustart
- Tried "export CLOUDSDK_PYTHON =/Library/Frameworks/Python.framework/Versions/2.7/bin/python", aber es hat nicht geholfen. Auch diese Zeile zu meinem .bash_profile hinzugefügt
Wer sonst dieses Problem oder kann eine Lösung vorschlagen?
Ich habe einen Fix unten, aber ich werde glücklich die Antwort an jeden vergeben, der erklären kann, was vor sich geht.