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
When running the project it doesn't show me any results or graphics.
Traceback
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.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\DELL\anaconda3\Lib\site-packages\spyder\plugins\application\container.py", line 492, in _compute_dependencies
dependencies.declare_dependencies()
File "C:\Users\DELL\anaconda3\Lib\site-packages\spyder\dependencies.py", line 458, in declare_dependencies
add(dep['modname'], dep['package_name'],
File "C:\Users\DELL\anaconda3\Lib\site-packages\spyder\dependencies.py", line 389, in addDEPENDENCIES+= [Dependency(modname, package_name, features,
File "C:\Users\DELL\anaconda3\Lib\site-packages\spyder\dependencies.py", line 331, in __init__self.installed_version = programs.get_module_version(modname)
File "C:\Users\DELL\anaconda3\Lib\site-packages\spyder\utils\programs.py", line 839, in get_module_version
mod =__import__(module_name)
File "C:\Users\DELL\anaconda3\Lib\site-packages\matplotlib\__init__.py", line 161, in <module>from . import _api, _version, cbook, _docstring, rcsetup
File "C:\Users\DELL\anaconda3\Lib\site-packages\matplotlib\rcsetup.py", line 27, in <module>from matplotlib.colors import Colormap, is_color_like
File "C:\Users\DELL\anaconda3\Lib\site-packages\matplotlib\colors.py", line 57, in <module>from matplotlib import _api, _cm, cbook, scale
File "C:\Users\DELL\anaconda3\Lib\site-packages\matplotlib\scale.py", line 22, in <module>from matplotlib.ticker import (
File "C:\Users\DELL\anaconda3\Lib\site-packages\matplotlib\ticker.py", line 143, in <module>from matplotlib import transforms as mtransforms
File "C:\Users\DELL\anaconda3\Lib\site-packages\matplotlib\transforms.py", line 49, in <module>from matplotlib._path import (
Traceback (most recent call last):
File "C:\Users\DELL\AppData\Roaming\Python\Python312\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.1.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.1.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\DELL\anaconda3\Lib\site-packages\spyder\plugins\application\container.py", line 492, in _compute_dependencies
dependencies.declare_dependencies()
File "C:\Users\DELL\anaconda3\Lib\site-packages\spyder\dependencies.py", line 458, in declare_dependencies
add(dep['modname'], dep['package_name'],
File "C:\Users\DELL\anaconda3\Lib\site-packages\spyder\dependencies.py", line 389, in addDEPENDENCIES+= [Dependency(modname, package_name, features,
File "C:\Users\DELL\anaconda3\Lib\site-packages\spyder\dependencies.py", line 331, in __init__self.installed_version = programs.get_module_version(modname)
File "C:\Users\DELL\anaconda3\Lib\site-packages\spyder\utils\programs.py", line 839, in get_module_version
mod =__import__(module_name)
File "C:\Users\DELL\anaconda3\Lib\site-packages\pandas\__init__.py", line 26, in <module>from pandas.compat import (
File "C:\Users\DELL\anaconda3\Lib\site-packages\pandas\compat\__init__.py", line 27, in <module>from pandas.compat.pyarrow import (
File "C:\Users\DELL\anaconda3\Lib\site-packages\pandas\compat\pyarrow.py", line 8, in <module>import pyarrow as pa
File "C:\Users\DELL\anaconda3\Lib\site-packages\pyarrow\__init__.py", line 65, in <module>import pyarrow.lib as _lib
Traceback (most recent call last):
File "C:\Users\DELL\AppData\Roaming\Python\Python312\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.1.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.1.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\DELL\anaconda3\Lib\site-packages\spyder\plugins\application\container.py", line 492, in _compute_dependencies
dependencies.declare_dependencies()
File "C:\Users\DELL\anaconda3\Lib\site-packages\spyder\dependencies.py", line 458, in declare_dependencies
add(dep['modname'], dep['package_name'],
File "C:\Users\DELL\anaconda3\Lib\site-packages\spyder\dependencies.py", line 389, in addDEPENDENCIES+= [Dependency(modname, package_name, features,
File "C:\Users\DELL\anaconda3\Lib\site-packages\spyder\dependencies.py", line 331, in __init__self.installed_version = programs.get_module_version(modname)
File "C:\Users\DELL\anaconda3\Lib\site-packages\spyder\utils\programs.py", line 839, in get_module_version
mod =__import__(module_name)
File "C:\Users\DELL\anaconda3\Lib\site-packages\pandas\__init__.py", line 49, in <module>from pandas.core.api import (
File "C:\Users\DELL\anaconda3\Lib\site-packages\pandas\core\api.py", line 1, in <module>from pandas._libs import (
File "C:\Users\DELL\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\DELL\AppData\Roaming\Python\Python312\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.1.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 @Daniela1164 thank you for the report! From the traceback you are getting seems like there is an incompatibility between the matplotlib, pandas and numpy versions you have installed since seems like you have numpy 2.1.2 installed somewhere 🤔
Could you share with us how is your setup? Like, are you using Spyder from you anaconda distribution base environment but setting over the preferences a custom interpreter pointing to a Python environment with numpy 2.1.2 installed maybe?
Description
What steps will reproduce the problem?
When running the project it doesn't show me any results or graphics.
Traceback
Versions
Dependencies
Environment
Environment
The text was updated successfully, but these errors were encountered: