fir0zsid / wifite

Automatically exported from code.google.com/p/wifite
GNU General Public License v2.0
0 stars 0 forks source link

Syntax Error - wifite doesn't work #77

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Running wifite on my notebook I get only this output:
[vasek@Vasek ~]$ sudo ./wifite.py
  File "./wifite.py", line 35
    print '[!] unable to import pexpect'
                                       ^
SyntaxError: invalid syntax
[vasek@Vasek ~]$

My OS is ArchBang on Linux 3.2.5-1, wifite is the latest version from your 
download site.

Original issue reported on code.google.com by l3d...@gmail.com on 19 Feb 2012 at 7:30

GoogleCodeExporter commented 8 years ago
What version of python are you running?

You can find out by typing "python -V"

Wifite is written to work with Python 2.7.x, but is compatible with 2.4.x and 
2.6.x.

Based on the error, I'm guessing that you're running Python 3.x

If you have python 2.x installed, you can type:

python2 wifite.py

or 

python2.7 wifite.py

or 

python2.4 wifite.py

To force executing wifite with a compatible version of Python.

Type "python<TAB><TAB>" at the terminal to see the list of python versions 
installed.

Original comment by der...@gmail.com on 22 Feb 2012 at 6:41

GoogleCodeExporter commented 8 years ago
Hi, I have the same problem, i ran python2.7 wifite.py and python2 wifite.py. 
with both i get the same error
the term opens, but prints the error again
--------------------------------------------
File "wifite.py", line 35
  print '[!] unable to import pexpect'
                                     ^

SyntaxError:  invalid syntax
------------------------------------------------
when i run phyton<TAB><TAB> i get this

python              python2-config      python3.2mu
python2             python3             python3.2mu-config
python2.7           python3.2           python3-config
python2.7-config    python3.2-config    python-config

I'm in arch too

Original comment by ezoj.d.g...@gmail.com on 17 Mar 2012 at 6:40