Questions tagged [pypy]

PyPy is an implementation of the Python language. Do not confuse with PyPI, the package index. General Python questions should just be tagged with python.

PyPy is a fast, very compliant, self-hosting implementation of the Python language. PyPy started out being a Python interpreter written in the Python language itself. It is built using the language.

PyPy has several advantages and distinctive features, including:

  • Speed: thanks to its Just-in-Time (JIT) compiler, Python programs often run faster on PyPy.

  • Sandboxing: PyPy provides the ability to run untrusted code in a fully secure way.

  • Stackless: PyPy can be configured to run in stackless mode, providing micro-threads for massive concurrency.

Programmers interested in following PyPy's progress should check the Dev Site and the PyPy Status Blog. For background, see PyPy - Goals and Architecture Overview.

Releases and builds

At this time there are three PyPy release series with binaries for x86, ARM, and PPC, on Linux, Mac OS/X and Windows:

  • PyPy2.7 v5.6.0 (the Python2.7 compatible release)
  • PyPy3.3 v5.5.0 (the Python3.3 compatible release)
  • PyPy-STM v2.5.1 (Linux x86-64 only)

More informations about builds and versions on download page. There are also nightly builds available.

794 questions
0
votes
1 answer

Problem with installing pypy modules in windows 10

I am trying to install pandas, matplotlib and other modules to pypy3. However I keep getting error messages is there a way i could fix this problem. I am on a windows 10 64 bit machine. I have execurted the ensurepip command on cmd and it works.…
fire fireeyyy
  • 71
  • 1
  • 8
0
votes
1 answer

Issue whilst installing the pypy kernel to jupyter notebook

I am trying to install pypy3 to jupyter notebook but whilst doing it, it gives me an error at the source code bit during the cmd installation. I am on windows 10 64 bit system. Would this bit affect anything, from my backtests of large files the…
0
votes
1 answer

Make PyPy in virtualenv use shared library from OS rather than its own copy (libsqlite3)

In a Python/Django based open source project I am working on we use Travis and GH Actions for CI. We support PyPy and hence run our CI tests for PyPy as well. Since a couple of months we were not able to run those PyPy tests successfully anymore,…
tomka
  • 1,275
  • 1
  • 11
  • 17
0
votes
0 answers

pypy Ensure pip error ("C:\pypy3.exe -m ensurepip") windows 10

I am trying to install pypy pip installation howveer there is this bug when I try to run pypy3 -m ensurepip I have a 64bit windows 10 os system. I get this error when I try to run the program in cmd: ERROR: Exception: Traceback (most recent call…
0
votes
1 answer

Installing pypy on conda environ - cuda driver error

Following the instructions from here, i'm getting a cuda driver error that i can't make sense off. Does anyone know how i can resolve this? Thanks in advance (pypy) C:\Users\pamci>conda activate pypy (pypy) C:\Users\pamci>conda install…
PaMcD
  • 105
  • 13
0
votes
1 answer

Unable to install pandas on pypy3.6

I use a Windows machine with WSL2 (Ubuntu 20.04.1 LTS). In my linux subsystem I integrated anaconda and created a pypy3.6 environment. I installed some packages without problems such as networkx and numpy but I can't integrate pandas. I know that…
0
votes
0 answers

Is it possible to combine using PyPy and CPython?

PyPy is a good interpreter compared with CPython. However, PyPy is incompatible with several packages and extremely slow when there are some requirements that need executing dynamically generated code. Therefore, is there any possible solution to…
HZ-VUW
  • 842
  • 9
  • 20
0
votes
0 answers

PyPy on Windows XP

What is the last version of PyPy to be compatible with Windows XP? Their latest version is not. https://downloads.python.org/pypy/pypy3.7-v7.3.2-win32.zip PyPy releases are available here, but which one to choose? https://downloads.python.org/pypy/
mcu
  • 3,302
  • 8
  • 38
  • 64
0
votes
2 answers

How to improve speed to process a file using Regular expression which takes more CPU time using pypy?

While reading a text log file(postfix logs), I need to check certain patterns to partition the line / split the line to store the values of the attributes in each line of the text log file. Hence use regular expression 're.search' method as…
user956424
  • 1,611
  • 2
  • 37
  • 67
0
votes
1 answer

How to install pip

Can you please tell me how to install 'pip' on pypy3 interpreter in windows10 64 bits. I'm using pycharm IDE and set pypy as a IDE interpreter. But when I trying to install pandas library on pypy3 using this command pypy3 pip install pandas I'm…
Amelia
  • 1
  • 2
0
votes
0 answers

how to set pypy in pyspark for windows 10?

I am trying to use pypy instead of ipython, but I getting errors. I have added pypy in system environmental paths. If I add python instead of pypy in environmental paths, everything works perfectly. I have been stuck at this for a few hours, any…
superduper
  • 401
  • 1
  • 5
  • 16
0
votes
0 answers

Best way to run a Python module in a static website (Pypy, Brigthon)?

I'm looking to build a static website (hml/css/j) to run a python interpreter/compiler to import then pytts3 (text to speech) in the user memory. I'm reading the extensive Pypy documentation. If anyone knows if that the right choice? Thanks.
0
votes
1 answer

How to fix error when installing numpy in pypy with pip?

I am trying to set up a pypy Interpreter in my PyCharm IDE. I am using Windows 10 version 10.0.18363 Build 18363 on a x64 based machine. I downloaded PyPy 3.6 v7.3.1 on the pypy site (https://www.pypy.org/download.html) in .zip format. I unzipped it…
Robert K.
  • 11
  • 2
0
votes
0 answers

How to use rpython translator to convert my python script into pypy?

I am using python 3.7 in windows 10 64-bit platform. My python script contains mainly pyopengl graphics. My application works okay with python but I want to speed it up so I am trying to use pypy3 interpreter but while running it shows below…
0
votes
1 answer

Why is my segment tree unable to run in time?

I'm attempting the following problem, and after multiple submissions over many hours, I am still unable to get my solution to run in time The problem https://codeforces.com/problemset/problem/339/D My solution def getInts(): return [int(s) for s…