You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However when I import gpflow I can a missing package (sympy) error.
After installing it via pip, I get another missing package error tf_keras (see the stack trace below).
After pip install tf-keras (version 2.16.0), importing gpflow doesn't return any error, only a warning about missing TensorRT (see second slack trace below).
I'd like to know whether GPflow is correctly installed as it is.
FYI I've started looking at this. While we resolve this, it may be possible to get the most recent release of gpflow working with tensorflow 2.16.1 by doing two things:
run pip install tensorflow-probability[tf]==0.24.0 to install the correct version of tf_keras
run export TF_USE_LEGACY_KERAS=1 before starting python to switch tf to using Keras 2
Build issue
Failure to install
GPflow
dependencies alongsideTensorflow 2.16.1
To reproduce
Minimal, reproducible example
I created a minimal conda environment with
python=3.10
onlyThen activated it and installed gpflow, assuming all the dependencies are dealt with.
Afterwards, I check the relevant packages version
which gives
However when I
import gpflow
I can a missing package (sympy) error.After installing it via pip, I get another missing package error
tf_keras
(see the stack trace below).After
pip install tf-keras
(version 2.16.0), importinggpflow
doesn't return any error, only a warning about missingTensorRT
(see second slack trace below).I'd like to know whether
GPflow
is correctly installed as it is.Stack trace, or error message
Missing tf_keras
*** After
tf_keras
2.16.0 is installed ***Expected behavior
I would expect
sympy
andtf_keras
to be set as requirements.System information
2.9.1
pip install gpflow
2.16.1
3.10
The text was updated successfully, but these errors were encountered: