spyder: KeyError('pandas._libs.interval') while opening a dataframe in variable explorer in dmg version of spyder
Issue 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
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (4 by maintainers)
There’s a workaround. Please go to pull request https://github.com/spyder-ide/spyder/pull/14600, click on
View details, then theDetailslink to the right ofmacOS App Bundle (Full), thenArtifacts(to the right):and finally click on
Spyder.dmgon 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!
Hi @mhdmyz, thanks for reporting this issue, this was fixed on https://github.com/spyder-ide/spyder/pull/14545, which is going to available on the next Spyder release, v4.2.2. Until the next release is available, there is nothing much we can do at this moment. Thanks for you patience