hse-aml / natural-language-processing

Resources for "Natural Language Processing" Coursera course.
https://www.coursera.org/learn/language-processing
1.18k stars 1.96k forks source link

Python version in docker image #69

Open saraswat40 opened 4 years ago

saraswat40 commented 4 years ago

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?

mrondin1 commented 2 years ago

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

saraswat40 commented 2 years ago

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