-
Notifications
You must be signed in to change notification settings - Fork 957
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
[BUG] promptflow_vectordb.tool.common_index_lookup.search' is not found in the current environment #3979
Comments
I have the same issue after upgrading promptflow-tools from 1.4.0 to 1.6.0. Here is the error I have. It's related to protobuf and grpc.
Running Information I tried to reinstall all the packages in a new env. It's working with these versions: I don't know why pip replace my protobuf==5.29.3 package by protobuf==4.25.0 when I upgraded promptflow-tools to 1.6.0. |
Hi! Thank you for your responsiveness. Here is my package list. Package Version adal 1.2.7 How did you obtain the error logs? "[2025-03-13 11:22:39 +0100][promptflow._core.tools_manager][WARNING]" by running it or another way? |
I simply ran I will try with your packages list. |
Update:
But I'm on Windows, not Ubuntu like you. My flow is working with a faiss index stored in an Azure ML workspace and using the same tool You don't have other errors before the |
Thank you for your fast feedback !
When I try to understand the error message, it seems to indicate an issue with the file path. |
Update: This is very strange; it seems there is an issue in the pymongo-schema package version 0.4.1, specifically in the mongo_sql_types.py file. I navigated to the directory:
And I edited the file using:
I replaced this:
With this:
I ran the script, and it seems to be working, but I’m not sure if this is a viable solution. Curious. |
Describe the bug
I encounter an error when trying to run my flow in VS Code:
pf.flow.test failed with PackageToolNotFoundError: Package tool 'promptflow_vectordb.tool.common_index_lookup.search' is not found in the current environment. All available package tools are: [].
Running Information
Promptflow Package Versions :
prompt_toolkit 3.0.48
promptflow 1.17.2
promptflow-azure 1.17.2
promptflow-core 1.17.2
promptflow-devkit 1.17.2
promptflow-tools 1.6.0
promptflow-tracing 1.17.2
promptflow_vectordb 0.2.16
Additional context
I have tried the following solutions, but the issue persists:
Setting the environment variable PF_DISABLE_TRACING
Tried both false and true → Same bug
Manually setting BUILD_INFO
Attempted to add BUILD_INFO but the error remains.
The text was updated successfully, but these errors were encountered: