Azure-Samples / Azure-Samples/cognitive-services-quickstart-code

import "requests" library

Open
#349 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
389
Forks
556
Avg merge
3d 12h
Merged PRs (30d)
1

Description

> Please provide us with the following information:
> ---------------------------------------------------------------

### This issue is for a: (mark with an `x`)
```
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
>Running the .py file as well as in VS code the import requests shows missing

### Any log messages given by the failure
>ModuleNotFoundError: No module named 'requests'

### Expected/desired behavior
> "request" libraries will be present to run the desired .py file

### OS and Version?
> Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?) MacOS Ventura

### Versions
> python3.10

### Mention any other details that might be useful

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the `ModuleNotFoundError` from the `.py` file with Python 3.10, both directly and in VS Code, then inspect how this sample declares or installs dependencies. Done means the sample can import `requests` without the reported error on the supported environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.