You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried the other applicable steps from the Troubleshooting Guide
Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
Spyder is not launching in my laptop. Its giving traceback call. I have tried to update conda from anaconda prompt shell but its still not working.
What steps reproduce the problem?
I launch Anaconda navigator.
From there I launched spyder.
Thats where it caused problem.
What is the expected output? What do you see instead?
I see a traceback call
Paste Traceback/Error Below (if applicable)
Traceback (most recent call last):
File "C:\Users\Pranjal\anaconda3\Scripts\spyder-script.py", line 10, in
sys.exit(main())
File "C:\Users\Pranjal\anaconda3\lib\site-packages\spyder\app\start.py", line 201, in main
from spyder.app import mainwindow
File "C:\Users\Pranjal\anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 167, in
from spyder.utils.environ import WinUserEnvDialog
File "C:\Users\Pranjal\anaconda3\lib\site-packages\spyder\utils\environ.py", line 19, in
from spyder.plugins.variableexplorer.widgets.collectionseditor import (
File "C:\Users\Pranjal\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionseditor.py", line 57, in
from spyder.plugins.variableexplorer.widgets.collectionsdelegate import (
File "C:\Users\Pranjal\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\collectionsdelegate.py", line 31, in
from spyder.plugins.variableexplorer.widgets.objectexplorer.attribute_model \
File "C:\Users\Pranjal\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\objectexplorer\__init__.py", line 19, in
from .attribute_model import DEFAULT_ATTR_COLS, DEFAULT_ATTR_DETAILS
File "C:\Users\Pranjal\anaconda3\lib\site-packages\spyder\plugins\variableexplorer\widgets\objectexplorer\attribute_model.py", line 29, in
import numpy as np
File "C:\Users\Pranjal\AppData\Roaming\Python\Python37\site-packages\numpy\__init__.py", line 142, in
from . import core
File "C:\Users\Pranjal\AppData\Roaming\Python\Python37\site-packages\numpy\core\__init__.py", line 23, in
WinDLL(os.path.abspath(filename))
File "C:\Users\Pranjal\anaconda3\lib\ctypes\__init__.py", line 364, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
Versions
Spyder version: 4.0.1
Python version: 3.7.6
Qt version: 5.9.7
PyQt version: 5.9.2
Operating System name/version: Windows 10 Home
Dependencies
PASTE DEPENDENCIES HERE
The text was updated successfully, but these errors were encountered:
ccordoba12
changed the title
Spyder is not launching in my laptop.
OSError when importing Numpy in Object Explorer
Mar 26, 2020
Also, please do not use pip to install packages that can be installed by conda in the future. This error was caused because you installed Numpy with pip.
@steff456, please take a look at this one. The idea is very simple: please change the ImportError below by an Exception to catch any kind of error when importing Numpy at that point:
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
Spyder is not launching in my laptop. Its giving traceback call. I have tried to update conda from anaconda prompt shell but its still not working.
What steps reproduce the problem?
What is the expected output? What do you see instead?
I see a traceback call
Paste Traceback/Error Below (if applicable)
Versions
Dependencies
The text was updated successfully, but these errors were encountered: