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
I'm starting Spyder from the console with the following params:
spyder --show-console
(Deprecated) --show console does nothing, now the default behavior is to show the console, use --hide-console if you want to hide it
Traceback
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "C:\Users\gs1\anaconda3\Scripts\spyder-script.py", line 10, in <module>
sys.exit(main())
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\app\start.py", line 286, in main
mainwindow.main(options, args)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\app\mainwindow.py", line 1425, in main
mainwindow = create_window(MainWindow, app, splash, options, args)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\app\utils.py", line 412, in create_window
app.exec_()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\utils\kernel_handler.py", line 279, in check_spyder_kernel_infoself.handle_comm_ready()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\utils\kernel_handler.py", line 294, in handle_comm_readyself.sig_kernel_is_ready.emit()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\shell.py", line 322, in handle_kernel_is_readyself._show_banner()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\shell.py", line 1201, in _show_banner
banner =self.long_banner()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\shell.py", line 785, in long_banner
env_info =self.get_pythonenv_info()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\shell.py", line 1079, in get_pythonenv_info
).get_pythonenv_info()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder_kernels\comms\commbase.py", line 611, in __call__returnself._comms_wrapper._get_call_return_value(
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\comms\kernelcomm.py", line 171, in _get_call_return_valuereturnsuper(KernelComm, self)._get_call_return_value(
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder_kernels\comms\commbase.py", line 464, in _get_call_return_valueself._wait_reply(comm_id, call_id, call_name, timeout)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\comms\kernelcomm.py", line 195, in _wait_replyself._wait(got_reply, self._sig_got_reply, timeout_msg, timeout)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\comms\kernelcomm.py", line 233, in _wait
wait_loop.exec_()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\widgets\collectionseditor.py", line 473, in data
display = value_to_display(value, minmax=self.minmax)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder_kernels\utils\nsview.py", line 364, in value_to_displayelifisinstance(value, pd.DataFrame):
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder_kernels\utils\lazymodules.py", line 50, in __getattr__if is_module_installed(self.__spy_modname__):
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder_kernels\utils\misc.py", line 22, in is_module_installed
mod =__import__(module_name)
File "C:\Users\gs1\anaconda3\Lib\site-packages\pandas\__init__.py", line 26, in <module>from pandas.compat import (
File "C:\Users\gs1\anaconda3\Lib\site-packages\pandas\compat\__init__.py", line 27, in <module>from pandas.compat.pyarrow import (
File "C:\Users\gs1\anaconda3\Lib\site-packages\pandas\compat\pyarrow.py", line 8, in <module>import pyarrow as pa
File "C:\Users\gs1\anaconda3\Lib\site-packages\pyarrow\__init__.py", line 65, in <module>import pyarrow.lib as _lib
Traceback (most recent call last):
File "C:\Users\gs1\anaconda3\Lib\site-packages\numpy\core\_multiarray_umath.py", line 44, in __getattr__raiseImportError(msg)
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "C:\Users\gs1\anaconda3\Scripts\spyder-script.py", line 10, in <module>
sys.exit(main())
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\app\start.py", line 286, in main
mainwindow.main(options, args)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\app\mainwindow.py", line 1425, in main
mainwindow = create_window(MainWindow, app, splash, options, args)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\app\utils.py", line 412, in create_window
app.exec_()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\utils\kernel_handler.py", line 279, in check_spyder_kernel_infoself.handle_comm_ready()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\utils\kernel_handler.py", line 294, in handle_comm_readyself.sig_kernel_is_ready.emit()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\shell.py", line 322, in handle_kernel_is_readyself._show_banner()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\shell.py", line 1201, in _show_banner
banner =self.long_banner()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\shell.py", line 785, in long_banner
env_info =self.get_pythonenv_info()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\shell.py", line 1079, in get_pythonenv_info
).get_pythonenv_info()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder_kernels\comms\commbase.py", line 611, in __call__returnself._comms_wrapper._get_call_return_value(
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\comms\kernelcomm.py", line 171, in _get_call_return_valuereturnsuper(KernelComm, self)._get_call_return_value(
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder_kernels\comms\commbase.py", line 464, in _get_call_return_valueself._wait_reply(comm_id, call_id, call_name, timeout)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\comms\kernelcomm.py", line 195, in _wait_replyself._wait(got_reply, self._sig_got_reply, timeout_msg, timeout)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\ipythonconsole\comms\kernelcomm.py", line 233, in _wait
wait_loop.exec_()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\widgets\collectionseditor.py", line 473, in data
display = value_to_display(value, minmax=self.minmax)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder_kernels\utils\nsview.py", line 364, in value_to_displayelifisinstance(value, pd.DataFrame):
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder_kernels\utils\lazymodules.py", line 50, in __getattr__if is_module_installed(self.__spy_modname__):
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder_kernels\utils\misc.py", line 22, in is_module_installed
mod =__import__(module_name)
File "C:\Users\gs1\anaconda3\Lib\site-packages\pandas\__init__.py", line 49, in <module>from pandas.core.api import (
File "C:\Users\gs1\anaconda3\Lib\site-packages\pandas\core\api.py", line 1, in <module>from pandas._libs import (
File "C:\Users\gs1\anaconda3\Lib\site-packages\pandas\_libs\__init__.py", line 17, in <module>import pandas._libs.pandas_datetime # noqa: F401 # isort: skip # type: ignore[reportUnusedImport]
Traceback (most recent call last):
File "C:\Users\gs1\anaconda3\Lib\site-packages\numpy\core\_multiarray_umath.py", line 44, in __getattr__raiseImportError(msg)
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\application\container.py", line 234, in _compute_dependencies
dependencies.declare_dependencies()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\dependencies.py", line 485, in declare_dependencies
add(dep['modname'], dep['package_name'],
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\dependencies.py", line 416, in addDEPENDENCIES+= [Dependency(modname, package_name, features,
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\dependencies.py", line 355, in __init__self.installed_version = programs.get_module_version(modname)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\utils\programs.py", line 1004, in get_module_version
mod =__import__(module_name)
File "C:\Users\gs1\anaconda3\Lib\site-packages\matplotlib\__init__.py", line 159, in <module>from . import _api, _version, cbook, _docstring, rcsetup
File "C:\Users\gs1\anaconda3\Lib\site-packages\matplotlib\rcsetup.py", line 28, in <module>from matplotlib.colors import Colormap, is_color_like
File "C:\Users\gs1\anaconda3\Lib\site-packages\matplotlib\colors.py", line 57, in <module>from matplotlib import _api, _cm, cbook, scale
File "C:\Users\gs1\anaconda3\Lib\site-packages\matplotlib\scale.py", line 22, in <module>from matplotlib.ticker import (
File "C:\Users\gs1\anaconda3\Lib\site-packages\matplotlib\ticker.py", line 144, in <module>from matplotlib import transforms as mtransforms
File "C:\Users\gs1\anaconda3\Lib\site-packages\matplotlib\transforms.py", line 49, in <module>from matplotlib._path import (
Traceback (most recent call last):
File "C:\Users\gs1\anaconda3\Lib\site-packages\numpy\core\_multiarray_umath.py", line 44, in __getattr__raiseImportError(msg)
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\application\container.py", line 234, in _compute_dependencies
dependencies.declare_dependencies()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\dependencies.py", line 485, in declare_dependencies
add(dep['modname'], dep['package_name'],
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\dependencies.py", line 416, in addDEPENDENCIES+= [Dependency(modname, package_name, features,
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\dependencies.py", line 355, in __init__self.installed_version = programs.get_module_version(modname)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\utils\programs.py", line 1004, in get_module_version
mod =__import__(module_name)
File "C:\Users\gs1\anaconda3\Lib\site-packages\pandas\__init__.py", line 49, in <module>from pandas.core.api import (
File "C:\Users\gs1\anaconda3\Lib\site-packages\pandas\core\api.py", line 1, in <module>from pandas._libs import (
File "C:\Users\gs1\anaconda3\Lib\site-packages\pandas\_libs\__init__.py", line 17, in <module>import pandas._libs.pandas_datetime # noqa: F401 # isort: skip # type: ignore[reportUnusedImport]
Traceback (most recent call last):
File "C:\Users\gs1\anaconda3\Lib\site-packages\numpy\core\_multiarray_umath.py", line 44, in __getattr__raiseImportError(msg)
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "C:\Users\gs1\anaconda3\Scripts\spyder-script.py", line 10, in <module>
sys.exit(main())
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\app\start.py", line 286, in main
mainwindow.main(options, args)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\app\mainwindow.py", line 1425, in main
mainwindow = create_window(MainWindow, app, splash, options, args)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\app\utils.py", line 412, in create_window
app.exec_()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\application\container.py", line 221, in _set_dependenciesself.dependencies_dialog.set_data(dependencies.DEPENDENCIES)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\widgets\dependencies.py", line 182, in set_dataself.treewidget.update_dependencies(dependencies)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\widgets\dependencies.py", line 63, in update_dependenciesif dependency.check():
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\dependencies.py", line 376, in check
installed = programs.is_module_installed(
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\utils\programs.py", line 1050, in is_module_installed
module_version = get_module_version(module_name)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\utils\programs.py", line 1004, in get_module_version
mod =__import__(module_name)
File "C:\Users\gs1\anaconda3\Lib\site-packages\matplotlib\__init__.py", line 159, in <module>from . import _api, _version, cbook, _docstring, rcsetup
File "C:\Users\gs1\anaconda3\Lib\site-packages\matplotlib\rcsetup.py", line 28, in <module>from matplotlib.colors import Colormap, is_color_like
File "C:\Users\gs1\anaconda3\Lib\site-packages\matplotlib\colors.py", line 57, in <module>from matplotlib import _api, _cm, cbook, scale
File "C:\Users\gs1\anaconda3\Lib\site-packages\matplotlib\scale.py", line 22, in <module>from matplotlib.ticker import (
File "C:\Users\gs1\anaconda3\Lib\site-packages\matplotlib\ticker.py", line 144, in <module>from matplotlib import transforms as mtransforms
File "C:\Users\gs1\anaconda3\Lib\site-packages\matplotlib\transforms.py", line 49, in <module>from matplotlib._path import (
Traceback (most recent call last):
File "C:\Users\gs1\anaconda3\Lib\site-packages\numpy\core\_multiarray_umath.py", line 44, in __getattr__raiseImportError(msg)
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "C:\Users\gs1\anaconda3\Scripts\spyder-script.py", line 10, in <module>
sys.exit(main())
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\app\start.py", line 286, in main
mainwindow.main(options, args)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\app\mainwindow.py", line 1425, in main
mainwindow = create_window(MainWindow, app, splash, options, args)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\app\utils.py", line 412, in create_window
app.exec_()
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\plugins\application\container.py", line 221, in _set_dependenciesself.dependencies_dialog.set_data(dependencies.DEPENDENCIES)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\widgets\dependencies.py", line 182, in set_dataself.treewidget.update_dependencies(dependencies)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\widgets\dependencies.py", line 63, in update_dependenciesif dependency.check():
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\dependencies.py", line 376, in check
installed = programs.is_module_installed(
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\utils\programs.py", line 1050, in is_module_installed
module_version = get_module_version(module_name)
File "C:\Users\gs1\anaconda3\Lib\site-packages\spyder\utils\programs.py", line 1004, in get_module_version
mod =__import__(module_name)
File "C:\Users\gs1\anaconda3\Lib\site-packages\pandas\__init__.py", line 49, in <module>from pandas.core.api import (
File "C:\Users\gs1\anaconda3\Lib\site-packages\pandas\core\api.py", line 1, in <module>from pandas._libs import (
File "C:\Users\gs1\anaconda3\Lib\site-packages\pandas\_libs\__init__.py", line 17, in <module>import pandas._libs.pandas_datetime # noqa: F401 # isort: skip # type: ignore[reportUnusedImport]
Traceback (most recent call last):
File "C:\Users\gs1\anaconda3\Lib\site-packages\numpy\core\_multiarray_umath.py", line 44, in __getattr__raiseImportError(msg)
ImportError:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Hi @gs112145, from the traceback seems like the packages showing the error are pandas, matplotlib and pyarrow. Also a check to issue #22483 could be useful.
Description
What steps will reproduce the problem?
I'm starting Spyder from the console with the following params:
spyder --show-console
(Deprecated) --show console does nothing, now the default behavior is to show the console, use --hide-console if you want to hide it
Traceback
Versions
Dependencies
Environment
Environment
The text was updated successfully, but these errors were encountered: