Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
438 views
in Technique[技术] by (71.8m points)

python - mypy not picking up installed stubs

I've installed boto3, boto3-stubs, and mypy:

Pipfile:

"boto3" = "*"
boto3-stubs = {extras = ["ec2", "s3"], version = "*"}
mypy = "*"

But running mypy . gives the error:

error: Skipping analyzing 'boto3': found module but no type hints or library stubs

Do I need to configure something for mypy to find the stubs?

I'm using python 3.8.6, mypy 0.790, boto3 1.16.59, boto3-stubs 1.16.59 all installed in a virtual env.

question from:https://stackoverflow.com/questions/65894133/mypy-not-picking-up-installed-stubs

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...