The first argument to python should be the script name.
python
You probably need to swap xml and py file names:
xml
py
$ python WikiExtractor.py enwiki-latest-pages-articles.xml -b 500K -o extracted