hse-aml / natural-language-processing

Resources for "Natural Language Processing" Coursera course.

Home Page:https://www.coursera.org/learn/language-processing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python version in docker image

saraswat40 opened this issue · comments

I retrieved the docker image like so:
# docker pull akashin/coursera-aml-nlp

#python3 --version
shows that this has python 3.5 installed

Unfortuantely python 3.5 has this bug. Because of this test_my_bag_of_words() fails as the dict order is not maintained. This works correctly in colab as the colab python version is 3.6.

I tried upgrading python 3.5 on the docker image to python 3.7 using this post. The upgrade seems to work. I also upgrade the jupyter notebook. But then the notebook doesn't work properly.

Is it possible to provide a docker image with an upgraded python version?

Hey @saraswat40 - did you ever figure something out here?

no, I hated this course, so I abandoned it :)