How can I install Gunicorn for python 2.7.18

I am trying to run a python app which need gunicron I tried adding package gunicorn 19.0.0 and build successful. Then I did “state install gunicorn” which gives error

Something Went Wrong
x Could not install dependencies
x Build error: &{Artifacts: BuildEngine:0xc0006ce740 BuildRequestID:42794eba-f368-4b67-8c1b-f4aab45bbd82 Errors:[Build failures: gunicorn Test failures: gunicorn] IsRetryable:false LogURI: Message:One or more packages failed to build RecipeID:c5de36b8-3a6c-53e5-b30d-b030b9b8cf2c Timestamp:2022-10-03T05:55:08.000Z Type:0xc0006ce7a0}

and I check the log and it shows like this

To increase the verbosity of these log files use the ACTIVESTATE_CLI_BUILD_VERBOSE=true environment variable
Solving recipe
Recipe solved

How can I solve this and install succfuly gunicorn

my python command from terminal to run gunicorn is like this

python2 gunicorn --config wsgi:app

and it gives me an error

/home/adssys/.cache/activestate/e87cd0cd/bin/python: can’t open file ‘gunicorn’: [Errno 2] No such file or directory

Please help
thank you


Welcome to the ActiveState Platform! A couple of things to think about:

  • Your project includes a Windows build, but I’ll assume you’re not using a Windows machine however, since Gunicorn is Unix only…
  • Try running “state pull” to refresh your local environment. This will download any new packages you added to your project, and should re-download Gunicorn.

Let me know if it successfully installs, or else provide the error message along with your operating system and version.