How to install it?
ta-b0 opened this issue · 1 comments
ta-b0 commented
When I install it ('python setup.py install') on Windows10, Python3.8.3 and Command prompt(as Administrator), it has error.
Error message is as below.
Please help me how to use it.
$python setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
copying build\lib\analyzemft\bitparse.py -> C:\Program Files\Python38\Lib\site-packages\analyzemft
copying build\lib\analyzemft\mft.py -> C:\Program Files\Python38\Lib\site-packages\analyzemft
copying build\lib\analyzemft\mftsession.py -> C:\Program Files\Python38\Lib\site-packages\analyzemft
copying build\lib\analyzemft\mftutils.py -> C:\Program Files\Python38\Lib\site-packages\analyzemft
copying build\lib\analyzemft\__init__.py -> C:\Program Files\Python38\Lib\site-packages\analyzemft
byte-compiling C:\Program Files\Python38\Lib\site-packages\analyzemft\bitparse.py to bitparse.cpython-38.pyc
byte-compiling C:\Program Files\Python38\Lib\site-packages\analyzemft\mft.py to mft.cpython-38.pyc
File "C:\Program Files\Python38\Lib\site-packages\analyzemft\mft.py", line 45
print '-->Record number: %d\n\tMagic: %s Attribute offset: %d Flags: %s Size:%d' % (
^
SyntaxError: invalid syntax
byte-compiling C:\Program Files\Python38\Lib\site-packages\analyzemft\mftsession.py to mftsession.cpython-38.pyc
File "C:\Program Files\Python38\Lib\site-packages\analyzemft\mftsession.py", line 122
print "-f <filename> required."
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("-f <filename> required.")?
byte-compiling C:\Program Files\Python38\Lib\site-packages\analyzemft\mftutils.py to mftutils.cpython-38.pyc
File "C:\Program Files\Python38\Lib\site-packages\analyzemft\mftutils.py", line 52
print "%s%s%s" % (sep.join("%02x" % ord(c) for c in line),
^
SyntaxError: invalid syntax
byte-compiling C:\Program Files\Python38\Lib\site-packages\analyzemft\__init__.py to __init__.cpython-38.pyc
running install_scripts
copying build\scripts-3.8\analyzeMFT.py -> C:\Program Files\Python38\Scripts
running install_egg_info
Removing C:\Program Files\Python38\Lib\site-packages\analyzeMFT-2.0.19-py3.8.egg-info
Writing C:\Program Files\Python38\Lib\site-packages\analyzeMFT-2.0.19-py3.8.egg-info
ta-b0 commented
I'm sorry to write issue and I solve this problem.
Now I understand that this repo runs only Python2.
Thank you.