是否为Python的pip提供了像npm/package.json这样的项目文件支持? [英] Is there a project file support like npm/package.json for Python's pip?

查看:232
本文介绍了是否为Python的pip提供了像npm/package.json这样的项目文件支持?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始从事需要通过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.

在此过程自动化并且项目之间的依赖关系被隔离之前,我已经使用过nodejs和maven.例如,在节点中,我可以在package.json中配置所有内容,然后仅在项目目录中运行npm install ik即可.

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.

pip是否有类似的东西?

Is there something similar for pip?

推荐答案

查看anaconda.您可以创建依赖项/程序包列表,并将它们传递给conda.康达已经拥有大多数软件包,并将很快拥有所有软件包.您可以在anaconda中运行pip,以防anaconda没有您要查找的软件包. Anaconda非常适合软件包和python版本/环境管理.康达就是未来!

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!

这篇关于是否为Python的pip提供了像npm/package.json这样的项目文件支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆