Author Topic: Nginxcp install error:SyntaxError: 'yield' not allowed in a 'try' block with ...  (Read 7413 times)

Savera

  • Full Member
  • ***
  • Posts: 159
Hi.

I am trying to install nginxcp and when I solved one problem, there is another problem .

Now It says following error :


/usr/local/src/publicnginx
Welcome to the Nginx Admin installer......Starting Install
Generating vhosts...
Traceback (most recent call last):
  File "/scripts/createvhosts.py", line 2, in ?
    import yaml
  File "/usr/lib/python2.4/site-packages/PyYAML-3.10-py2.4-linux-x86_64.egg/yaml/__init__.py", line 26
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause
Installing WHM interface...
deploying booster rockets
Traceback (most recent call last):
  File "/usr/local/src/publicnginx/nginxinstaller2", line 9, in ?
    import createvhosts
  File "/usr/local/src/publicnginx/createvhosts.py", line 2, in ?
    import yaml
  File "/usr/lib/python2.4/site-packages/PyYAML-3.10-py2.4-linux-x86_64.egg/yaml/__init__.py", line 26
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause


Why it is so hard to install ?
I have latest version of nginxcp which is v2.9

 

X

Do you know?

IfandBut.com helps you to keep yourself updated with latest internet business trends.
Join Now!