Skip to content

chalice-local cannot find the Python interpreter from paths containing spaces #8

@haja-fgabriel

Description

@haja-fgabriel

I have installed chalice-local in a venv. Running chalice-local deploy gives me the following error:
16:29 $ chalice-local deploy -bash: /Users/bws/Documents/Work/Python Training/chalice-poc-rss/env/bin/chalice-local: /Users/bws/Documents/Work/Python: bad interpreter: No such file or directory
You can see that it's considering the rest of the path (Training/chalice...) as a separate argument, so it's definitely the cause not passing explicitly as an argument array. I think I am going to open a PR on this.

Later edit: it's Chalice's issue

Metadata

Metadata

Assignees

No one assigned

    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