-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
_common.py import issue due to conflict with other package. #1348
Comments
looks like other people hit this too, e.g. https://community.hortonworks.com/questions/77111/from-psutil-import-common-importerror-cannot-impor.html |
or if we can remove https://github.com/giampaolo/psutil/blob/master/psutil/__init__.py#L40 |
Please paste the full traceback |
I will see if i can create a reduced repro, otherwise stack is just internal code frames. |
giampaolo
added a commit
that referenced
this issue
Feb 3, 2019
giampaolo
added a commit
that referenced
this issue
Feb 15, 2019
…plementations can be called separately (and tested separately)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
_common.py conflict with Google's grpc's _common.py when both of these packages are installed in a custom directory.
this causes an import error, is it possible to rename _common.py to something else to avoid conflicts. otherwise we have to install psutil system wide, which we want to avoid.
ImportError: cannot import name _common
at (/b/clusterfuzz/src/third_party/psutil/init.py:41)
The text was updated successfully, but these errors were encountered: