Open AdiechaHK opened 3 years ago
Sorry, I used Python3.6.8, I also get map error in my project, maybe this package doesn't support Py3 very well ?
This is an issue related to Python3. It seems to stem from some differences in how map()
behaves in Python3, for example, I was able to make some progress getting the code working by replacing map(ord, buf)
with [i for i in buf]
... though it does look like the version here in GitHub uses list(map(ord, buf))
In any event, I gave up trying to get a patch working and ended up using this instead: https://github.com/alexferl/xid
This is fixed in 1.0.5 here on GitHub, but the version in pypi (1.0.4) still has the issue.
please publish 1.0.5 on pypi
I've simply install xid using command
pip install xid
then created a simple file to check if it's working fine or not. first.pyand then run it as below, but could not run and getting the exception as below.
If any one can check and help me to fix this issue would be great. tx.