getkeops / keops

KErnel OPerationS, on CPUs and GPUs, with autodiff and without memory overflows
https://www.kernel-operations.io
MIT License
1.02k stars 65 forks source link

Which version of Python is supported by KeOps? #337

Closed awav closed 5 months ago

awav commented 9 months ago

Hi,

I'm using Python 3.10 and I have trouble compiling pykeops code as in this issue: https://github.com/getkeops/keops/issues/318. However, switching to 3.8 is going to be an effort and I'm not using conda. So, I'm curious if KeOps is indeed supports only Python <= 3.8.

jeanfeydy commented 9 months ago

Hi @awav ,

There should be no problem with any recent Python version (>=3.8 for sure, I'm not too sure about earlier versions).

For reference, I am currently using KeOps with Python 3.10 via our latest image on DockerHub. Issue #318 was related to the path to the CUDA toolkit, and had nothing to do with the Python version. (I assume that this solved @kayween 's problem because working with a fresh install of Python untangled some environment variables.)

Please note that during my PostDoc at Imperial College, I needed to use a specific path to follow the conventions of the local sysadmins. You may be running into a very similar issue. Does this solve your problem?

Best regards, Jean