https://pantsbuild.org/ logo
#general
Title
# general
h

hundreds-raincoat-83920

12/15/2021, 2:57 AM
Is it possible to use Conda to install things with Pants? Our current workflow installs a few packages with Conda first (because they’re generally better/more compatible), then the rest with Pip. Would this be a plugin that exposed a “conda_requirements” command?
h

happy-kitchen-89482

12/15/2021, 4:25 AM
Hmm, interesting. Is the issue that Conda selects "better" (for your needs) versions of those packages, that could also be installed by pip if you locked the versions down? Or does pip actually fail to install the relevant versions?
h

hundreds-raincoat-83920

12/15/2021, 5:25 AM
Looking into our use, conda helps us install various non-Python cuda libraries that match up with the machine’s driver + PyTorch versions. Looking at the setup in detail it’s not clear to me if that’s needed any more, I’ll come back in a day or so if things don’t work out.
👍 3
7 Views