'pip is saving packages in the wrong directory

I successfully installed packages using pip install; however when running code I get the error that the installed module cannot be found. I understand that this is potentially due to wrong paths/directories but I couldn't find an answer yet how to solve it. Any ideas?

C:\Users\AppData\Local\Continuum\anaconda3>where conda
C:\ProgramData\miniconda\Scripts\conda.exe
C:\Users\AppData\Local\Continuum\anaconda3\Library\bin\conda.bat
C:\Users\AppData\Local\Continuum\anaconda3\Scripts\conda.exe

C:\Users\AppData\Local\Continuum\anaconda3>where pip
C:\ProgramData\miniconda\Scripts\pip.exe
C:\Users\AppData\Local\Continuum\anaconda3\Scripts\pip.exe


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source