-
Notifications
You must be signed in to change notification settings - Fork 888
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] [VSCode Extension] Package not installed #2024
Comments
It seems to be a duplicate of #788 And if you use the Vector Index Lookup tool, it has been deprecated. Therefore, I recommend you to upgrade to the new index lookup tool. It is well written in this link. |
Hi @dans-msft @Adarsh-Ramanathan , could you help confirm @Kevinlee49's comment? Thanks! |
I believe that I am using the index lookup tool. My code is below:
This is the code that is auto-generated in the Studio when adding an IndexLookup: |
@tvanvalkenburg, can you share the full output of running |
The output of |
@tvanvalkenburg - can you also run |
I've attached the output |
@tvanvalkenburg , can you run |
This is the likely source of the issue that you're seeing. What python version are you using? |
In this environment I am runnning 3.11.6. |
That's strange - I ran In any case, based on your
|
So I think we may be onto something. Firstly, I have been using Python installed through I've tried installing the packages in a container build on the official Python 3.11.6 image, and pip is able to find the packages. However, when trying to run the install I get the following error: |
It's strange that pip is attempting to install azureml-rag 0.2.23 instead of 0.2.25, which is the latest version that's compliant with that version constraint. I set up container with pyenv, ran Is there anything else different about your environment that you think would be helpful in getting a repro going? |
Try to pip install like this: |
Unfortunately it doesn't work. I tried in a fresh Python 3.11.6 container |
An update on this issue. I ran into a similar problem trying to install the I got around the problem with the CLI by installing an older version, as is documented in the issue linked above. However, I am still not able to make it work when trying to install |
I was able to solve the issue by creating a conda environment with x_86 architecture. Within that environment I am able to install the required packages without issue. It appears that the problem is that the Azure ML Python SDK has gaps on Apple's ARM chips. |
I'm having the same issue. I tried with multiple python versions [3.8, 3.9, 3.10, 3.11, and 3.12]. I have also tried in Apple M1 and Ubunute 22, same issue. Tried with venv and conda, same issue.
Error
|
I am getting an error saying "Can't find tool promptflow_vectordb.tool.common_index_lookup.search". The image below shows that the package is installed, along with
promptflow
andpromptflow-tools
. The text printed to the terminal is the output ofpip list
in the same virtual environment in which the flow is being executed.Running on Mac OS Sonoma 14.3.1.
The text was updated successfully, but these errors were encountered: