-
Notifications
You must be signed in to change notification settings - Fork 603
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
AttributeError: 'module' object has no attribute 'python_2_unicode_compatible' #747
Comments
I can't reproduce on Python 2. Please provide a sample file. |
Ah, agate only requires an old version of |
Upgrading
Any suggestions? OS X 10.10.5. |
Hmm, I don't know if it makes any difference, but I'm on OS X 10.12.3 and I always run Python in a virtualenv. |
Having the same issue on 10.10.5 with six at 1.10.0 $ csvsql |
@senrabc Run |
$ pip show csvkit |
Hmm. What's |
$ python --version |
What's your OS? The only possibility is that Python (when running a csvkit command) is pickup up another version of six installed somewhere else on your system. Are you running this inside a virtual environment? That should also fix it. |
OSX 10.10.5 |
I recommend trying from within a virtual environment (using virtualenv or pyenv) to see if that resolves the issue. |
For anyone else who runs into this error on macOS, note that the system installed Python interpreter comes with an old version of six:
You can upgrade Python using Homebrew, override the default search path, or live on the edge and delete these files. I upgraded Python via Homebew. More info here. |
$ head my-valid-data.csv | csvlook
output
The text was updated successfully, but these errors were encountered: