Umap: Unable to install Umap-learn

Created on 11 Dec 2020  Â·  4Comments  Â·  Source: lmcinnes/umap

python3.9
windows 10
When I run the command:
pip3 install umap-learn
I get the following error:
_Failed to build llvmlite
Installing collected packages: llvmlite, numba, umap-learn
Running setup.py install for llvmlite ... error_

_FileNotFoundError: [WinError 2] The system cannot find the file specified
error: command 'c:\scratch\python39\python.exe' failed with exit code 1_

does anyone know how to overcome this?

Most helpful comment

Python 3.9 is not currently supported -- since we make heavy use of numba which doesn't currently have a release that supports python 3.9

All 4 comments

Especially for windows I'd recommend using conda and installing umap-learn
from conda-forge. In my somewhat limited experience with windows I've
historically had more luck using conda than pip.
Try something like:
conda install -c conda-forge umap-learn.

On Thu, Dec 10, 2020 at 8:19 PM nolzie notifications@github.com wrote:

python3.9
windows 10
When I run the command:
pip3 install umap-learn
I get the following error:

Failed to build llvmlite Installing collected packages: llvmlite, numba,
umap-learn Running setup.py install for llvmlite ... error

FileNotFoundError: [WinError 2] The system cannot find the file specified
error: command 'c:\scratch\python39\python.exe' failed with exit code 1

does anyone know how to overcome this?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lmcinnes/umap/issues/532, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3IUWQCZHU762OLB5IZJH3SUFXQ3ANCNFSM4UV3LQHQ
.

Python 3.9 is not currently supported -- since we make heavy use of numba which doesn't currently have a release that supports python 3.9

Hi,
As a big fan of UMAP, I am wondering if there are any (good) news about the possibility to use UMAP with Python3.9?
Tnaks

Version 0.53 of numba will provide python 3.9 support. Currently they are on the third release candidate of that version, so I would hope they will have a full release in the next month or so. You can always install the release candidate version ahead of time.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ajkl picture ajkl  Â·  4Comments

hmswaffles picture hmswaffles  Â·  6Comments

MattConflitti picture MattConflitti  Â·  6Comments

ravimulpuri picture ravimulpuri  Â·  7Comments

ensonario picture ensonario  Â·  7Comments