When I am going to deploy app.yaml in GCP, suddenly getting error i.e. "ERROR: gcloud crashed (ModuleNotFoundError): No module named 'distutils.spawn'". Please suggest me the solution. I am using Ubuntu 18.04.5 with PHP App Engine.
Asked
Active
Viewed 854 times
1 Answers
1
Try installing this and then deploy:
sudo apt install python3-distutils -y or python3 -m pip install setuptools

Nitiraj Shitole
- 21
- 1
-
Tried, but not solved for php environment. For python environment it's perfectly deployed. I need php environment. – Sanchita Dey May 21 '21 at 08:05
-
Issue resolved by updating linux package, removing and reinstalling google-cloud-sdk. – Sanchita Dey May 21 '21 at 13:34
-
Great, was going to suggest the same. – Nitiraj Shitole May 21 '21 at 13:42
-
Yes sure friend. – Sanchita Dey Jun 01 '21 at 12:05