Install Edward in CentOS7,but it does work


#1

when i put:
from edward.models import Normal
error:
raceback (most recent call last):
File “”, line 1, in
File “/root/anaconda3/envs/tensorflow/lib/python3.6/site-packages/edward/init.py”, line 5, in
from edward import criticisms
File “/root/anaconda3/envs/tensorflow/lib/python3.6/site-packages/edward/criticisms/init.py”, line 7, in
from edward.criticisms.evaluate import *
File “/root/anaconda3/envs/tensorflow/lib/python3.6/site-packages/edward/criticisms/evaluate.py”, line 10, in
from edward.util import check_data, get_session, compute_multinomial_mode,
File “/root/anaconda3/envs/tensorflow/lib/python3.6/site-packages/edward/util/init.py”, line 10, in
from edward.util.random_variables import *
File “/root/anaconda3/envs/tensorflow/lib/python3.6/site-packages/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’