[Tutor] Error from importing numpy and pandas

gameli godfred gamezgodfred at gmail.com
Thu Jul 23 10:43:36 EDT 2020


*Hello, I get this error when ever I try to import numpy and pandas.
Please can I get assistance ob how to resolve this? I have tried
different methods but to no avail. *

*Thank you.*



OSError                                   Traceback (most recent call
last)<ipython-input-8-59ab05e21164> in <module>----> 1 import numpy as
np      2 import pandas as pd
~\AppData\Roaming\Python\Python37\site-packages\numpy\__init__.py in
<module>    138     139     # Allow distributors to run custom init
code--> 140     from . import _distributor_init    141     142
from . import core
~\AppData\Roaming\Python\Python37\site-packages\numpy\_distributor_init.py
in <module>     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:
~\anaconda3\lib\ctypes\__init__.py in __init__(self, name, mode,
handle, use_errno, use_last_error)    362     363         if handle is
None:--> 364             self._handle = _dlopen(self._name, mode)
365         else:    366             self._handle = handle
OSError: [WinError 193] %1 is not a valid Win32 application













<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


More information about the Tutor mailing list