Skip to content
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

[Python 2.7] ImportError: cannot import name _strclass #4

Open
dpwiz opened this issue Apr 22, 2011 · 2 comments
Open

[Python 2.7] ImportError: cannot import name _strclass #4

dpwiz opened this issue Apr 22, 2011 · 2 comments

Comments

@dpwiz
Copy link

dpwiz commented Apr 22, 2011

module 'unittest' from '/usr/lib/python2.7/unittest/__init__.py'

There, i fixed it! (in django_any/test.py)

try:
    from unittest import _strclass
except ImportError:
    _strclass = str
@kmmbvnr
Copy link
Owner

kmmbvnr commented Apr 22, 2011

Thank you!

Will merge it soon

@vmihailenco
Copy link

Upvote!

coagulant referenced this issue in coagulant/django-whatever Oct 17, 2011
Also fixed #4 python 2.7 import issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants