umap
umap copied to clipboard
Cannot install on Python 3.11.2
When trying to install, I get the error: RuntimeError: Cannot install on Python version 3.11.2; only versions >=3.7,<3.11 are supported.
Does this mean that UMAP is no longer in development?
More likely that core dependencies like numba didn't support 3.11 at the time of 3.11's release.
Good guess James. It turns out you are bang on. I checked the error log from trying to install umap-learn on python 3.11 and it is indeed a numba install error.
My go to work around in "numba might be causing problems for me" situtations is usually to conda install numba before pip install umap-learn . In this particular case that didn't work due to numba specifically not supporting 3.11.
Here is the conda return on trying to conda install numba.
UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment: Specifications: - numba -> python[version='2.7.|3.5.|3.6.*|>=2.7,<2.8.0a0|>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0'] Your python: python=3.11
Feel free to give the numba crowd a shout. They are fantastic and pretty responsive and I'm sure they've already got 3.11 on their roadmap.
On Tue, Feb 28, 2023 at 10:54 AM James Melville @.***> wrote:
More likely that core dependencies like numba didn't support 3.11 at the time of 3.11's release.
— Reply to this email directly, view it on GitHub https://github.com/lmcinnes/umap/issues/976#issuecomment-1448425695, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3IUWU7ANGNK65RJ7WZ3JLWZYNT5ANCNFSM6AAAAAAVKXEQJE . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Just for context, they are close to a release candidate for Python 3.11 -- link to checklist here: https://github.com/numba/numba/issues/8304#issuecomment-1480876090