Python 如果我有蟒蛇,如何在PyCharm上安装GPflow?
我尝试下载该软件包并Python 如果我有蟒蛇,如何在PyCharm上安装GPflow?,python,tensorflow,pycharm,gpflow,Python,Tensorflow,Pycharm,Gpflow,我尝试下载该软件包并python setup.py develope。但是,这将直接在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>
python setup.py develope
。但是,这将直接在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
/Users/Chu/anaconda/bin/python/Users/Chu/Documents/dssg/dssg.py
回溯(最近一次呼叫最后一次):
文件“/Users/Chu/Documents/dssg/dssg.py”,第4行,在
导入GPflow
文件“/Users/Chu/Documents/GPflow master/GPflow/_init__.py”,第18行,在
从…起导入(可能性、内核、ekernels、参数、模型、gpmc、sgpmc、优先级、gpr、svgp、vgp、sgpr、gplvm、tf_包装、,
文件“/Users/Chu/Documents/GPflow master/GPflow/likelihoods.py”,第17行,在
从。导入密度、变换
文件“/Users/Chu/Documents/GPflow master/GPflow/transforms.py”,第18行,在
from.import tf_包装为tfw
文件“/Users/Chu/Documents/GPflow master/GPflow/tf_wrapps.py”,第36行,在
_custom_op_module=tf.load_op_库(os.path.join(os.path.dirname(___文件);'tfops','matpackops.so'))
文件“/Users/Chu/anaconda/lib/python3.6/site packages/tensorflow/python/framework/load_library.py”,第64行,在load_op_library中
无,无,错误消息,错误代码)
tensorflow.python.framework.errors\u impl.NotFoundError:dlopen(/Users/Chu/Documents/GPflow master/GPflow/tfops/matpackops.so,6):未找到图像
所以我想我应该试着在library下安装它?以下是一些其他捕获:
即使我尝试在Pycharm之外安装它,我也会遇到同样的问题。我研究了Github中报告的问题,当其他人使用gcc5从头开始构建TensorFlow时,这个问题为他解决了 我认为你不能简单地在pycharm上安装GPflow。在外面做,然后你就可以使用它了。以下是报告要解决的链接: