I have a notebook in python3.9 I get the ModuleNotFoundError trying to import wordcloud even after having it installed in my python3.9 site-packages.
Any reason why this is? Thanks
I have a notebook in python3.9 I get the ModuleNotFoundError trying to import wordcloud even after having it installed in my python3.9 site-packages.
Any reason why this is? Thanks
Are you sure that the package was installed successfully? Did you install it in a virtual environment? Do you see "Python 3.9" in the upper right corner of your notebook?
@pafk Yes I have python3.9 at the right hand side of my notebook. And no I didn't install it in a virtual environment as I didn't find any way of setting up my notebook to use a virtual engine.
So I installed the package in the .local folder.
![enter image description here][1] [1]: https://ibb.co/hL4pBns
How did you install it into .local -- was it by using pip3.9 install --user workcloud
? Just copying the files there would not work.
@giles I didn't copy files. I am sure is an install not a copy job.
After doing so you can see the package is installed in the .locales/lib/python3.9/site-packages
I think I figured it out. The python version was the problem. Works are switching kernel to python3.7
That's really weird -- do you think it might be a Python version compatibility for wordcloud? The install command you used was completely correct.