Python-barcode error while installing with erpnext v14

Your virtual environment is broken. Primary evidence of that is the Frappe Framework commands are not showing and pip upgrade failed.

You can just setup a new one:

mv env env-old # for backup
python3.10 -m venv env
source env/bin/activate
pip install -e apps/frappe
bench setup requirements

See also:

1 Like