Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a project file support like npm/package.json for Python's pip?

I just started working on a project where I needed to install a lot of dependencies via pip. The instructions were to do everything manually.

I've used nodejs and maven before where this process is automated and the dependencies are isolated between projects. For example in node I can configure everything in package.json and just run npm install ik my project directory.

Is there something similar for pip?

like image 905
auramo Avatar asked Sep 09 '25 23:09

auramo


1 Answers

Check out anaconda. You can create lists of dependencies/packages and pass them to conda. Conda has most packages already, and will have everything soon. You can run pip through anaconda in case anaconda doesn't have the package you're looking for. Anaconda is great for both package and python version/environment management. Conda is the future!

like image 77
Dan Quinn Avatar answered Sep 12 '25 13:09

Dan Quinn