1

我尝试下载包和python setup.py develop. 但是,这会直接在 anaconda 下安装 GPflow。另外,这不是真正有效的蟒蛇并给出错误

/Users/Chu/anaconda/bin/python /Users/Chu/Documents/dssg/dssg.py
Traceback (most recent call last):
  File "/Users/Chu/Documents/dssg/dssg.py", line 4, in <module>
    import GPflow
  File "/Users/Chu/Documents/GPflow-master/GPflow/__init__.py", line 18, in <module>
    from . import (likelihoods, kernels, ekernels, param, model, gpmc, sgpmc, priors, gpr, svgp, vgp, sgpr, gplvm, tf_wraps,
  File "/Users/Chu/Documents/GPflow-master/GPflow/likelihoods.py", line 17, in <module>
    from . import densities, transforms
  File "/Users/Chu/Documents/GPflow-master/GPflow/transforms.py", line 18, in <module>
    from . import tf_wraps as tfw
  File "/Users/Chu/Documents/GPflow-master/GPflow/tf_wraps.py", line 36, in <module>
    _custom_op_module = tf.load_op_library(os.path.join(os.path.dirname(__file__), 'tfops', 'matpackops.so'))
  File "/Users/Chu/anaconda/lib/python3.6/site-packages/tensorflow/python/framework/load_library.py", line 64, in load_op_library
    None, None, error_msg, error_code)
tensorflow.python.framework.errors_impl.NotFoundError: dlopen(/Users/Chu/Documents/GPflow-master/GPflow/tfops/matpackops.so, 6): image not found

所以我想我应该尝试在库下安装它?以下是其他一些捕获:

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

4

1 回答 1

1

即使我尝试在 Pycharm 之外安装它,我也会遇到同样的问题。我在 Github 中查看了报告的问题,当他从头开始构建 TensorFlow uisng gcc5 时,问题已为其他人解决

我不认为你可以简单地在 pycharm 上安装 GPflow。在外面做,然后你就可以使用它了。这是报告解决的链接:

https://github.com/GPflow/GPflow/issues/192

于 2017-06-04T12:41:35.750 回答