error message during installation of running gunicorn-19.9.0 setup.py

Provider: local vmware host

System: Centos 7.6 ,x86_64 ,RAM 2G

Installation option:

OLS or Enterprise? OLS

Installing from official server or mirror server?
mirror server

Replace JS/CSS files to JS Delivr?
yes

Install Memcached extension for PHP?
yes

Install LiteSpeed Memcached?
yes

Install Memcached?
yes

Install Redis extension for PHP?
yes

Install Redis?
yes


Problem:

When I try to install cyberpanel, run the installation script as a single command :
sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

it show error message below:

'''
Searching for gunicorn
Reading https://pypi.python.org/simple/gunicorn/
Best match: gunicorn 19.9.0
Downloading https://files.pythonhosted.org/packages/47/52/68ba8e5e8ba251e54006a49441f7ccabca83b6bef5aedacb4890596c7911/gunicorn-19.9.0.tar.gz#sha256=fa2662097c66f920f53f70621c6c58ca4a3c4d3434205e608e121b5b3b71f4f3
Processing gunicorn-19.9.0.tar.gz
Writing /tmp/easy_install-8HKM03/gunicorn-19.9.0/setup.cfg
Running gunicorn-19.9.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8HKM03/gunicorn-19.9.0/egg-dist-tmp-sEz1SS
/usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
File "build/bdist.linux-x86_64/egg/gunicorn/workers/_gaiohttp.py", line 84
yield from self.wsgi.close()
^
SyntaxError: invalid syntax

File "/usr/lib/python2.7/site-packages/gunicorn-19.9.0-py2.7.egg/gunicorn/workers/_gaiohttp.py", line 84
yield from self.wsgi.close()
^
SyntaxError: invalid syntax

Adding gunicorn 19.9.0 to easy-install.pth file
Installing gunicorn script to /usr/bin
Installing gunicorn_paster script to /usr/bin

Installed /usr/lib/python2.7/site-packages/gunicorn-19.9.0-py2.7.egg
Processing dependencies for gunicorn
Finished processing dependencies for gunicorn
'''

Comments

Sign In or Register to comment.
Support CyberPanel CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion