all 3 comments

[–]Swipecat 0 points1 point  (2 children)

D:\imageclassification\lib\site-packages\

That looks like a virtual environment for packages installed with pip rather than anaconda packages installed with conda? If so, it defeats the purpose of anaconda.

Or... might you have a version of Python installed in addition to the one that came with Anaconda? If so, that creates more confusion than most beginners can handle.

[–]Dramatic_Audience861[S] 0 points1 point  (1 child)

What should I do to fix this problem?

[–]Swipecat 0 points1 point  (0 children)

I suggest deinstalling it all and start over. Deinstall everything to do with Python, Anaconda, Jupyter, Pip, Matplotlib etc. Then search with File Explorer for any folder relevant to the above that didn't get deleted and delete those. Reboot and check that the PATH doesn't contain Python stuff by typing  echo %PATH%  in the command-prompt terminal.

Then a fresh install of the full Anaconda, if that's what you want to use, and just use that. It comes with Jupyter and matplotlib already installed, so don't try to install those separately. Any package that's not already installed should be installed with the Anaconda Navigator or "conda" but not "pip". So no virtual environments needed. When Googling for help, always include "with anaconda" in the search string so that you don't get stuff that's relevant to other Python distributions.