hi. I have setup a cron job, which is a wrapper script, which will in turn execute a number of python scripts.
the issue is, when I got to manually run the wrapper script, it says building and then states build failed, there is no output to the terminal, so I have no idea where to even start to resolve.
One possibility is that the Python version being used by Render is not compatible with the packages you’re attempting to install. If that’s the case, you can try updating the Python version by setting the environment variable PYTHON_VERSION to a version that you know works or matches your local environment.
hi, I started to trouble shoot by simply creating a hello world cron job, however this also failed to build, so I think its something basic in the setup. but without any output from the terminal.
I have now debugged as much as possible. I can get a basic hello world script to run, so this part of the setup is correct. However when the script requires python packages installing this is when the build fails. The 2) below works when I install packages with my web server, however it doesn’t as a cron job.
hi. I note above, I have already tried this. The upgrade pip point works fine with the web server app, but when trying it with a cron job, this is the error:
You are missing install from your pip command: pip install --upgrade pip && pip -r requirements.txt should be pip install --upgrade pip && pip install -r requirements.txt . To be fair, I’ve seen us reply with this before and customers have said it worked, but your last build (not run where you see your above error) had this output: