shirosaidev / stocksight

Stock market analyzer and predictor using Elasticsearch, Twitter, News headlines and Python natural language processing and sentiment analysis
https://shirosaidev.github.io/stocksight/
Apache License 2.0
2.12k stars 463 forks source link

TypeError: can't concat str to bytes #3

Closed mxmxxt closed 5 years ago

mxmxxt commented 5 years ago

[INFO][stocksight] Writing twitter user ids to text file ./twitteruserids.txt Traceback (most recent call last): File "sentiment.py", line 761, in f.write(i + '\n') TypeError: can't concat str to bytes

How to fix this?

shirosaidev commented 5 years ago

are you using Python 3? Which version of Python?

mxmxxt commented 5 years ago

3.6.6

shirosaidev commented 5 years ago

this has been patched in latest release 0.1-b.4