Compile Less in Production?

Welcome to ERPNext -

To run ‘bench’ with no arguments you should see this response:

frappe@ubuntu:~/frappe-bench$ bench
Usage: bench [OPTIONS] COMMAND [ARGS]…

Bench manager for Frappe

Options:
–version
–help Show this message and exit.

Commands:
backup backup site
backup-all-sites backup all sites
[snip]

Instead you get the DistributionNotFound GitPython error so best to resolve that missing package problem.

What do you get for this:

frappe@ubuntu:~/frappe-bench$ pip show gitpython
Name: GitPython
Version: 0.3.2.1
Summary: Python Git Library

A search turned up this that may help you with pointers Error updating to V7 (Solved) - #3 by gvargas

Please include what install instructions you followed and what OS you are running…

You have posted the same error here Run bench in Production - #4 by sagar