F:>where python
C:\Program Files (x86)\Python37-32\python.exe
F:>PyInstallerFile.py
Traceback (most recent call last):
File
"F:\PyInstallerFile.py", line 13, in <module>
import pandas as pd
File "C:\ProgramData\Anaconda3\lib\site-packages\pandas\__init__.py", line 19, in <module>
"Missing required dependencies {0}".format(missing_dependencies))
ImportError: Missing required dependencies ['numpy']
I am trying to run my .py file from cmd, my python is installed in
C:\Program Files (x86)\Python37-32\
and same has been added to the environment path variables, then why does when I run PyInstallerFile.py file it is pointing to
C:\ProgramData\Anaconda3\lib\site-packages\pandas__init__.py
folder instead of on pointing to ProgramFiles folder.
What am I missing here, what should I do to change this default python location
I could see a similar issue here but it was for Linux environment I need to get this solved on Windows.