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

warning/error: No module named 'azure' #10

Open
bmerkle opened this issue Dec 19, 2024 · 4 comments
Open

warning/error: No module named 'azure' #10

bmerkle opened this issue Dec 19, 2024 · 4 comments

Comments

@bmerkle
Copy link

bmerkle commented Dec 19, 2024

I followed the instructions https://github.com/microsoft/PromptWizard?tab=readme-ov-file#steps-to-be-followed-for-custom-datasets
and then I run demos\scenarios\dataset_scenarios_demo.ipynb
and get the warning "No module named 'azure'"

seems there is a missing dependency ?

output:

mutated_prompt_generation=Sorry, I am not able to understand your query. Please try again.
Iterations completed:   0%|          | 0/3 [00:00<?, ?it/s]
Time taken to find best prompt: 0.6178853511810303 sec
Time taken to find best prompt: 0.6178853511810303 sec
No module named 'azure'
No module named 'azure'
No module named 'azure'

Optimization Finished...

Possible prompt variations:
No module named 'azure'
No module named 'azure'
@bmerkle
Copy link
Author

bmerkle commented Dec 19, 2024

error message:

[c:\work\microsoft\PromptWizard\venv\Lib\site-packages\tqdm\auto.py:21](file:///C:/work/microsoft/PromptWizard/venv/Lib/site-packages/tqdm/auto.py:21): TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
  from .autonotebook import tqdm as notebook_tqdm

to fix warnings i added the following modules manually:

pip install ipywidgets

@bmerkle
Copy link
Author

bmerkle commented Dec 19, 2024

error message:

Possible prompt variations:
No module named 'azure'
No module named 'azure'
No module named 'azure.identity'
No module named 'azure.identity'

to fix warnings i added the following modules manually:

pip install azure-search-documents
pip install azure-identity

@cn-knight
Copy link

yes, as I knew, MS's tools are always not easy to use. Ugly

1 similar comment
@cn-knight
Copy link

yes, as I knew, MS's tools are always not easy to use. Ugly

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