我尝试下载该软件包并python setup.py develop
。然而,这直接在anaconda下安装GPflow。另外,这并不是真正起作用的anaconda而且会出错
/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
所以我想我应该尝试在库下安装它?以下是其他一些内容:
答案 0 :(得分:1)
即使我尝试在Pycharm之外安装它,我也有同样的问题。我查看了Github中报告的问题,当他从头开始构建TensorFlow时问题解决了其他人gis5
我不认为你只需在pycharm上安装GPflow即可。在外面做,然后你可以使用它。这是报告要解决的链接: