I ran this:
pip3 install gunicorn
Then I tried to run gunicorn, but I was told there was no such command. If I do this:
ls -al /usr/local/lib/python3.7/site-packages/gunicorn/
I see this:
.
..
app
arbiter.py
argparse_compat.py
_compat.py
config.py
debug.py
errors.py
glogging.py
http
__init__.py
instrument
pidfile.py
__pycache__
reloader.py
selectors.py
six.py
sock.py
systemd.py
util.py
workers
I was thinking I could create a symbolic link and store it here:
/usr/local/bin/
But what would I link? It seems as if there is no actual gunicorn command?
If I look here:
https://github.com/benoitc/gunicorn
There is no file called "gunicorn". Likewise if I look here:
https://github.com/benoitc/gunicorn/gunicorn
As near as I can see, there is no file called "gunicorn". So how are we suppose to call this from the command line?
If you have apt (or apt-get):
$ sudo apt install gunicorn3
$ sudo ln -s /usr/bin/gunicorn3 /usr/bin/gunicorn
You may want to remove the old gunicorn package first:
$ sudo apt remove gunicorn
Check where gunicorn3 has been installed (just in case):
$ whereis gunicorn3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With