KeyError('pandas._libs.interval') while opening a dataframe in variable explorer in dmg version of spyder
See original GitHub issueIssue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder
(orpip
, if not using Anaconda) - Could not reproduce inside
jupyter qtconsole
(if console-related) - Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Reset preferences with
spyder --reset
- Reinstalled the latest version of Anaconda
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
I’m getting KeyError(‘pandas._libs.interval’) while opening a dataframe in the variable explorer. I’m using dmg version of spyder on an anaconda environment. I reinstalled both anaconda and spyder but didn’t solve the issue.
What steps reproduce the problem?
What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)
PASTE TRACEBACK HERE
Versions
- Spyder version: 4.2.1
- Python version: 3.8.5
- Qt version:
- PyQt version:
- Operating System name/version: macos 11.1
Dependencies
PASTE DEPENDENCIES HERE
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (4 by maintainers)
Top Results From Across the Web
KeyError('pandas._libs.interval') when opening a dataframe in ...
What output do you get in Spyder when you enter import pandas; print(pandas.__file__) and import pandas._libs.interval; print(pandas._libs.
Read more >Spyder can't open dataframes with Pandas 1.3.0 · Issue #15978
When I open a dataframe in the variables explorer, I get the following error: Spyder was unable to retrieve the value of this...
Read more >KeyError('pandas._libs.interval') when opening a dataframe in ...
Coding example for the question KeyError('pandas._libs.interval') when opening a dataframe in Spyder-Pandas,Python.
Read more >Py2App Keyerror: 'Pandas._Libs.Interval' When Making Mac App
KeyError 'pandas.libs.interval' when opening a dataframe in Spyder. When I try to click on data frames in the Variable Explorer in Spyder.
Read more >KeyError: 'pandas._libs.interval' MacBook Spyder 4.2.1
I installed Spyder (version 4.2.1, Python 3.9.1) on my MacBook, but when I ran a code which includes pandas I got this error:....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There’s a workaround. Please go to pull request https://github.com/spyder-ide/spyder/pull/14600, click on
View details
, then theDetails
link to the right ofmacOS App Bundle (Full)
, thenArtifacts
(to the right):and finally click on
Spyder.dmg
on the menu that appears there.That will give you an installer with our latest fixes in our stable branch (i.e. everything that will be part of 4.2.2, including our fix for Pandas). However, please be aware that it could contain other bugs or problems because it’s still a work in progress.
Got you! If it’s only a naming thing, it won’t be an issue. Again Thanks!