-
Notifications
You must be signed in to change notification settings - Fork 114
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
tensorflow/keras/numpy breaks pydeps #141
Comments
Hmm... seems to be a problem in Python's modulefinder:
|
It was reported as bug 84530 (python/cpython#84530). It seems to have a PR, but it has yet to be merged. |
This was referenced Apr 21, 2022
thebjorn
added a commit
that referenced
this issue
Apr 21, 2022
The modulefinder._find_module has an unpatched bug (python/cpython#84530) in py3.8, 3.9, 3.10. Neither imp.find_module, nor the buggy modulefinder._find_module, handles namespace packages... This fixes #130. #140, #141.
This should be fixed in the latest version (v1.10.17) available on PyPI. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have tried it in both native and virtualenvs. I have also tried downloading tensorflow sourcecode and running pydeps on source code but the same uncaught exception appears.
$ pydeps --version
pydeps v1.10.14
$ python --version
Python 3.8.10
$ pydeps --collapse-target ~/.virtualenvs/ast-catch/lib/python3.8/site-packages/tensorflow --include-missing
Here is the pdb output of the spec which has loader attribute set to None
The text was updated successfully, but these errors were encountered: