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

Unable to create a new connection #2937

Closed
tyler-suard-parker opened this issue Apr 22, 2024 · 4 comments
Closed

Unable to create a new connection #2937

tyler-suard-parker opened this issue Apr 22, 2024 · 4 comments
Assignees
Labels
bug Something isn't working no-recent-activity There has been no recent activity on this issue/pull request

Comments

@tyler-suard-parker
Copy link

Describe the bug

When I click "create connection", I always get this error: Exception: Promptflow may not installed correctly. If you are upgrading from 'promptflow<1.8.0' to 'promptflow>=1.8.0', please run 'pip uninstall -y promptflow promptflow-core promptflow-devkit promptflow-azure', then 'pip install promptflow>=1.8.0'. Reach https://microsoft.github.io/promptflow/how-to-guides/faq.html#promptflow-1-8-0-upgrade-guide for more information.

I installed promptflow >=1.8.0 as the instructions said, and I am still getting the same issue.

How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:

  1. In the flow DAG, click "add connection"
image
  1. Enter the correct url and click "Create connection" image
  2. Enjoy error
image

Expected behavior
I expected a connection to be created without an error

Running Information(please complete the following information):

  • Promptflow Package Version using pf -v: Even trying to do this triggered the same error
  • Operating System: Windows 11
  • Python Version [python==3.9]
@tyler-suard-parker tyler-suard-parker added the bug Something isn't working label Apr 22, 2024
@brynn-code
Copy link
Contributor

That's the DLL load failed error, seems conda env missing some path then can't find the DLLs. could you please try create a new conda env and re-install promptflow? That 'may not install correctly' is trying to handle another issue, instead of yours DLL missing one.

@tyler-suard-parker
Copy link
Author

I am not using conda, I am just using a venv. Is conda required?

@brynn-code
Copy link
Contributor

No, whatever conda or venv, seems some paths are missing, this may caused by multiple reason, for example the env was created with admin permission and vscode running with regular permission then caused something can't be accessed by vscode. Could you please try running a pf command, like 'pf --version' from the console you set up the venv?

Copy link

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!

@github-actions github-actions bot added the no-recent-activity There has been no recent activity on this issue/pull request label May 24, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-recent-activity There has been no recent activity on this issue/pull request
Projects
None yet
Development

No branches or pull requests

2 participants