swagger-api / swagger-api/swagger-codegen
run the Python swagger example - swagger_client ModuleNotFound
Open
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
I just download the SDK for Python. I just want to check and run the code.
But in every py the compiler says "ModuleNotFoundError: No module named 'swagger_client'
What is my mistake?
Swagger-codegen version
openapi: 3.0.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the downloaded Python SDK and the example code that raises ModuleNotFoundError for swagger_client. Check how the generated package is installed or made available before running the example. Done means the example runs without the missing-module error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi, python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100