Closed vjcitn closed 3 years ago
Ideally one should fill out as many dependencies with conda
as possible, and then pip
only has to install the few desired packages on top of it. I recently modified listPackages()
(1.1.16) to fix some previously mentioned weirdness so that it returns real version numbers; I also added a backdoor (see ?setupBasiliskEnv
) to allow you to pass in unversioned packages, for easier construction and interrogation of a functional Conda environment.
In your case, the idea would be to:
listPackages()
on your environment directory.pip
.packages=
but without version numbers, setting basilisk:::globals$set(no.version=TRUE)
to avoid having to use pip
's version numbers (as the same versions might not be available for conda
).listPackages()
again to figure out the versions of all dependencies that Conda chose.packages=
statement.Then any pip
weirdness is limited to the few packages that are only available on PyPI.
Thanks.
This popped up in a recent update to vjcitn/oc2bioc, FWIW
I'll file more details if it seems important.