Closed kalimalrazif closed 8 years ago
What is your python version? you can find it with python -V
Make sure that whitespace was not modified in any way and that tabs are kept intact.
My python version.
python -V
Python 3.4.3
The code was just downloaded and then compiled, no modifications from me
My python version.
python -V
Python 3.4.3
The code was just downloaded and then compiled, no modifications from me
Can you try python 2.7?
On Sun, Aug 23, 2015, 23:27 Nomar O. Mora T. notifications@github.com wrote:
My python version.
python -V Python 3.4.3
The code was just downloaded and then compiled, no modifications from me
—
Reply to this email directly or view it on GitHub https://github.com/baruch/diskscan/issues/38#issuecomment-133923834.
Changing to python 2.7 on script make agagin and did not work :-( but I run the script from command line and work well, there are a central point were the python executable is set?
Searching found the script ata_parse.h.do call the others scripts via python change to python2 and works now the make stops on
do smartdb/smartdb_gen.c
do smartdb_gen_c.py exists.
do smartdb.xml exists.
File "smartdb_gen_c.py", line 77
print '#include "smartdb.h"'
^
SyntaxError: Missing parentheses in call to 'print'
Gonna search for phyton again and change it
It works, change python to python2 on .do files works.... thanks :-D
I keep this issue as a note that libscsicmd needs to be fixed to work with Python3 as well, I'll see what it takes to make it work in both python versions.
Thanks for helping working out the issue!
Commit 83b968b07580606b0b133ad7fda439a0cd134721 fixes python3 compatibility issues.
I'm trying to make and get this error
Using archlinux
Seems to be an python version issue but I cant get it how to correct the issue
Thanks in advance