calebmadrigal / trackerjacker

Like nmap for mapping wifi networks you're not connected to, plus device tracking
MIT License
2.63k stars 188 forks source link

Traceback error after install on Elementary OS (ubuntu) #10

Closed skippa closed 6 years ago

skippa commented 6 years ago

Getting this error after installing

When I run trackerjacker -h I get this

Traceback (most recent call last): File "/usr/local/bin/trackerjacker", line 9, in <module> load_entry_point('trackerjacker==1.8.7', 'console_scripts', 'trackerjacker')() File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 542, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2569, in load_entry_point return ep.load() File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2229, in load return self.resolve() File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2235, in resolve module = __import__(self.module_name, fromlist=['__name__'], level=0) File "/usr/local/lib/python2.7/dist-packages/trackerjacker/__main__.py", line 269 print('Vendor for {} not found'.format(args.mac_lookup), file=sys.stderr) ^ SyntaxError: invalid syntax

pand0rausa commented 6 years ago

I believe this is a result of not having scapy installed.

sudo apt-get install python-scapy Then re-run "sudo pip3 install trackerjacker"

calebmadrigal commented 6 years ago

@skippa I see in the traceback that it is being run as python2. As @pand0rausa suggested, make sure to use python3.