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
Certain variables that appear in the variable explorer can't be opened in pop-out windows. This appears to include Pandas dataframes and any Numpy arrays or variables (including tuples that contain Numpy scalars).
Error message popup is: "Spyder was unable to retrieve the value of this variable from the console. The error message was: 'An unknown error occurred. Check the console because its contents could have been printed there. Note: Please don't report this problem on Github, there's nothing to do about it."
Issue appeared upon upgrade to newest version of Spyder. It was not present previously.
The automatically-generated bug report pasted above has a mistake. My system's default Python version is 3.8, but I'm using a virtual environment at 3.12.5 that I've pointed Spyder to in the preferences. Similarly, the dependencies listed above are not what I've got installed in my virtual environment.
Additional update -- I should have said that this error appeared in an upgrade to 5.5.6 using the standalone installer. I've deleted that standalone version and went back to installing in pip directly to my virtual environment. Problem is gone. So I'd say this is a problem when attempting to use the standalone along with a pip-maintained virtual environment. No problem at all if I just stay in pip and avoid the standalone.
Hi @stephen-segal thank you for the report and the extra info regarding the steps you followed to workaround the problem! I would say that most probably there is an incompatibility between the numpy version the installer comes with (numpy 1.24.4) and the version you are using/have installed over your Python 3.12 virtual enviroment (maybe is numpy 2.x by any chance)? Probably a similar incompatibility is happening with pandas too. Also, indeed a way to workaround that limitation from the installer is to simply install Spyder over the env you want to use as you did 👍
Some other issue where this has been discussed: #20671#15998
Description
What steps will reproduce the problem?
Certain variables that appear in the variable explorer can't be opened in pop-out windows. This appears to include Pandas dataframes and any Numpy arrays or variables (including tuples that contain Numpy scalars).
Error message popup is: "Spyder was unable to retrieve the value of this variable from the console. The error message was: 'An unknown error occurred. Check the console because its contents could have been printed there. Note: Please don't report this problem on Github, there's nothing to do about it."
Issue appeared upon upgrade to newest version of Spyder. It was not present previously.
Versions
Dependencies
Environment
Environment
The text was updated successfully, but these errors were encountered: