HewlettPackard / python-redfish-utility

Python-based utility for interacting with devices supporting a Redfish Service
Other
85 stars 41 forks source link

Cannot pyinstaller on Mac OS High Sierra #3

Closed davidsouza closed 6 years ago

davidsouza commented 6 years ago

Ran both:

sudo pip install pyinstaller

&&

pyinstaller rdmc-pyinstaller-mac.spec

Using the default Python install Python 2.7.10, also tried it with brew install of Python 3.6.4

Both Python versions get the same error below.

3993 INFO: Analyzing src/rdmc.py

Syntax error in src/rdmc.py File "/Users/dsouza/Development/python-redfish-utility/src/rdmc.py", line 73 except Exception, excp: ^ SyntaxError: invalid syntax

Yergidy commented 6 years ago

I am unable to replicate this error with the code from github. It looks like there is a python syntax error in rdmc.py. Have you modified the code in any way?

Also, This utility was written with Python 2.7, it is not Python 3 compatible.

Yergidy commented 6 years ago

Closing this issue. Please reopen if the issue isn't solved.