epimodels / Zeke

Zeke: The Zombie Epidemic Modeling Platform
MIT License
11 stars 5 forks source link

cStringIO does not exist in Python 3 #14

Open tymrl opened 10 years ago

tymrl commented 10 years ago

cStringIO is a Python 2-specific module. The equivalent module in Python 3 is io.StringIO.

ImportError at / No module named 'cStringIO' Request Method: GET Request URL: http://localhost:8000/?model=haven Django Version: 1.6.5 Exception Type: ImportError Exception Value: No module named 'cStringIO' Exception Location: /Users/NewTim/git/Zeke/zeke/views.py in <module>, line 12 Python Executable: /Users/NewTim/py3/bin/python3

elofgren commented 10 years ago

@tyml Is io.StringIO cross-compatible between 2.x and 3?