Skip to content
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

tests failing: ModuleNotFoundError: No module named 'tensorflow_probability' #270

Closed
cwmeijer opened this issue Mar 21, 2022 · 2 comments
Closed
Assignees
Labels

Comments

@cwmeijer
Copy link
Contributor

I checked a couple of the failing tests. All of them only had problems finding a package:

import tensorflow as tf
>   from tensorflow_probability import distributions as tfd
E   ModuleNotFoundError: No module named 'tensorflow_probability'

Sounds like something that broke in that package last week? I haven't looked into it further.

@cwmeijer cwmeijer self-assigned this Mar 21, 2022
@cwmeijer
Copy link
Contributor Author

cwmeijer commented Mar 22, 2022

The error occures when importing Onnx-tf. They released a new version (1.10) last week (17 March).

@cwmeijer
Copy link
Contributor Author

I fixed the version of onnx_tf to 1.9 in PR #273 which seems to fix the issue. However, the build for onnx-tensorflow is completing just fine (https://github.com/onnx/onnx-tensorflow). I even tried importing onnx_tf on google collab where it also succeeded.

Quite puzzling why the latest version onnx_tf 1.10 gives me the above import error on:

  • our github actions
  • my local Windows environments
  • my WSL ubuntu environments

cwmeijer added a commit that referenced this issue Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants