Giter Club home page Giter Club logo

Comments (8)

brynn-code avatar brynn-code commented on May 10, 2024

@cicorias It seems like the conda environment used in terminal is different from the extension, as vscode extension will call the same logic with cli when creating connection... could you please exec a 'pip list' to see if keyings.alt installed in venv?

from promptflow.

xukecheng avatar xukecheng commented on May 10, 2024

I hava same issue:
CleanShot 2023-10-12 at 14 57 38
Operating System: MacOS
Development Environment: VSCode with remote SSH extension
Remote Server OS: Debian 12

from promptflow.

brynn-code avatar brynn-code commented on May 10, 2024

When manage connections, we are using the keyring library which provides an easy way to access the system keyring service. The error raised due to keyring can’t find an available backend to store keys on your operating system.

Please reach more detail at https://microsoft.github.io/promptflow/how-to-guides/faq.html#connection-creation-failed-with-storeconnectionencryptionkeyerror to get more details about the keyring backend. For example, keyrings.alt is one of a valid third-party backend.

from promptflow.

cicorias avatar cicorias commented on May 10, 2024

@cicorias It seems like the conda environment used in terminal is different from the extension, as vscode extension will call the same logic with cli when creating connection... could you please exec a 'pip list' to see if keyings.alt installed in venv?

Conda is not used. Just pyenv with pip

And, no that's not true either -- this is a pure venv and the command -v python/pip all point to the same location.

This is under WSL2 ubuntu 22

from promptflow.

github-actions avatar github-actions commented on May 10, 2024

Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!

from promptflow.

Wix97 avatar Wix97 commented on May 10, 2024

@cicorias Please run the following command, it works for me
sudo apt-get update
sudo apt-get install gcc cmake pkg-config libdbus-1-dev libglib2.0-dev
pip install keyrings.alt dbus-python

For Linux, 'pip install keyrings.alt' cannot setup its dependency dbus-python correctly since it relies on other non-python dependencies.

from promptflow.

pamelafox avatar pamelafox commented on May 10, 2024

I experienced this issue in a dev container on my M1 Mac today. I used the commands from @Wix97 in my devcontainer Dockerfile, and that does seem to work:

https://github.com/Azure-Samples/contoso-chat/blob/13ce7cb1e0d702efd869d767d2e124237aec44fb/.devcontainer/Dockerfile

It might be helpful to put explicit details about dbus installation in the promptflow documentation if it's going to be a common issue on Linux / dev containers.

from promptflow.

brynn-code avatar brynn-code commented on May 10, 2024

Resolved as usually this is customer environment missing required package, you could see available solution above.

from promptflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.