Closed vmarkovtsev closed 6 years ago
Facing exactly the same problem here.
I'm using python:3.6.4
on MAC.
Hey @vmarkovtsev and @leemengtaiwan.
The problem is that the README you are looking at does not correspond to the pip version you installed. This file (and the rest of the code) has been changed in recent months, but the version you downloaded via pip has not been updated to reflect these changes. There have been 10 commits since version 0.1.8 which are public on the master branch but have not been published on pip.
The corresponding repository state of your version is: 8b020dd
You can see that there is no mention of better_exceptions_hook.pth
, the hook is automatically activated when you do import better_exceptions
.
If you want to install the version corresponding to the master branch you see here, you can use pip install git+https://github.com/Qix-/better-exceptions
.
@Qix- has been quite busy with his work lately, that is why updates has not been published to pip.
I released 0.2.1
that should have included this. Sorry for the delay here 🙏
Preemptively closing. Let me know if upgrading worked!
Thanks again to @Delgan for all of the hard work!
Here is what I do on Ubuntu with python 3.5:
So the hook does not work. The file which README mentions,
better_exceptions_hook.pth
, does not exist. I have manually copied it from GitHub to/usr/local/lib/python3.5/dist-packages/better_exceptions_hook.pth
and got this bizarre error: