Giter Site home page Giter Site logo

Comments (10)

brando90 avatar brando90 commented on September 18, 2024

doesn't download anything...use pip

from pytorch-meta.

brando90 avatar brando90 commented on September 18, 2024

https://stackoverflow.com/questions/41060382/using-pip-to-install-packages-to-anaconda-environment

from pytorch-meta.

brando90 avatar brando90 commented on September 18, 2024

allowing forge didn't help:

https://stackoverflow.com/questions/48493505/packagesnotfounderror-the-following-packages-are-not-available-from-current-cha

from pytorch-meta.

brando90 avatar brando90 commented on September 18, 2024

is it really safe to only allow to install it via pip? Why can't we also install it via conda?

from pytorch-meta.

brando90 avatar brando90 commented on September 18, 2024

https://stackoverflow.com/questions/56134588/is-that-a-bad-idea-to-use-conda-and-pip-install-on-the-same-environment

from pytorch-meta.

brando90 avatar brando90 commented on September 18, 2024

maybe this will help:

https://www.colorado.edu/earthlab/2019/01/03/publishing-your-python-code-pip-and-conda-tips-and-best-practices

from pytorch-meta.

tristandeleu avatar tristandeleu commented on September 18, 2024

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?

from pytorch-meta.

brando90 avatar brando90 commented on September 18, 2024

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.

from pytorch-meta.

tristandeleu avatar tristandeleu commented on September 18, 2024

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.

from pytorch-meta.

brando90 avatar brando90 commented on September 18, 2024

SO: https://stackoverflow.com/questions/64050737/how-does-one-install-torchmeta-using-conda

from pytorch-meta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.