Search code examples
python-3.xpipbert-language-model

zsh: no matches found: bertopic[visualization]


I am trying to install bertopic[visualization] in my macbook pro using

pip3 install bertopic[visualization]

but I am getting an error whenever I am running the above command. The error is as given below:

zsh: no matches found: bertopic[visualization]

Is there any way to install bert's visualization option?


Solution

  • zsh uses square brackets for pattern matching which means that if you need to pass literal square brackets as an argument to a command, you either need to escape them or quote the argument like this:

    so try using:

    pip3 install 'bertopic[visualization]'