We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have installed via easy_install oh RHEL 5.4 and I am having an issue when I try to run cf:
Traceback (most recent call last): File "/usr/bin/cf", line 5, in ? pkg_resources.run_script('cf==0.40.1', 'cf') File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 407, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1090, in run_script script_code = compile(script_text,script_filename,'exec') File "/usr/lib/python2.4/site-packages/cf-0.40.1-py2.4.egg/EGG-INFO/scripts/cf", line 30 except ImportError as e: ^ SyntaxError: invalid syntax
Do you have any advice?
The text was updated successfully, but these errors were encountered:
Wow, I had no idea (yes, I'm that oblivious) that this issue existed.
The issue is that you're using Python 2.4, and the syntax of that bottom line:
except ImportError as e:
is not valid syntax in Python 2.4. cf requires Python 2.6/2.7, and is untested on Python 3.
cf is really old, and not maintained anymore. I highly recommend a newer, awesomer tool. See the cf readme for recommendations.
Sorry, something went wrong.
No branches or pull requests
I have installed via easy_install oh RHEL 5.4 and I am having an issue when I try to run cf:
Do you have any advice?
The text was updated successfully, but these errors were encountered: