Reputation: 188
I am trying to implement tensorflows word2vec_basic.py model in my system.I went through this tutorial to understand and implement it.
After I ran the word2vec code using python3 in my system it asked me to install sklearn, matplotlib, and scipy to visualize embeddings.
So I installed sklearn, matplotlib, and scipy using pip in my system and ran the code a second time but it still asks me to install the above 3 again.
No errors were there during installation of sklearn, matplotlib, and scipy. I am using Ubuntu 16.04 LTS.
UPDATE: Here is the screenshot after removing try
and except
-
https://ibin.co/377XsooeSdej.png
Upvotes: 0
Views: 445
Reputation: 6500
As evident from the error message, you are missing the python3-tk
package. Try to install it using,
sudo apt-get install python3-tk
Upvotes: 1