Error starting dev stack on Mac OS

Following the readme in https://github.com/edx/devstack,

After executing the command “make dev.provision”, I hit the error:

Starting edx.devstack.studio … done
++ docker-compose exec -T lms bash -c ‘source /edx/app/edxapp/edxapp_env && cd /edx/app/edxapp/edx-platform && NO_PYTHON_UNINSTALL=1 paver install_prereqs’
Build failed: Unknown task: install_prereqs
make: *** [dev.provision] Error 1

May I know if it’s something wrong with paver task? Thank you.

@victorleungtw, the install_prereqs sub-command is built into paver and should run without any issues. When following the steps in the edx/devstack repository, did you notice any errors in any of the steps before? Also, did you follow all the steps specific to macOS documented in the README file of this repository?

To investigate your issue further, it will be helpful if you can provide more details about the Open edX release that you are trying to run in the devstack - is it the master branch or is it a named release like Juniper, Ironwood etc. and if there are any quirks in your setup?

I had the same problem. I solved it by making sure python3 was the version available in the environment variables.