我应该使用Python 32位还是Python 64位 [英] Should I use Python 32bit or Python 64bit

查看:642
本文介绍了我应该使用Python 32位还是Python 64位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个win7 64位安装。我必须使用Python 64位吗?无论如何,32位和64位Python版本之间有什么区别?

I have a win7 64bit installation. Must I use Python 64bit? What are the differences between the 32bit and 64bit Python versions anyway? Do different Python packages (such as south, django, mysqldb etc) support only 32bit/64bit?

推荐答案

64位版本将允许使用不同的Python包(例如south,django,mysqldb等)仅支持32bit / 64bit吗?一个进程使用更多的RAM而不是32位,但是您可能会发现,内存占用量会增加一倍,具体取决于您存储在RAM中的内容(尤其是整数)。

64 bit version will allow a single process to use more RAM than 32 bit, however you may find that the memory footprint doubles depending on what you are storing in RAM (Integers in particular).

例如,如果您的应用程序需要大于2GB的RAM,那么从32位切换到64位,您可能会发现您的应用程序现在需要大于4GB的RAM。

For example if your app requires > 2GB of RAM, so you switch from 32bit to 64bit you may find that your app is now requiring > 4GB of RAM.

检查是否所有您的第3方模块提供64位版本,否则同时坚持使用32位版本可能更容易

Check whether all of your 3rd party modules are available in 64 bit, otherwise it may be easier to stick to 32bit in the meantime

这篇关于我应该使用Python 32位还是Python 64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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