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

Patch fix for the "ImportError: no module named collections" issue. #13

Merged
merged 1 commit into from Jan 20, 2018

Conversation

JediRhymeTrix
Copy link
Contributor

@JediRhymeTrix JediRhymeTrix commented Jan 19, 2018

All it took was some replace() :)

fixes #11

@kevincobain2000 kevincobain2000 merged commit 107e9f5 into kevincobain2000:master Jan 20, 2018
@medasuryatej
Copy link

Hello

thanks for the instant reply. But though I pulled the latest code commits, there was an issue: [TypeError: a bytes-like object is required, not 'str'] while replacing the \r in the pickle file. so I had to do use b'\r' to fix the issue.

image

@JediRhymeTrix
Copy link
Contributor Author

Oh, yeah. You're right! I'm not sure why this was working earlier (i.e. 4 years ago :P). I suspect something about this behavior has changed in one of the later Python versions.

Anyhow, I've raised #18 to address this. Thanks a lot for your input!

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

Successfully merging this pull request may close these issues.

Getting No module named Collections error in senti_classifier line 229
3 participants