-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
import error #221
Comments
Just force upgrade your package using: |
I tried upgrade and reinstall, but still does not work. |
@worasom, although it will sound strange, the problem you are seeing is caused because you installed the tensorflow package. I'll explain why. When we started developing pymc4, we made the package depend on You may be asking yourself why does this cause an error? The thing is that from pip's (and setuptools) point of view,
How do you fix things? First you'll have to completely uninstall tensorflow. Then you just have to run |
I installed tensorflow 2.1 and pymc4 on window 10 machine. The packages are install in a new venv environment. I can import tensorflow (with some warning), but when trying to import pymc4 I got this error "AttributeError: module 'tensorflow_core.compat.v2.math' has no attribute 'xlog1py'"
I check and found that tensorflow.math.xlog1py throws the same error. Please suggest.
The text was updated successfully, but these errors were encountered: