简体   繁体   中英

Modin[dask] on Apple M1 chip

I have successfully installed modin[dask] with conda on my Apple M1 chip MacBook Pro, but when I run the code, I got the below errors:

AttributeError: 'NoneType' object has no attribute 'ncores'.

The below is pip list(Python 3.10.4):

dask                          2022.5.0
distributed                   2022.5.0
modin                         0.11.3
pandas                        1.3.4

Thanks for any help.

It's hard to diagnose what's going on without seeing what code you ran and exactly how you installed everything.

Here's a blog post about setting up an M1-based Mac with dask: https://coiled.io/blog/apple-arm64-mambaforge/

The key points are:

  • start fresh with mambaforge
  • conda should be ok if mamba's not an options
  • install everything into a fresh environment and everything should come from the conda-forge channel.
mamba create --name=dask-env python=3.9 dask dask-labextension --channel=conda-forge

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM