
Traceback (most recent call last):


 "/anaconda3/lib/python3.6/site-packages/conda/exceptions.py", line 640, in conda_exception_handler

return_value = func(*args, **kwargs)


 "/anaconda3/lib/python3.6/site-packages/conda_env/cli/main_update.py", line 106, in execute

installer.install(prefix, specs, args, env, prune=args.prune)


 "/anaconda3/lib/python3.6/site-packages/conda_env/installers/pip.py", line 8, in install

pip_cmd = pip_args(prefix) + ['install', ] + specs


 "/anaconda3/lib/python3.6/site-packages/conda_env/pip_util.py", line 32, in pip_args

pip_version = subprocess.check_output(ret + ['-V']).decode('utf-8').split()[1]


 "/anaconda3/lib/python3.6/subprocess.py", line 336, in check_output

**kwargs).stdout


 "/anaconda3/lib/python3.6/subprocess.py", line 418, in run

output=stdout, stderr=stderr)

subprocess.CalledProcessError: Command '['/anaconda3/envs/memex/bin/python', '/anaconda3/envs/memex/bin/pip', '-V']' returned non-zero exit status 1.

2021-03-26T12:59:51:INFO:localstack.services.awslambda.lambda_api: Error executing Lambda function arn:aws:lambda:us-east-1:000000000000:function:test-local: Command 'docker pull docker run -d -e AWS_LAMBDA_FUNCTION_MEMORY_SIZE=123 -e _LAMBDA_RUNTIME=python3.7 -e AWS_LAMBDA_LOG_GROUP_NAME="/aws/lambda/test-local" -e AWS_LAMBDA_LOG_STREAM_NAME=test -e AWS_LAMBDA_RUNTIME_API="test-local.us-east-1.localhost.localstack.cloud:4566" -e LOCALSTACK_HOSTS_ENTRY="test-local.us-east-1.localhost.localstack.cloud" -e CUSTOM_VARIABLE="$CUSTOM_VARIABLE" -e LOCALSTACK_HOSTNAME="$LOCALSTACK_HOSTNAME" localstack-test:4510/test-local-ecr' returned non-zero exit status 125. Traceback (most recent call last):


 "/opt/code/localstack/localstack/services/awslambda/lambda_api.py", line 581, in run_lambda

result = LAMBDA_EXECUTOR.execute(func_arn, func_details, event, context=context,


 "/opt/code/localstack/localstack/services/awslambda/lambda_executors.py", line 176, in execute

return do_execute()


 "/opt/code/localstack/localstack/services/awslambda/lambda_executors.py", line 168, in do_execute

return _run(func_arn=func_arn)


 "/opt/code/localstack/localstack/utils/cloudwatch/cloudwatch_util.py", line 149, in wrapped

raise e


 "/opt/code/localstack/localstack/utils/cloudwatch/cloudwatch_util.py", line 145, in wrapped

result = func(*args, **kwargs)


 "/opt/code/localstack/localstack/services/awslambda/lambda_executors.py", line 159, in _run

raise e


 "/opt/code/localstack/localstack/services/awslambda/lambda_executors.py", line 147, in _run

result = self._execute(func_arn, func_details, event, context, version)


 "/opt/code/localstack/localstack/services/awslambda/lambda_executors.py", line 321, in _execute

cmd = self.prepare_execution(func_details, environment, command)


 "/opt/code/localstack/.venv/lib/python3.8/site-packages/localstack_ext/services/awslambda/lambda_launcher.py", line 163, in prepare_execution


 "/opt/code/localstack/.venv/lib/python3.8/site-packages/localstack_ext/services/awslambda/lambda_launcher.py", line 124, in get_image_entrypoint_cmd


 "/opt/code/localstack/localstack/utils/common.py", line 1358, in run

return do_run(cmd)


 "/opt/code/localstack/localstack/utils/common.py", line 1355, in do_run

return bootstrap.run(cmd, **kwargs)


 "/opt/code/localstack/localstack/utils/bootstrap.py", line 746, in run

raise e


 "/opt/code/localstack/localstack/utils/bootstrap.py", line 706, in run

output = subprocess.check_output(cmd, shell=True, stderr=stderr, env=env_dict, cwd=cwd)


 "/usr/lib/python3.8/subprocess.py", line 411, in check_output

return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,


 "/usr/lib/python3.8/subprocess.py", line 512, in run

raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 'docker pull docker run -d -e AWS_LAMBDA_FUNCTION_MEMORY_SIZE=123 -e _LAMBDA_RUNTIME=python3.7 -e AWS_LAMBDA_LOG_GROUP_NAME="/aws/lambda/test-local" -e AWS_LAMBDA_LOG_STREAM_NAME=test -e AWS_LAMBDA_RUNTIME_API="test-local.us-east-1.localhost.localstack.cloud:4566" -e LOCALSTACK_HOSTS_ENTRY="test-local.us-east-1.localhost.localstack.cloud" -e CUSTOM_VARIABLE="$CUSTOM_VARIABLE" -e LOCALSTACK_HOSTNAME="$LOCALSTACK_HOSTNAME" localstack-test:4510/test-local-ecr' returned non-zero exit status 125.
