1

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?

Nayana Madhu
  • 1,185
  • 5
  • 17
  • 34

1 Answers1

4

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]'

think-maths
  • 917
  • 2
  • 10
  • 28