Pipfile «WORKING | Tricks»

Lakka is a lightweight Linux distribution that transforms a small computer into a full blown retrogaming console.

Get Lakka

Pipfile «WORKING | Tricks»

package = "*"                 # Latest version
package = "==1.2.3"          # Exact version
package = ">=1.0,<2.0"       # Version range
package = "~=1.2.3"          # Compatible release (>=1.2.3, <1.3.0)
package = git = "https://github.com/user/repo.git"
package = editable = true, path = "./local-lib"

To install the dependencies declared in your Pipfile, run:

pipfile install

This will install all dependencies specified in your Pipfile.

Here's a basic example of how to use Pipfile: Pipfile

pipenv install requests

This updates [packages] in Pipfile and locks exact versions + hashes.

Navigate to your project folder and install a package. Pipenv creates the virtual environment, the Pipfile, and the Pipfile.lock automatically. package = "*" # Latest version package =

mkdir my_awesome_project
cd my_awesome_project
pipenv install requests

Notice the output: Creating a virtualenv for this project... and Adding requests to Pipfile's [packages]...

If you clone a project that has a Pipfile, you simply run: To install the dependencies declared in your Pipfile

pipenv install

This reads the Pipfile, checks the Pipfile.lock (if it exists), and installs the exact versions. If no lock file exists, it generates one.

To install only production packages (e.g., for a Docker image):

pipenv install --system --deploy

| File | Purpose | Human-editable? | | :--- | :--- | :--- | | Pipfile | High-level, logical dependencies | Yes | | Pipfile.lock | Exact versions + hashes + dependency tree | No (machine-generated) |

Raspberry Pi 3

Lakka on Raspberry Pi

Lakka is the easiest way to setup emulators on a Raspberry Pi.

The Raspberry Pi is a very affordable single board computer. It is powerful enough to emulate most retro consoles such as the Nintendo NES, the SEGA Genesis, the Sony PlayStation, or Arcade Games.

Beginners can buy a Raspberry Pi with a pre-flashed NOOBS SD card online and setup Lakka using NOOBS.

There are many cases available, and with Lakka you can customize your setup to build your own video game console.

Lakka is the official Linux distribution of RetroArch and the libretro ecosystem.

Each game system is implemented as a libretro core, while the frontend RetroArch takes care of inputs and display. This clear separation ensures modularity and centralized configuration.

libretro ecosystem