-
Notifications
You must be signed in to change notification settings - Fork 15
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
Can't use from pip
install
#52
Comments
I think that the problem is related to what's discussed in this PR: #35 |
I also think #50 would fix it. I work around this in futurecoder with this: import pygments # can be any other pip installed module
site_packages = strip_required_suffix(pygments.__file__, "pygments/__init__.py")
sys.path.append(site_packages + "didyoumean/")
import didyoumean |
Thanks for the report ! I must confess that I am still haven't understood everything about making things pip usable... |
Thanks @alexmojaki , I didn't know you could do that. |
Hi,
very cool package! I'm trying to integrate it with pyinspect to complement
pyinspect
's fancy tracebacks with your helpful messages, but I can't getdidyoumean
to work.I've tried both with
pip install BetterErrorMessages
and by installing from the master branch on github, but it's the same.I think that's in an issue about how modules are imported within the package, e.g.
results in:
and
results in:
and so on..
The text was updated successfully, but these errors were encountered: