Windows上的Python软件包:pip还是本机安装程序? [英] Python packages on windows: pip or native installers?

查看:97
本文介绍了Windows上的Python软件包:pip还是本机安装程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

与使用打包的安装程序(exe/msi)相比,使用pip在Windows上安装python软件包有什么相对优势?

What are the relative merits of installing python packages on windows using pip as opposed to using packaged installers (exe/msi)?

推荐答案

对于初学者来说,有些对我不起作用(MySQLdb为

For starters, some just wouldn't work for me (MySQLdb being the major culprit).

我的新规则:

  1. 尝试pipeasy_install
  2. 如果这样不起作用,请浏览 python .msi/.exe安装程序的库(对于Windows).
  1. Try pip or easy_install
  2. If that doesn't work, browse this library of python .msi/.exe installers for Windows.

如果两种方法都不适合您,请在StackOverflow上发布问题.权衡一个人的优点,您真的没有任何好处.只需以最小的摩擦获得所需的东西,然后继续进行更有趣的事情.

If neither works for you, post a question on StackOverflow. You really have no benefit weighing the merits of one or the other; just get what you need in the manner that provides the least friction, and move on to more interesting things.

这篇关于Windows上的Python软件包:pip还是本机安装程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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