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
Opening Spyder after installing a list of packages such as panadas, matplotlib, pyyaml etc, a window pops up saying Spyder has a bug that states that nbconvert>=4.0 as a dependency is not installed. However, I do have nbconvert 6.1.0, which is strange that this error pops up.
Traceback
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 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\shukai.lu.int\Anaconda3\lib\site-packages\spyder\dependencies.py", line 425, in declare_dependencies
add(dep['modname'], dep['package_name'],
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\spyder\dependencies.py", line 350, in addDEPENDENCIES+= [Dependency(modname, package_name, features,
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\spyder\dependencies.py", line 307, in __init__self.installed_version = programs.get_module_version(modname)
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\spyder\utils\programs.py", line 852, in get_module_version
mod =__import__(module_name)
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\matplotlib\__init__.py", line 107, in <module>from . import _api, cbook, docstring, rcsetup
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\matplotlib\rcsetup.py", line 26, in <module>from matplotlib.colors import Colormap, is_color_like
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\matplotlib\colors.py", line 82, in <module>from matplotlib import _api, cbook, scale
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\matplotlib\scale.py", line 18, in <module>from matplotlib.ticker import (
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\matplotlib\ticker.py", line 179, in <module>from matplotlib import transforms as mtransforms
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\matplotlib\transforms.py", line 46, in <module>from matplotlib._path import (
AttributeError: _ARRAY_API not found
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 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\shukai.lu.int\Anaconda3\lib\site-packages\spyder\dependencies.py", line 425, in declare_dependencies
add(dep['modname'], dep['package_name'],
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\spyder\dependencies.py", line 350, in addDEPENDENCIES+= [Dependency(modname, package_name, features,
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\spyder\dependencies.py", line 307, in __init__self.installed_version = programs.get_module_version(modname)
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\spyder\utils\programs.py", line 852, in get_module_version
mod =__import__(module_name)
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\__init__.py", line 77, in <module>from pandas.core.api import (
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\api.py", line 28, in <module>from pandas.core.arrays import Categorical
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\arrays\__init__.py", line 1, in <module>from pandas.core.arrays.arrow import ArrowExtensionArray
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\arrays\arrow\__init__.py", line 5, in <module>from pandas.core.arrays.arrow.array import ArrowExtensionArray
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\arrays\arrow\array.py", line 50, in <module>from pandas.core import (
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\ops\__init__.py", line 8, in <module>from pandas.core.ops.array_ops import (
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\ops\array_ops.py", line 56, in <module>from pandas.core.computation import expressions
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\computation\expressions.py", line 21, in <module>from pandas.core.computation.check importNUMEXPR_INSTALLED
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\computation\check.py", line 5, in <module>
ne = import_optional_dependency("numexpr", errors="warn")
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\compat\_optional.py", line 135, in import_optional_dependency
module = importlib.import_module(name)
File "C:\Users\shukai.lu.int\Anaconda3\lib\importlib\__init__.py", line 127, in import_modulereturn _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\numexpr\__init__.py", line 26, in <module>from numexpr.interpreter importMAX_THREADS, use_vml, __BLOCK_SIZE1__AttributeError: _ARRAY_API not found
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 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\shukai.lu.int\Anaconda3\lib\site-packages\spyder\dependencies.py", line 425, in declare_dependencies
add(dep['modname'], dep['package_name'],
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\spyder\dependencies.py", line 350, in addDEPENDENCIES+= [Dependency(modname, package_name, features,
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\spyder\dependencies.py", line 307, in __init__self.installed_version = programs.get_module_version(modname)
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\spyder\utils\programs.py", line 852, in get_module_version
mod =__import__(module_name)
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\__init__.py", line 77, in <module>from pandas.core.api import (
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\api.py", line 28, in <module>from pandas.core.arrays import Categorical
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\arrays\__init__.py", line 1, in <module>from pandas.core.arrays.arrow import ArrowExtensionArray
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\arrays\arrow\__init__.py", line 5, in <module>from pandas.core.arrays.arrow.array import ArrowExtensionArray
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\arrays\arrow\array.py", line 64, in <module>from pandas.core.arrays.masked import BaseMaskedArray
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\arrays\masked.py", line 60, in <module>from pandas.core import (
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\core\nanops.py", line 52, in <module>
bn = import_optional_dependency("bottleneck", errors="warn")
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\pandas\compat\_optional.py", line 135, in import_optional_dependency
module = importlib.import_module(name)
File "C:\Users\shukai.lu.int\Anaconda3\lib\importlib\__init__.py", line 127, in import_modulereturn _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\shukai.lu.int\Anaconda3\lib\site-packages\bottleneck\__init__.py", line 2, in <module>from .reduce import (
AttributeError: _ARRAY_API not found
Opening Spyder after installing a list of packages such as panadas, matplotlib, pyyaml etc, a window pops up saying Spyder has a bug that states that nbconvert>=4.0 as a dependency is not installed. However, I do have nbconvert 6.1.0, which is strange that this error pops up.
You probably used pip to install those packages. If that's the case I'm afraid that broke your Anaconda installation and now you'll have to reinstall it. That's because pip and conda packages are binary incompatible, so they can't be mixed in the same environment.
Please see our video to better understand what happened and how to correctly reinstall Anaconda.
Description
What steps will reproduce the problem?
Opening Spyder after installing a list of packages such as panadas, matplotlib, pyyaml etc, a window pops up saying Spyder has a bug that states that nbconvert>=4.0 as a dependency is not installed. However, I do have nbconvert 6.1.0, which is strange that this error pops up.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: