4 ms·
Thanks! This will be even more helpful if you could share a hint about where this was installed to. I carefully went through the output generated by the "pip i
by peteforde 3y ago
Thanks! This will be even more helpful if you could share a hint about where this was installed to.
I carefully went through the output generated by the "pip install -U audiocraft" command, and there were no clues provided.
Disclosure: I am not a Python developer, so I apologize if this is a master-of-the-obvious question for Python folks. However, if there was ever a scenario where a line or two of post-install notes would be useful, it's stuff like this.
- speedgoose 3y agoYou may have to clone the repository to get the demos folder. Otherwise it's perhaps somewhere depending on how you use python (global and often broken environment, virtual environments, conda hell, etc…). I feel like Python folks are on average terrible at distributing software. So many projects have some python script to install the dependencies, still assume you use conda, or don't bother to specify the dependencies versions. Thankfully it's often the same patterns and after some time you understand what to do based on the error messages. But I wish they could use something like NPM or Cargo. Even something like Maven would be an improvement.
- xolox 3y agoTip: If you run `pip uninstall audiocraft` it should render an interactive confirmation prompt that explains which files it is about to remove, this should help to understand where the library was installed (of course you don't have to confirm the prompt, just press Control-C or answer "No" to the prompt once you have your answer). Disregarding the tip above, determining where the library was installed requires a bit of context, for example your platform (Windows versus UNIX) and the fact that newer pip releases default to "pip install --user" when not running with super-user privileges, whereas older pip releases did not default to "pip install --user". Assuming you are using Linux and using an up-to-date pip release and you ran the "pip install -U audiocraft" command without super-user privileges, then the library was most likely installed in ~/.local/lib/pythonX.Y/site-packages (where X.Y is the version of Python that was used by the pip command you ran).