Open cymqqqq opened 4 years ago
I know the newest version is incompatible with the tf2.0. but how to solve this question?
You need to check this page. Check the version of each library you need.
@hyeon424 Link is dead
@jtlz2 Check setup.py on this page https://github.com/blei-lab/edward
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)