Skip to content

Unable to deploy shiny app with Python 3.11.2 #399

@wch

Description

@wch

Here's the output:

$ venv/bin/rsconnect deploy shiny -n colorado .
    Warning: Capturing the environment using 'pip freeze'.
             Consider creating a requirements.txt file instead.
venv/lib/python3.11/site-packages/rsconnect/environment.py:158: DeprecationWarning: Use setlocale(), getencoding() and getlocale() instead
  result = ".".join([item or "" for item in locale_source()])
Validating server... 	[OK]
Validating app mode... 	[OK]
Making bundle ... 	[OK]
Deploying bundle ... 	[OK]
Saving deployed information... 	[OK]
Building Python Shiny application...
Cannot find compatible environment: no compatible Kubernetes environment with Python version 3.11.2
An error occurred while building the content (build-failed-error)
Error from Connect server: Cannot find compatible environment: no compatible Kubernetes environment with Python version 3.11.2
Error: Task exited with status 1.

Is there a way to tell it to deploy using a specific version of Python (without having to install that version of Python)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions