wubi icon indicating copy to clipboard operation
wubi copied to clipboard

No module named _compat

Open stephantul opened this issue 7 years ago • 2 comments

The _compat module is not found after installing through pip (If it matters, I use python 3.6).

I made a fork and fixed some bugs. I did remove python 2 support though, as dealing with all that unicode stuff was a pain. Let me know if this is an issue.

stephantul avatar Oct 18 '18 09:10 stephantul

ModuleNotFoundError: No module named '_compat' (If it matters, I use python 3.6).

cuiyinglu2008 avatar Jul 27 '19 22:07 cuiyinglu2008

If you clone this repo, it works:

git clone https://github.com/arcsecw/wubi.git
cd wubi
python -c "import wubi; print(wubi.get('WenChaoWang爱自由','cw'))"

This prints out WenChaoWang ep thd mh. Tested on Python 3.5 and 3.9.

_compat.py must not have packaged when published to PyPI so pip install doesn't work, but the above should help.

fasiha avatar May 30 '21 04:05 fasiha