python module not found
See original GitHub issueHP ENVY 17" i7 laptop: Kubuntu 21.10
Steps to reproduce Greetings, I’m relatively new to Opentelemetry. I’ve followed many tutorials including opentelemetry.io but I keep running into dependency problems with the python stack.
What is the expected behavior? I don’t expect any error
What is the actual behavior?
"No module named 'opentelemetry.exporter.otlp.proto.grpc.metric_exporter'".
Additional context
I have all the python modules loaded after running "opentelemetry-bootstrap --action=install" but still that module is not found. I’m not new to python and I’ve traced into the code and can not find why that module is not found even though I see it at:
“opentelemetry/opentelemetry-python-1.12.0rc1/exporter/opentelemetry-exporter-otlp-proto-grpc/src/opentelemetry/exporter/otlp/proto/grpc”
Issue Analytics
- State:
- Created a year ago
- Comments:21 (6 by maintainers)
Top Related StackOverflow Question
I can reproduce by creating a new virtual environment and installing the listed components above with
pip. The issue here happens because the latest release ofopentelemetry-exporter-otlp(1.12.0rc1) is not installed by pip (because it is a pre-release).I can confirm the example works with this virtual environment:
Problem solved. Did a pip cache purge, reinstalled all modules and all is working. Thanks