-
Notifications
You must be signed in to change notification settings - Fork 136
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 3.4 chardet ImportError: No module named 'universaldetector' #49
Comments
I think this was an error on my part. Apologies. See: #50 |
Actually, what appears to have happened is that by I opened an issue here: okfn/messytables#114 As a workaround I setup another virtualvenv for python2.7 to test out the functionality of inspectcsv.py to build the models. And had to replace two lines in importcsv.py when using the python3.4 version, since the rows were not being split? Traceback:
rows replaced like so since i was using tab delimited:
headlist:
chardet:
|
OK this is now fixed with messytables. Only other issue I found was libmagic can need a brew install for it to work on a mac. |
Thanks for the awesome django app.
I may be missing something here:
However:
I had to download
chardet
from: https://pypi.python.org/pypi/chardet2/2.0.3Which is written to support python3?
It seems to run without issue after I extracted the files and moved them into the chardet directory in my virtualenv.
It also seems to work if I
pip3 uninstall chardet
and insteadpip3 install chardet2
Thoughts? Am I doing it wrong? Or did something change?
Again, Thanks.
notes:
I had to do some digging and found that
chardet
had some syntax issues in python3.Such as:
And then ran into this excellent article: http://docs.activestate.com/activepython/3.2/diveintopython3/html/case-study-porting-chardet-to-python-3.html
Which basically outlines everything I was having a problem with in regards to
chardet
The text was updated successfully, but these errors were encountered: