m0r13 / mclogalyzer

Minecraft Server Log Analyzer
GNU General Public License v3.0
44 stars 21 forks source link

Import Fails CentOS #7

Closed seifer44 closed 10 years ago

seifer44 commented 10 years ago

I'm running CentOS 6.5. I installed pip via yum (python-pip.noarch 0:1.3.1-4.el6) and then followed your guide to running the script. When pointing it to my first server log, I get the following error:

Traceback (most recent call last): File "/usr/bin/mclogalyzer", line 3, in import mclogalyzer File "/usr/lib/python2.6/site-packages/mclogalyzer/init.py", line 1, in from mclogalyzer import main File "/usr/lib/python2.6/site-packages/mclogalyzer/mclogalyzer.py", line 20, in import argparse ImportError: No module named argparse

I'm assuming I'm missing some dependency here.

seifer44 commented 10 years ago

Just needed argparse from the looks of it.

sudo easy_install argparse