Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message when using Posit Cloud #147

Open
theo758q opened this issue Jan 18, 2024 · 1 comment
Open

Error message when using Posit Cloud #147

theo758q opened this issue Jan 18, 2024 · 1 comment

Comments

@theo758q
Copy link

I am coding using the Posit Cloud (former RStudio Cloud).
Following error message comes up, when using the "air" package and more special the "set_key" command:

Error trying to set your secure OPENAI_KEY:
Error in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/cloud/lib/x86_64-pc-linux-gnu-library/4.3/keyring/libs/keyring.so':
libsecret-1.so.0: cannot open shared object file: No such file or directory

Error setting your key: please submit an issue with details

After many hours of research I couldn't find any solution for this problem. Maybe it's a specific problem related to Posit Cloud. I am no expert, so any help is very much appreciated.

@gaborcsardi
Copy link
Member

A system library is missing for this build of the keyring package to work. If you can install system packages, you need to install the libsecret (or similar) package.

An alternative is to compile keyring from source, then it'll not use that system library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants