How can I remove a paclet that was automatically downloaded when I used a function for the first time (i.e. NetChain
)?
I believe the download was faulty, preventing me from using any of the functions from that paclet (e.g. ElementwiseLayer, etc.). That's why I want to redownload it. If I understand correctly, paclets are downloaded from the Wolfram Research Server when an uncommon function such as NetChain
or Sound
are used for the first time (indicated by a blue progress bar under the cell).
Answer
Use PacletFind
to find the installed versions, of the paclet, for exmaple:
paclets = PacletFind["*MX*"]
(*{Paclet[MXNetLink,11.1.0,<>]}*)
Then evaluated PacletUninstall
to remove said paclet. For example
PacletUninstall[ paclets[[1]] ]
I recommend using Part
to select the paclet. If you copy/paste, you'll need to be careful to select the visible expression along with its interpretation. It's a little to easy to select just the displayed Paclet["foo",<>]
without the interpretation.
If you like to see where the paclets are installed, use the following and again, be careful about directly copying the outputs:
Table[{paclet, "Location" /. PacletInformation[paclet]}, {paclet,
paclets}] // TableForm
Comments
Post a Comment