我需要使用 Tensorflow 和 Tensorflow_Probability。通过以下命令安装它后:conda install tensorflow-probability
或pip install --upgrade tensorflow-probability
,我在笔记本中运行它:
import tensorflow_probability as tfp
但它返回此错误:
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-8-41494c8c96ff> in <module>
----> 1 import tensorflow_probability as tfp
ModuleNotFoundError: No module named 'tensorflow_probability'.
结果
pip list
如下(相关部分):
tblib 1.3.2
tensorboard 1.13.1
tensorflow 1.13.1
tensorflow-estimator 1.13.0
tensorflow-probability 0.7.0
termcolor 1.1.0
terminado 0.8.1
testpath 0.4.2
tfp-nightly 0.8.0.dev20190708
Theano 1.0.4
toolz 0.9.0
谁能帮我解决这个问题(我使用的是 Win 10)?