Hey everyone,
This is my first post here so let me know if I'm doing something wrong.
Something changed on Google App Engine on 25-09-2020 that caused all of my existing working projects to fail. Prior to this date, all of my pystan models were successfully running via flask and a docker image. After this date I started getting the error:
Traceback (most recent call last): File "/usr/local/lib/python3.8/distutils/unixccompiler.py", line 117, in _compile self.spawn(compiler_so + cc_args + [src, '-o', obj] + File "/usr/local/lib/python3.8/distutils/ccompiler.py", line 910, in spawn spawn(cmd, dry_run=self.dry_run) File "/usr/local/lib/python3.8/distutils/spawn.py", line 36, in spawn _spawn_posix(cmd, search_path, dry_run=dry_run) File "/usr/local/lib/python3.8/distutils/spawn.py", line 157, in _spawn_posix raise DistutilsExecError( distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1
I already created an issue on pystan github but I don't think they will be able to solve the problem as this seems like a Google Cloud issue. All of my code works locally on flask and locally via docker images. The error only occurs when I deploy the code to Google App Engine.
Please help.
Sterling.