Closed brando90 closed 4 years ago
is it really safe to only allow to install it via pip? Why can't we also install it via conda?
As far as I understand, and according to your last link, there is no advantage to install the package with conda over pip (since Torchmeta is a "pure python" package). I think by default pip is included when you create a new conda environment, so you can use pip install torchmeta
in your conda environment. Do you have any specific requirement for using conda over pip here?
As far as I understand, and according to your last link, there is no advantage to install the package with conda over pip (since Torchmeta is a "pure python" package). I think by default pip is included when you create a new conda environment, so you can use
pip install torchmeta
in your conda environment. Do you have any specific requirement for using conda over pip here?
Conda works better with jupyter as far as I know and data science in general.
In the end for me the point is consistency and better management of the packages. Having multiple packages being installed by different tools is usually bad practice (e.g. if I start having issues with a specific package but can't figure out which one I used to install it, it becomes much harder to fix it since any action I take from there might be with the wrong env manager that might cause further unexpected problems).
I'm sure there are more reasons but that's the first one that comes up in my head.
Everyone uses conda afaik for data science so it's good to allow us to install it with conda.
If you are concerned about the interoperability between conda and pip, according to this answer on Stackoverflow this has been improved in newer versions of conda.
Unfortunately I am not familiar with deployment on conda, and I am not comfortable with maintaining two separate releases. Since installing Torchmeta with pip works well in conda (just make sure the pip command you use is the one from your conda environment), I recommend using pip to install the package.
doesn't download anything...use pip