ModuleNotFoundError: No module named 'dapr.version' (dapr-python 1.8.0)
See original GitHub issueExpected Behavior
No error!
Actual Behavior
youngp@DESKTOP_frlucas state_store % python3 state_store.py
Traceback (most recent call last):
File "/Users/youngp/repos/samples/python-sdk/examples/state_store/state_store.py", line 8, in <module>
from dapr.clients import DaprClient
File "/usr/local/lib/python3.10/site-packages/dapr/clients/__init__.py", line 20, in <module>
from dapr.clients.grpc.client import DaprGrpcClient, MetadataTuple, InvokeMethodResponse
File "/usr/local/lib/python3.10/site-packages/dapr/clients/grpc/client.py", line 40, in <module>
from dapr.version import __version__
ModuleNotFoundError: No module named 'dapr.version'
Steps to Reproduce the Problem
- Install the latest dapr pkg (1.8.0
- Run state_store.py sample
Release Note
RELEASE NOTE:
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Pip install dapr does not install all the correct packages in non ...
pip install dapr should install all the correct modules. Currently it looks like there are some modules that you only get when you...
Read more >dapr - PyPI
Dapr codifies the best practices for building microservice applications into open, independent, building blocks that enable you to build portable applications ...
Read more >ModuleNotFoundError: No module named 'dapr' - RoseIndia.Net
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'dapr' How to remove the ModuleNotFoun.
Read more >Dapr Python SDK
Dapr client for writing Python applications to interact with the Dapr sidecar and other Dapr applications · Dapr actor for creating and interacting...
Read more >Supported runtime and SDK releases - Dapr Docs
Release date Runtime CLI Dashboard Status
December 2nd 2022 1.9.5 1.9.1 0.11.0 Supported (current)
November 17th 2022 1.9.4 1.9.1 0.11.0 Supported
November 4th 2022 1.9.3 1.9.1...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@espenairmine @ngiind @DarqueWarrior @youngbupark fixed now. Sorry about that!
Released 1.8.1 with the fix to ensure everyone pulls in the correct version. 1.8.0 is yanked and can no longer be installed.
Fix is here: https://github.com/dapr/python-sdk/commit/8f64c3ea259a1dd713308706e4a46f7b27b3e97b