Home > database >  PyPy and Python version
PyPy and Python version

Time:11-09

I have installed latest version of PyPy using sudo apt install pypy pypy-dev on my Xubuntu. When I try python --version I see that I have Python 3.8.10 installed. When I try pypy --version I got

Python 2.7.13 (7.3.1 dfsg-2, Apr 21 2020, 05:05:41)
[PyPy 7.3.1 with GCC 9.3.0]

Thats a problem because my script is written in Python 3 and I want to use pandas library in this script. How can I upgrade PyPy to Python 3? Thanks a lot.

CodePudding user response:

It appears PyPy is not fully compatible with Python 3.8 just yet. Latest build is up to Python 3.7.9 with 3.8 support still in beta.

Also, there are different version it seems for different Python main versions, i.e PyPy for Python 2.x and PyPy3 for Python 3.x. Make sure you're either installing the combined package or the appropriate version PyPy3.8.

PyPy download page shows Python 3.8 as a standalone version of PyPy.

  • Related