-
Notifications
You must be signed in to change notification settings - Fork 1.6k
pkg_resources
fails to find gcloud
on the first run of an env
#2182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I actually don't know. ¯_(ツ)_/¯ My first guess was that gcloud wasn't installed, but it's installed on line 6. You could try manually stepping into tox's virtualenv for the docs and seeing what's up? |
Without looking at the code, a number of pieces of pkg_resources don't behave entirely correctly for namespace packages, and whether a package is a namespace package depends very delicately on sys.path, PYTHONPATH, .pth files, and most relevantly, any |
|
You're right, I'm thinking of pkgutil, which I have a couple of open bugs for. |
@jonparrott I don't see this as a pressing issue, so if you don't know, just close it out.
Why does
pkg_resources
fail to findgcloud
on the first run of an env? To complicate things, this doesn't happen when a new env. is created on Travis.Here is an example
The text was updated successfully, but these errors were encountered: