o19s/hello-ltr

Decode problems with json.loads

chrisoraruf opened this issue · 2 comments

I'm simply running "osc-blog.ipynb" inside "hello-ltr/notebooks/elasticsearch/osc-blog/" with jupyter notebook. I can run only the first cell, because in the second one, where is json.loads, comes

UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 1780: character maps to

I read that with python 3.9 encoding argument has been removed, so I don't know how to resolve the problem.

Hello,

What version of Python are you currently on? I get lots of other problems with the project dependencies when I try to use 3.9.6 so we may just be incompatible with that version for the time being until the dependencies are updated. So far I haven't been able to replicate the specific error you ran into.

Regarding the docker issues you mentioned in relevance slack: If you edit the docker compose file to remove the solr service and edit your Docker for Desktop settings to allocate more RAM you may have more luck with that route.

Hello,

I've created a virtual environment to run the program, and I also have some problems with the dependecies; anyway, in this environment I'm using python 3.9, I think 3.9.1.

Regarding docker, I'll try this way. I hope that I'll not need to use docker in my project.
Thanks