For dot cloud you need to be using the web2py source code, not the Mac download.
You should be able to type "ls -al" in any terminal window. If not, you have big problems. That's ELL ESS space dash A ELL You can develop on the Mac download but you ar going to need to first deploy web2py from the source code and then deploy your app from the app directory in your Mac download version.