Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Error while finding module specification for 'grpc_tools.protoc' (ModuleNotFoundError: No module named 'grpc_tools') #582

Closed
evaogbe opened this issue Mar 20, 2019 · 6 comments
Assignees

Comments

@evaogbe
Copy link
Contributor

evaogbe commented Mar 20, 2019

Found when running:

artman --local --config "google/cloud/talent/artman_talent_v4beta1.yaml" --generator-args="--dev_samples" --verbose generate python_gapic
@beccasaurus
Copy link

/cc @googleapis/samplegen just because this is blocking one of my GCP Next sample launches

@yihanzhen
Copy link
Contributor

I thinks you need to install this: https://grpc.io/docs/quickstart/python.html

@evaogbe
Copy link
Contributor Author

evaogbe commented Mar 20, 2019

Installed grpc tools, but getting the same error

@yihanzhen
Copy link
Contributor

yihanzhen commented Mar 20, 2019

This is a bit weird since I can successfully generating python_gapic for talent using the local gapic-generator. The only thing I can think of is that please make sure you did not install grpcio-tools in a virtualenv, since I think artman will create a separate virtualenv for itself when running.

@evaogbe
Copy link
Contributor Author

evaogbe commented Mar 22, 2019

Installed outside of a virtualenv, but still getting the same error

@evaogbe evaogbe assigned yihanzhen and unassigned evaogbe Mar 22, 2019
@evaogbe
Copy link
Contributor Author

evaogbe commented Mar 27, 2019

Issue resolved by reinstalling artman

@evaogbe evaogbe closed this as completed Mar 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants