question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Variable Explorer

See original GitHub issue

Description

What steps will reproduce the problem?

Try to view a pandas dataframe variable in the Variable Explorer, but an error message showed up as "Spyder was unable to retrive the variable from console: error message is: "ModuleNotFoundError(“No module named ‘pandas.core.internals.managers’; ‘pandas.core.internals’ is not a package”)

Operating system: Mac Mojave (10.14.3) Python 3.7 Spyder 3

I’ve searched the github and found the copy to clipboard solution, which didn’t work.

Versions

  • Spyder version: 3.3.2
  • Python version: 3.7.0
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Darwin 18.2.0

Dependencies

IPython >=4.0     :  7.2.0 (OK)
cython >=0.21     :  0.29.2 (OK)
jedi >=0.9.0      :  0.13.2 (OK)
matplotlib >=2.0.0:  3.0.2 (OK)
nbconvert >=4.0   :  5.4.0 (OK)
numpy >=1.7       :  1.15.4 (OK)
pandas >=0.13.1   :  0.23.4 (OK)
psutil >=0.3      :  5.4.8 (OK)
pycodestyle >=2.3 :  2.4.0 (OK)
pyflakes >=0.6.0  :  2.0.0 (OK)
pygments >=2.0    :  2.3.1 (OK)
pylint >=0.25     :  2.2.2 (OK)
qtconsole >=4.2.0 :  4.4.3 (OK)
rope >=0.9.4      :  0.11.0 (OK)
sphinx >=0.6.6    :  1.8.2 (OK)
sympy >=0.7.3     :  1.3 (OK)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
avinash175commented, Mar 27, 2019

I am having this same issue with pandas 0.24.2 while accessing DataFrame variables from Variable explorer in Spyder 3.3.3 I downgraded pandas to 0.23.4 and it started to work again. I would suggest this issue be reopened.

2reactions
ccordoba12commented, May 19, 2020

A, Could Spyder’s error message be expanded from “No module named pandas” to “No module in Spyder’s env named pandas”?

Thanks for the suggestion. @juanis2112 is working on this right now (we came to the same conclusion due to a similar issue reported three or four weeks ago).

B, Make a note in the spyder-kernels wiki page.

Thanks for your help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Variable Explorer — Spyder 5 documentation
The Variable Explorer gives you information on the name, size, type and value of each object. To modify a scalar variable, like an...
Read more >
spyder python how to re-open Variable Explorer
Go to View/Panes and select Variable Explorer.
Read more >
Variable Explorer — Spyder 3 documentation
The variable explorer can't show all types of objects. The ones currently supported are: Pandas DataFrame, TimeSeries and DatetimeIndex objects; NumPy arrays ...
Read more >
Statistical Variable Explorer - Data Commons
Data Commons Statistical Variable Explorer. Explore. Place Explorer Graph Browser Timelines Explorer Scatter Plot Explorer Map Explorer Statistical Variable ...
Read more >
Variable Inspector - Unofficial Jupyter Notebook Extensions
The Variable Inspector extension, which currently supports python and R kernels, enables to collect all defined variables and display them in a floating ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found