Install Gensim on the new M1 chip Mac

Viewed 1718

Any leads on how can I install gensim on the M1 chip on the new Mac community? There hasn't been much news yet for this. This is the only other question there -

can't install gensim on apple M1

(and I am not looking to use rosetta)

ERROR:

RuntimeError: Cython extensions are unavailable. Without them, this gensim functionality is disabled. If you've installed from a package, ask the package maintainer to include Cython extensions.

1 Answers

First of all, I know this is not the best and safest choice, but this thing worked for me. As I wanted to install sklearn on M1, I needed to have anaconda installed, and also the specific channel that supports it was conda-forge. To install Gensim, I just did a simple pip install gensim inside of the conda environment where I have my other packages installed.

In general, it's not the best idea to install different packages using a combination of conda and pip, but sadly, I think you have no other choice if you want to make things work on m1.

Related