LoweringError: Failed in nopython mode pipeline (step: native lowering)
When trying to do the following, I get several errors.
import umap.umap_ as UMAP
I asked this same question in stackoverflow but didn't receive any solution there (already tried a couple solutions which I posted there). But, I'm not sure how to fix this issue at all & really need umap to function right now-- have a deadline for this project tomorrow (not sure why this all of a sudden isn't working). Should I just delete anaconda3 & all python packages and start from scratch?
https://stackoverflow.com/questions/72245808/loweringerror-failed-in-nopython-mode-pipeline-step-native-lowering?noredirect=1#comment127641512_72245808
numba is 0.53.0 and umap learn is 0.5.3. Does it matter that umap has "pypi" as channel and "pypi_0" as build and numba doesn't? both in anaconda3
There are a number of reasons it could be having problems. It's hard to diagnose with more detail (and the error messages from numba are unfortunately very long, so it can be hard/annoying to dump the whole thing in an issue). I would try a reinstall from scratch because it may be getting stuck somewhere. In terms of channels: I would recommend getting numba from a numba channel, pynndescent and umap-learn from the conda-forge channel, and everything else from the standard anaconda channel.
On Mon, May 16, 2022 at 1:33 AM Sofia @.***> wrote:
I asked this same question in stackoverflow but didn't receive any solution there (already tried a couple solutions which I posted there). But, I'm not sure how to fix this issue at all & really need umap to function right now. Should I just delete anaconda3 & all python packages and start from scratch?
numba is 0.55.1 and umap learn is 0.5.2. Does it matter that umap has "pypi" as channel and numba doesn't? both in anaconda3
— Reply to this email directly, view it on GitHub https://github.com/lmcinnes/umap/issues/862, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3IUBJEMBLQOGDSC6HSNXLVKHMZ7ANCNFSM5WAJS6SA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
@lmcinnes Hi, so I created a new anaconda environment & reinstalled everything from scratch but now I get this error: https://stackoverflow.com/questions/72258172/importerror-cannot-import-name-nndescent Any idea what this means? I don't understand why "NNDESCENT" is the problem as it should be in its pynndescent package.
I admit to being a little baffled. If pynndescent is installed it should be able to find NNDescent in it; is it possible envrionments are getting crossed or confused somehow? I'm sorry I can't be more help, but this is a very confusing case.
My generic advice with any such problem is to create a new conda environment from scratch. You shouldn't need to delete anaconda3 to start over again.
Cheers John
On Mon, May 16, 2022, 1:33 AM Sofia @.***> wrote:
I asked this same question in stackoverflow but didn't receive any solution there (already tried a couple solutions which I posted there). But, I'm not sure how to fix this issue at all & really need umap to function right now. Should I just delete anaconda3 & all python packages and start from scratch?
numba is 0.55.1 and umap learn is 0.5.2. Does it matter that umap has "pypi" as channel and numba doesn't? both in anaconda3
— Reply to this email directly, view it on GitHub https://github.com/lmcinnes/umap/issues/862, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC3IUWTJICUPZSB7FYLBOBTVKHMZ7ANCNFSM5WAJS6SA . You are receiving this because you are subscribed to this thread.Message ID: @.***>