Skip to content

func run doesn't work without running func build #3078

@dprotaso

Description

@dprotaso

func verions v0.46.3

$ func create -l python sentiment-analysis-app
$ cd sentiment-analysis-app
$ func run -v
mkdir -p /var/folders/0x/lsrcyczd1yn3gggn6w9yc68m0000gn/T/tmp.15goFVNxjx/sentiment-analysis-app/.func/runs/64467
cd /var/folders/0x/lsrcyczd1yn3gggn6w9yc68m0000gn/T/tmp.15goFVNxjx/sentiment-analysis-app/.func/runs/64467
python -m venv .venv
Error: exec: "python": executable file not found in $PATH

If I run func build then func run it uses the docker image.

I think i might have expected the func cli to use python3 as a fallback?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions