pypycompile command not found

In this troubleshooting guide we learn how to fix pypycompile command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

pypycompile: command not found

or when using sudo you get the following error message

sudo: pypycompile: command not found

Solutions to pypycompile: command not found

How To Fix pypycompile: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pypycompile is provided by pypy package.

pypy is:

PyPy is a fast, compliant alternative implementation of the Python language (2.7). It has several advantages and distinct features:

  • Speed: thanks to its Just-in-Time compiler (on x86), Python programs often run faster on PyPy.
  • Memory usage: large, memory-hungry Python programs might end up taking less space than they do in CPython.
  • Compatibility: PyPy is highly compatible with existing Python code. It supports ctypes and can run popular Python libraries like twisted and django.
  • Stackless: PyPy supports stackless mode on most platforms, providing micro-threads for massive concurrency.

This package contains the PyPy interpreter.

To fix this problem, we can install more using the command below.

sudo apt-get -y install pypy

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install pypy.

sudo apt -y install pypy

Or if you have aptitude installed you can use the following command.

sudo aptitude install pypy

Summary

In this tutorial we learn how to fix pypycompile command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.