INFO pip_install_from_wheels took 0 seconds
INFO starting: pip_install_from_wheels
INFO pip_install_from_wheels /env/bin/python3.7 -m pip install --no-deps --prefix /tmp/tmp88q0Sy/env /tmp/tmpytZthV/wheel/pip-20.1.1-py2.py3-none-any.whl --disable-pip-version-check
INFO `pip_install_from_wheels` stdout:
Processing /tmp/tmpytZthV/wheel/pip-20.1.1-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 19.2.3
Uninstalling pip-19.2.3:
Successfully uninstalled pip-19.2.3
Successfully installed pip-20.1.1
INFO pip_install_from_wheels took 1 seconds
INFO starting: pip_install_from_wheels
INFO pip_install_from_wheels /env/bin/python3.7 -m pip install --no-deps --prefix /tmp/tmpghxqdf/env /tmp/tmpytZthV/wheel/cffi-1.14.0-cp37-cp37m-manylinux1_x86_64.whl --disable-pip-version-check
INFO `pip_install_from_wheels` stdout:
INFO `pip_install_from_wheels` had stderr output:
/env/bin/python3.7: No module named pip
ERROR error: `pip_install_from_wheels` returned code: 1
INFO pip_install_from_wheels took 0 seconds
INFO build process for FTL image took 114 seconds
INFO full build took 114 seconds
ERROR `pip_install_from_wheels` had stderr output:
/env/bin/python3.7: No module named pip
error: `pip_install_from_wheels` returned code: 1
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/ftl.par/__main__.py", line 65, in <module>
File "/usr/local/bin/ftl.par/__main__.py", line 60, in main
File "/usr/local/bin/ftl.par/__main__/ftl/common/ftl_error.py", line 77, in InternalErrorHandler
IOError: [Errno 2] No such file or directory: '""/output'
Note, I DO NOT have pip specified in my requirements.txt. If I freeze with --all (which includes my version of pip, 20.1.1), it also does not work.
However, If I downgrade pip in my virtualenv to 19.2.3 (the version from the error) AND freeze with --all, the build succeeds.
Pulling image: gcr.io/gae-runtimes/python37_app_builder:python37_20200601_3_7_7_RC00
***** NOTICE *****
Alternative official `docker` images, including multiple versions across
multiple platforms, are maintained by the Docker Team. For details, please
However, because I am using the standard python 3.7 environment, as far as I know there is no configuration setting for me to change to docker image used for build/deployment.
Searching, I found the following links with others having similar errors, but I found no official statement from the app engine team:
Am I doing something wrong? What is the long term solution to selecting pip versions? Is there an official statement I've missed?
Also, how can I fix the deprecation warning on the builder? As far as I know I am not manually selecting anything deprecated.
Thanks,
Allan Wirth