简体   繁体   中英

Can not use Edward 1.3.5 with Tensorflow 1.14.0

I am trying to use Edward library for deploying a PPCA model and facing difficulties while installing it on windows. I successfully installed Edward 1.3.5 using (pip install edward ) and tensorflow 1.14.0 using (pip install tensorflow) but when I try to import edward in jupyter notebook , I get the following error

cannot import name 'set_shapes_for_outputs' from 'tensorflow.python.framework.ops

I tried looking into issues opened here ( https://github.com/blei-lab/edward/issues/882 ) and here ( https://github.com/blei-lab/edward/issues/893 ) but nothing worked.

If anyone has any recommendations and/or suggestions, that would be great!

Many thanks!

我要解决的所有问题是,我创建了一个新的conda环境,将python降级到3.6.5(低于3.7.0的版本都可以正常工作),并将TensorFlow降级到1.3.0版(低于1.6.0的版本都可以正常工作) 。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM