OSError: [WinError 193]

While importing pandas, I am getting OS error-

OSError Traceback (most recent call last)
----> 1 import pandas

~\Untitled Folder 1\lib\site-packages\pandas_init_.py in
9 for dependency in hard_dependencies:
10 try:
—> 11 import(dependency)
12 except ImportError as e:
13 missing_dependencies.append(f"{dependency}: {e}")

~\AppData\Roaming\Python\Python38\site-packages\numpy_init_.py in
142 # Allow distributors to run custom init code
→ 143 from . import _distributor_init
145 from . import core

~\AppData\Roaming\Python\Python38\site-packages\numpy_distributor_init.py in
24 # NOTE: would it change behavior to load ALL
25 # DLLs at this path vs. the name restriction?
—> 26 WinDLL(os.path.abspath(filename))
27 DLL_filenames.append(filename)
28 if len(DLL_filenames) > 1:

~\Untitled Folder 1\lib\ctypes_init_.py in init(self, name, mode, handle, use_errno, use_last_error, winmode)
380 if handle is None:
→ 381 self._handle = _dlopen(self._name, mode)
382 else:
383 self._handle = handle

OSError: [WinError 193] %1 is not a valid Win32 application

**​Note-**I am already using windows-64 bit OS. Please help to rectify the error

Mostly these might help:

OSError: [WinError 193] %1 is not a valid Win32 application

Python Pandas - Missing required dependencies [‘numpy’] 1

Random question, but…

You’ve not got two installs of Python by any chance? Seems odd to me that some of your modules are loading from ~\Untitled Folder 1\lib\site-packages\ and others from ~\AppData\Roaming\Python\Python38\site-packages\.

If you have got two instances of Python and they’re mismatched architecture - one is 32-bit and the other 64-bit - this might explain your issue.