How to connect to rsconnect using VS Code Editor

Hello,

I'm looking to deploy some python files from VS Code Editor to R Studio Connect. I have install rsconnect-python package and this has been installed in VS Code Editor. I try to then use the CLI and get the following error:
No module named rsconnect.__main__; 'rsconnect' is a package and cannot be directly executed

Is there a way for my to make rsconnect executable in bash? I'm putting in the terminal on VS Editor.

Here is what I'm putting in the terminal in VS Editor:
rsconnect add --server $CONNECT_SERVER --name myserver --api-key $CONNECT_API_KEY

This topic was automatically closed 21 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.