You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from past.translation import install_hooks, remove_hooks
install_hooks(['appy'])
from appy.pod.renderer import Renderer as OriginalAppyRenderer
remove_hooks()
And I has the following error:
File "/home/khchine5/PycharmProjects/lino_fork/lino/modlib/appypod/appy_renderer.py", line 27, in <module>
from appy.pod.renderer import Renderer as OriginalAppyRenderer
File "/home/khchine5/.virtualenvs/py3/lib/python3.4/site-packages/past/translation/__init__.py", line 413, in load_module
exec(code, mod.__dict__)
File "/home/khchine5/.virtualenvs/py3/lib/python3.4/site-packages/appy/pod/renderer.py", line 26, in <module>
from appy.shared.zip import unzip, zip
ImportError: No module named 'UserDict'
By looking at past code, I think that it does not consider UserDict change between Python2 and Python3.
Thanks.
The text was updated successfully, but these errors were encountered:
khchine5
changed the title
ImportError when using past.translate feature on from UserDict import UserDict
ImportError when using past.translate feature for UserDict import
Feb 19, 2016
Hi,
My code :
And I has the following error:
By looking at past code, I think that it does not consider UserDict change between Python2 and Python3.
Thanks.
The text was updated successfully, but these errors were encountered: