error while using kernel to import packages

262 views
Skip to first unread message

vikhyat kumeria

unread,
Jun 1, 2019, 7:41:24 AM6/1/19
to spyder
import numpy as np
Traceback (most recent call last):

  File "<ipython-input-1-0aa0b027fcb6>", line 1, in <module>
    import numpy as np

  File "C:\Users\Vikhyat\AppData\Roaming\Python\Python37\site-packages\numpy\__init__.py", line 142, in <module>
    from . import core

  File "C:\Users\Vikhyat\AppData\Roaming\Python\Python37\site-packages\numpy\core\__init__.py", line 23, in <module>
    WinDLL(os.path.abspath(filename))

  File "C:\Users\Vikhyat\Anaconda3\lib\ctypes\__init__.py", line 356, in __init__
    self._handle = _dlopen(self._name, mode)

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

Savin Beniwal

unread,
Jun 1, 2019, 7:54:22 AM6/1/19
to spyder
Hi Vikhyat 

I think this link may help you to fix this problem. LINK

vikhyat kumeria

unread,
Jun 2, 2019, 12:29:29 PM6/2/19
to spyd...@googlegroups.com
Thanks a lot sir


--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To post to this group, send email to spyd...@googlegroups.com.
Visit this group at https://groups.google.com/group/spyderlib.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/80a7094c-fd82-4f84-a60e-c1d877e6a781%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages