Image Upload error 500 : internal server error

Revert to Python 3.9 You are currently using python 3.10 which is the issue. go with

  1. Install Python3.9
  2. Check if python exists using command python3.9 --version

Run Command

bench migrate-env python3.9