简体   繁体   中英

PyPy on Windows 7 x64?

I am trying to use PyPy on a Windows 7 x64 machine but do not find any way to do it. Apparently there is a win32 binary, but no x64 binary or installation guide. I am currently using Python 2.7.2 win64 (Python 2.7.2 (default, Jun 12 2011, 14:24:46) [MSC v.1500 64 bit (AMD64)] on win32).

Installation from sources raised the following error:

[translation:ERROR] WindowsError: [Error 193] %1 is not a valid Win32 application

Does anyone have a guide/hint to use PyPy on a win64? Or is it just not possible?

PyPy is not compatible with 64bit windows. Primary reason is that sizeof(void*) != sizeof(long) which is a bit annoying. Contributions are more than welcome :)

There's no version available for 64 bit Python on Windows. You appear to have the following options:

  1. Download the source to PyPy and port it to 64 bit.
  2. Switch to 32 bit Python.

Option 2 looks more tractable.

如果现在有人阅读它,请更新此问题:PyPy 似乎已经解决了他们在 Windows x64 上的问题,您可以下载 PyPy 的 32 位版本,它可以在 Windows 7 x64 下完美运行(我什至有一个 64 位python 安装在旁边,pypy 运行良好,我只需要指定 pypy 的完整路径即可将其用于我需要的脚本)。

64-bit PyPy now supports Windows. They wrote a post about how they were finally able to add support ( https://doc.pypy.org/en/latest/windows64.html ). If you go to their downloads page, they have 64-bit Windows downloads available ( https://www.pypy.org/download.html ).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM