I am on windows 10 with pip version 20.2.1 and I used pip install pandas and it says I have successfully installed pandas but when I try to import it it says it is an unresolved import and also gives me the error...
PS C:\WINDOWS\system32> & C:/Users/dannyz/AppData/Local/Programs/Python/Python38-32/python.exe "c:/Users/dannyz/Desktop/Python/Excel Automation.py"
Traceback (most recent call last):
File "c:/Users/dannyz/Desktop/Python/Excel Automation.py", line 1, in <module>
import pandas
File "c:\Users\dannyz\Desktop\Python\pandas\__init__.py", line 11, in <module>
__import__(dependency)
File "c:\Users\dannyz\Desktop\Python\numpy\__init__.py", line 138, in <module>
from . import _distributor_init
File "c:\Users\dannyz\Desktop\Python\numpy\_distributor_init.py", line 26, in <module>
WinDLL(os.path.abspath(filename))
File "C:\Users\dannyz\AppData\Local\Programs\Python\Python38-32\lib\ctypes\__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
This is my code..
import pandas as pd
print("hello")