Tôi đã tải xuống Google Cloud SDK cho python trên Ubuntu của mình. (https://cloud.google.com/sdk/docs/quickstart-linux#before-you-begin)Tôi không thể khởi chạy Google Cloud SDK trên Ubuntu
Sau đó, tôi làm theo các bước từ trang nhưng khi tôi chạy
gcloud init
tôi có được điều này
Could not setup log file in /home/ariel/.config/gcloud/logs, (IOError: [Errno 13] Permission denied: '/home/ariel/.config/gcloud/logs/2016.05.25/11.54.37.438036.log') Welcome! This command will take you through the configuration of gcloud.
ERROR: (gcloud.init) Failed to create the default configuration. Ensure your have the correct permissions on: [/home/ariel/.config/gcloud/configurations]. Could not create directory [/home/ariel/.config/gcloud/configurations]: Permission denied.
Please verify that you have permissions to write to the parent directory.
PS: Sau đó, tôi tìm thấy tập tin này khác https://cloud.google.com/appengine/downloads#Google_App_Engine_SDK_for_Python (dường là giống nhau nhưng nó là 40,2MB và cái tôi đã sử dụng là 7,5MB)
Cảm ơn! Ariel
Tôi có cùng một vấn đề. Có vẻ như một lỗi trong quá trình cài đặt của họ, để lại thư mục cấu hình của riêng tôi là root-only – nealmcb
Công việc tuyệt vời, Ariel! –