cslarsen / wpm

Typeracer-like console app for measuring your WPM
GNU Affero General Public License v3.0
322 stars 48 forks source link

ImportError: No module named pkg_resources #48

Closed ShankarVibhuti closed 5 years ago

ShankarVibhuti commented 5 years ago

When I type wpm or python -m wpm I get this error:

Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/dist-packages/wpm/__main__.py", line 14, in <module> import wpm.commandline File "/usr/local/lib/python2.7/dist-packages/wpm/commandline.py", line 27, in <module> import wpm.quotes File "/usr/local/lib/python2.7/dist-packages/wpm/quotes.py", line 23, in <module> import pkg_resources ImportError: No module named pkg_resources

cslarsen commented 5 years ago

How did you install wpm?

Most likely I should add setuptols to the requirements.

See https://stackoverflow.com/questions/7446187/no-module-named-pkg-resources and let me know if installing setuptools fixes this problem.

cslarsen commented 5 years ago

I've added setuptoos to install_requires in setup.py