Can't update erpnext v.11.38

Hello, I haven’t had much with erp, but I downloaded version 11.38 some time ago, and now I need to update it, but I can’t. These are the steps I followed.

  1. Edit the file: apps> erpnext> .git> config.
    this line: fetch = +refs/heads/master:refs/remotes/upstream/master
    fetch = + refs / heads / * : refs / remotes / upstream / *
  2. Run the following command: bench switch-to-branch version-12 frappe erpnext --upgrade
    but it mentions some of the python update, I have 2.7 and it requires 3+, but it won’t let me update it either.
    and it won’t let me run the command: bench update --patch.

I don’t know what I did wrong, I need help.

Hi,

Can you say the operating environment you are running in? Lets see if we can get your python up to 3.

Hi!
I’m running it from an OVA in VirtualBox

Try: bench migrate-env python3 if there isn’t a python 3 installed on the ova then you will need to install, for example sudo apt install python3