Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proselint --initialize throws errors #304

Closed
skylerberg opened this issue Mar 7, 2016 · 1 comment · Fixed by #328
Closed

proselint --initialize throws errors #304

skylerberg opened this issue Mar 7, 2016 · 1 comment · Fixed by #328

Comments

@skylerberg
Copy link

skyler@sib5:~/.proselint|→  proselint --initialize
Traceback (most recent call last):
  File "/usr/local/bin/proselint", line 11, in <module>
    sys.exit(proselint())
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/proselint/command_line.py", line 150, in proselint
    run_initialization()
  File "/usr/local/lib/python2.7/dist-packages/proselint/command_line.py", line 42, in run_initialization
    module = loader.find_module(module_name).load_module(module_name)
  File "/usr/lib/python2.7/pkgutil.py", line 246, in load_module
    mod = imp.load_module(fullname, self.file, self.filename, self.etc)
  File "/usr/local/lib/python2.7/dist-packages/proselint/checks/butterick/symbols.py", line 16, in <module>
    from tools import memoize, existence_check
ImportError: No module named tools
@mkcode
Copy link

mkcode commented Mar 7, 2016

This happens for me as well:

Python 2.7.10
pip 8.1.0 from /Library/Python/2.7/site-packages (python 2.7)
no virtualenv
just installed pip via `pip install proselint`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@mkcode @suchow @skylerberg and others