I see this is a notebook file:
%pip install wordcloud
I would usually do: pip install wordcloud
without the %
.
I have tried looking this up, but cannot seem to find it.
What does the %
actually do ? is it notebook specific ?
EDIT:
there are 4 proposed solutions (that were similar).
it appears as though the %
is a replacement in the notebook for cmd
, but this does not explain its usage, in particular this:
so the
%
effectively replaces thecmd
? but i dont get why it is used given that the pip command is only needed to be run once ? is it proposed that this pip is run every time (to install the latest version)...
So: why use %pip in place of pip install?, what is the benefit ?