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

edward import error #943

Open
cymqqqq opened this issue Jan 16, 2020 · 4 comments
Open

edward import error #943

cymqqqq opened this issue Jan 16, 2020 · 4 comments

Comments

@cymqqqq
Copy link

cymqqqq commented Jan 16, 2020

when I import edward:
File "", line 1, in
File "F:\edward\edward_init_.py", line 5, in
from edward import criticisms
File "F:\edward\edward\criticisms_init_.py", line 7, in
from edward.criticisms.evaluate import *
File "F:\edward\edward\criticisms\evaluate.py", line 10, in
from edward.util import check_data, get_session, compute_multinomial_mode,
File "F:\edward\edward\util_init_.py", line 10, in
from edward.util.random_variables import *
File "F:\edward\edward\util\random_variables.py", line 15, in
from tensorflow.python.framework.ops import set_shapes_for_outputs
ImportError: cannot import name 'set_shapes_for_outputs' from 'tensorflow.python.framework.ops' (E:\Anaconda3\lib\site-packages\tensorflow\python\framework\ops.py)

@cymqqqq
Copy link
Author

cymqqqq commented Jan 16, 2020

I know the newest version is incompatible with the tf2.0.
but how to solve this question?

@hyeon424
Copy link

hyeon424 commented Mar 12, 2020

You need to check this page.
Check the version of each library you need.

https://github.com/blei-lab/edward/blob/master/setup.py

@jtlz2
Copy link

jtlz2 commented Apr 8, 2020

@hyeon424 Link is dead

@hyeon424
Copy link

hyeon424 commented Apr 8, 2020

@jtlz2 Check setup.py on this page
https://github.com/blei-lab/edward

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants