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.

Wrong pandas library version

See original GitHub issue

Description

What steps will reproduce the problem?

I run spyder from the spyder env. The python interpeter is the default one. Python version is 3.7.3.

When I load pandas inside python in the shell, the pandas version is 1.0.3. In spyder in 0.24.

conda list pandas

packages in environment at ~/miniconda3/envs/spyder-beta:

Name Version Build Channel

pandas 1.0.3 py37h0da4684_1 conda-forge

Any help? Thanks!

Versions

  • Spyder version: 4.1.3
  • Python version: 3.7.3
  • Qt version: 5.12.5
  • PyQt5 version: 5.12.3
  • Operating System: Linux 4.15.0-1079-oem

Dependencies


# Mandatory:
atomicwrites >=1.2.0           :  1.3.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.2.1 (OK)
diff_match_patch >=20181111    :  20181111 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.6.1 (OK)
jedi =0.15.2                   :  0.15.2 (OK)
keyring                        :  None (OK)
nbconvert >=4.0                :  5.5.0 (OK)
numpydoc >=0.6.0               :  0.9.1 (OK)
parso =0.5.2                   :  0.5.2 (OK)
pexpect >=4.4.0                :  4.7.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.6.3 (OK)
pygments >=2.0                 :  2.4.2 (OK)
pylint >=0.25                  :  2.3.1 (OK)
pyls >=0.31.9;<0.32.0          :  0.31.9 (OK)
qdarkstyle >=2.8               :  2.8 (OK)
qtawesome >=0.5.7              :  0.5.7 (OK)
qtconsole >=4.6.0              :  4.6.0 (OK)
qtpy >=1.5.0                   :  1.8.0 (OK)
rtree >=0.8.3                  :  0.8.3 (OK)
sphinx >=0.6.6                 :  2.1.2 (OK)
spyder_kernels >=1.9.1;<1.10.0 :  1.9.1 (OK)
watchdog                       :  None (OK)
xdg >=0.26                     :  0.26 (OK)
zmq >=17                       :  18.0.2 (OK)

# Optional:
cython >=0.21                  :  0.29.14 (OK)
matplotlib >=2.0.0             :  3.1.1 (OK)
numpy >=1.7                    :  1.16.4 (OK)
pandas >=0.13.1                :  0.24.0 (OK)
scipy >=0.17.0                 :  1.3.0 (OK)
sympy >=0.7.3                  :  None (OK)

# Spyder plugins:
spyder_notebook                :  0.2.3 (OK)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
dbaucommented, May 25, 2020

@andfoy Just as an update, I found what was wrong with the spyder env. There was a pip installed version od pandas (v 0.24) that was loaded instead of the conda installed one (1.0.3). pip uninstall pandas finally solved the issue.

0reactions
andfoycommented, May 22, 2020

@dbau I’m glad that you managed to fix this issue, I’m closing this one, since is not related to the Spyder internals

Read more comments on GitHub >

github_iconTop Results From Across the Web

conda version of pandas mismatch - python - Stack Overflow
I removed manually the 'pandas' folder from C:\Anaconda3\Lib\site-packages, ... It was here where the version of pandas was being taken.
Read more >
ImportError: No module named pandas - Net-Informations.Com
In most cases this error in Python generally raised: You haven't installed Pandas explicitly with pip install pandas. You may have different Python...
Read more >
Installation — pandas 1.5.2 documentation
The simplest way to install not only pandas, but Python and the most ... that allows you to specify a specific version of...
Read more >
Upgrade Pandas Version to Latest or Specific Version
You can upgrade Pandas to the latest version or to a specific version in several ways on windows or Linux depending on how...
Read more >
No Module Named Pandas – How To Fix - Data Independent
So you get an error “no module named pandas” and you aren't sure why its ... because because your current python environment cannot...
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