cclabsInc / RFCrack

A Software Defined Radio Attack Tool
Other
522 stars 113 forks source link

PROBLEM SyntaxError: invalid syntax #13

Closed sparta3355 closed 4 years ago

sparta3355 commented 4 years ago

root@kali:~/RFCrack# python RFCrack.py -j -F 433000000 Traceback (most recent call last): File "RFCrack.py", line 7, in import src.attacks as attacks File "/root/RFCrack/src/attacks.py", line 3, in import findDevices, jam, utilities File "/root/RFCrack/src/utilities.py", line 4, in import Clicker File "/root/RFCrack/src/Clicker.py", line 1, in import matplotlib.pyplot as plt File "/usr/local/lib/python2.7/dist-packages/matplotlib/init.py", line 126, in from . import cbook File "/usr/local/lib/python2.7/dist-packages/matplotlib/cbook/init.py", line 34, in import numpy as np File "/usr/lib/python2.7/dist-packages/numpy/init.py", line 142, in from . import core File "/usr/lib/python2.7/dist-packages/numpy/core/init.py", line 95, in from . import numeric File "/usr/lib/python2.7/dist-packages/numpy/core/numeric.py", line 3095, in from . import arrayprint File "/usr/lib/python2.7/dist-packages/numpy/core/arrayprint.py", line 90 if threshold is not sys.maxsize ^ SyntaxError: invalid syntax

cclabsInc commented 4 years ago

Those syntax errors appear to be coming from your 3rd party libraries...

pompel123 commented 4 years ago

Could it be the space in "init .py"?

cclabsInc commented 4 years ago

I don't think so or it would have broken it for everyone over the last 2 years, but try deleting the space and seeing if it works... I will check it when i get a chance but I am on travel and not doing RF research at the moment... Waiting on the python3 libraries associated with this project to re-code RFCrack to work with python3 when released. But those are in very slow development at the moment I believe they have been working on that since 2018.