4 ms·
The Mac binary from the download page works perfectly for me. I tried a piece of numerical code I have been working on which makes some use of numpy but also us
by bobbyi_settv 10y ago
The Mac binary from the download page works perfectly for me. I tried a piece of numerical code I have been working on which makes some use of numpy but also uses element-by-element loops. The script takes 2 minutes with CPython, 3 minutes using pypy with NumPy via cpyext, and less than 2 SECONDS with pypy using NumPyPy. Wow!
However, when running the linux binaries on CentOS, they both (32- and 64-bit) fail for me with shared library errors:
./pypy2-v5.7.0-linux32/bin/pypy: error while loading shared libraries: libexpat.so.1: cannot open shared object file: No such file or directory
The 64-bit version gives the same library error but regarding libssl.so.1.0.0. I verified that I do have both expat and openssl installed (using yum), although I don't think that should be needed anyway. Anyone know what is happening here?
- collinmanderson 10y agoFrom the download page: "[1]: stating it again: the Linux binaries are provided for the distributions listed here. If your distribution is not exactly [Ubuntu 12.04 and 14.04], it won't work, you will probably see: pypy: error while loading shared libraries: …. Unless you want to hack a lot, try out the portable Linux binaries." https://github.com/squeaky-pl/portable-pypy#portable-pypy-distribution-for-linux https://github.com/squeaky-pl/portable-pypy#portable-pypy-di...