Closed ctr closed 6 months ago
Hi Chris,
Thanks for the interest in our lib! Sorry for the frustrating installation experience though.
We are currently working on a new, improved GeometricKernels
with more spaces, features and some bug-fixes! In fact, we are preparing to release it very soon, so if you can wait for a couple of days, these issues will go away.
Alternatively, you can have a peek at the new version at the devel
branch. This is compatible with the new SphericalHarmonics. The downside is, we are currently working on it, so it is subject to change, and there might be some inconsistencies in the docs. You can do it via pip install git+https://github.com/gpflow/geometrickernels.git@devel
.
The third option is to clone the repository on the main
branch and replace the requirement spherical-harmonics
with SphericalHarmonics
manually. Wouldn't recommend this route because this version is soon to be obsolete.
Thanks!
Thanks for the quick response. I tried your third option to get going. Now pip install completes.
But I get an error running the example script.
What should I try next?
(gp) ctr28@ctr28:~/x/geometrickernels$ python example1.py Traceback (most recent call last): File "/home/ctr28/x/geometrickernels/example1.py", line 8, in <module> from geometric_kernels.spaces.hypersphere import Hypersphere File "/home/ctr28/x/geometrickernels/geometric_kernels/spaces/__init__.py", line 6, in <module> from geometric_kernels.spaces.circle import Circle File "/home/ctr28/x/geometrickernels/geometric_kernels/spaces/circle.py", line 6, in <module> import geomstats as gs File "/home/ctr28/anaconda3/envs/gp/lib/python3.12/site-packages/geomstats/__init__.py", line 7, in <module> import geomstats.geometry.discrete_curves File "/home/ctr28/anaconda3/envs/gp/lib/python3.12/site-packages/geomstats/geometry/discrete_curves.py", line 11, in <module> import geomstats.backend as gs ModuleNotFoundError: No module named 'geomstats.backend' (gp) ctr28@ctr28:~/x/geometrickernels$
Hi Chris,
I think you get this because geomstats - and thus GeometricKernels as well - do not support Python 3.12. You may have better luck with, say, Python 3.10. This will be so even for the new release we are preparing, again, because of our geomstats dependency.
Also, I would really recommend you consider @stoprightthere's options one or two. The devel
branch should be more robust now than the main
, simply because the main
hasn't been updated for a while. Also devel
has nice Jupyter notebooks to get you started with GeometricKernels!
Closing this, since we've just released the new version.
Please could you help me install GeometricKernels on ubuntu 22.04 LTS. I think there is an issue with the name and version numbering of the Spherical-Harmonics dependency (which was updated 5 days ago to a new version).
I also tried installing Spherical-Harmonics from the git commit just before the latest version number bump but that didn't satisfy the dependency requirement for GeometricKernels.
Any help would be much appreciated.
Chris.