Setuptool error while using virtualenv_install() and deploying on shiny.io

Python Packages are not installing on shiny.io server, returning the error Command errored with exit status 1. related to setuptools..
I know to fix it I have to upgrade the setuptools but how?
So the question is how to upgrade or use a specific version of a package to upload on shiny.io?

@Dev_verma , if you update reticulate to the latest version from GitHub using devtools::install_github("rstudio/reticulate") you will be able to set up version using reticulate::virtualenv_create("envname", python="/python3", setuptools_version = "51.3.3").
Hope, this helps.

1 Like

Thanks, I resolved it later by seeing the function definition.

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.