Getting ready

Installing PyPy can be easy or hard, depending on your system. Binaries are available (http://pypy.org/download.html#default-with-a-jit-compiler) for x86, ARM, PowerPC, and s390x CPUs for Windows, macOS, and Linux OSes. In addition, Python 2.7 and 3.5 versions are available.

If installing on Linux, binaries are only usable for the distributions they are compiled for. Unfortunately, this means that many more recent distribution versions are out of luck. For example, the latest Ubuntu version supported is 16.04, while Windows doesn't have a 64-bit version available. If you don't use a binary that is expressly written for your version, you will most likely get error messages.

If you are running Linux and it isn't one of the distributions listed in the downloads site, you have the choice of hacking your distribution to make things work, or trying out the portable PyPy binary. Portable PyPy is an attempt to write a 64-bit x86-compatible binary for a variety of Linux distributions without requiring additional libraries or OS configuration changes. These portable binaries are created using Docker, so while they should work without issue, like any technology, your mileage may vary.

In addition to PyPy, these portable binaries include virtenv to keep everything separate, as well as providing OpenSSL, SQLite3, libffi, expat, and Tcl/Tk.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset