-
Notifications
You must be signed in to change notification settings - Fork 286
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
ImportError: cannot import name intern #61
Comments
What is that latest version? |
|
|
hi, Jie! Have you solved this problem? I meet the same trouble too! |
On MacOSX there is a six 1.4 laying around ... I deleted it manually. |
This error is raised by try:
import intern, ....
except:
import ... |
Fix: # from six.moves import range, zip, intern, input
try:
from six.moves import range, zip, intern, input
except ImportError:
from six.moves import range, zip, input |
That's what I changed in my fork. Hope it gets committed to original
|
Just upgraded
six
to latest version.make tests
fails withImportError: cannot import name intern
. This happened on both python3 and python2.7, building from source and also attempting to use the tarball. Using Ubuntu 14.02.The text was updated successfully, but these errors were encountered: