While running "nosetests" after installing python anaconda, git repositories from command prompt, I get this error on my windows PC

How to resolve this??
thanks
How did you install pandas? (and which version?) From anaconda? Or manually from the git repo? And if so, how did you do that?
What does happen if you just import pandas in an ipython session?
Yes..everything is bundled into Anaconda. I followed installation steps as outlined in this link
https://github.com/nilmtk/nilmtk
The same steps did work once perfectly on my other windows PC but NOT this time.
And what does happen if you just import pandas in an ipython session?
Can you pls suggest how to do that? I don't know how to import in iPython. Any specific commands or is it same lines of commands from iPython terminal u mean?
Balaji
'Love All, Serve All'
"Help Ever, Hurt Never"
Sent from my iPhone
On Nov 20, 2014, at 7:04 PM, Joris Van den Bossche [email protected] wrote:
And what does happen if you just import pandas in an ipython session?
—
Reply to this email directly or view it on GitHub.
As you also have to import nilmtk, but then pandas: import pandas or import pandas as pd. It doesn't matter if you do it in a notebook or a terminal.
It gives me the same error
[image: Inline image 1]
On Thu, Nov 20, 2014 at 7:24 PM, Joris Van den Bossche <
[email protected]> wrote:
import pandas as pd
—
Reply to this email directly or view it on GitHub
https://github.com/pydata/pandas/issues/8862#issuecomment-63794834.
Sairam,
Balaji Kalluri
Mob: 8175-8807 (S'pore)
Then there is something wrong with your pandas installation? Maybe try to reinstall it: conda install -f pandas
yes...I un & reinstalled everything and now it worked.
Thanks for your quick support.
No problem!
I'm having exactly the same problem with either 0.15.1 or 0.15.2. Not only did I re-install pandas, but I even tried re-installing Anaconda. Still no luck...exactly the same error as above.
Ok, I installed from the github source and no error. Seems to be an issue with the conda installation.
@gregasmaximus If the issue keeps coming up, you can maybe report it at anaconda (https://groups.google.com/a/continuum.io/forum/#!forum/anaconda or https://github.com/ContinuumIO/anaconda-issues)
I also encountered the problem (windows, python 2.7.3, pandas 0.15.2, updated using conda), and solved with some voodoo.
I made sure all python instances were closed, downgraded to 0.15.1 and then upgraded back to 0.15.2.
btw, I THINK what happened is that a python process with a file handle to the pandas lib file was open when I first updated pandas. This prevented the lib file from being replaced correctly. But later, every time I tried to update, including using "-f", the file wasn't updated.
Hopefully this will help others.
Same problem here (windows, python 2.7.3, pandas 0.15.2, updated using conda like @shaig1 said it). I was able to resolve by closing all instances of python and then conda install -f pandas.
Same problem here, thanks for the solution!
The closing all instances of python worked, anaconda might be trying to do something when python instances are running
I'm having this problem now after updating condas packages.
Looks like aksel's solution works. Must close all python instances.
I am still having the same problem after tried all the possible solutions mentioned above. I am trying to run a notebook on a GCP VM with GPU. Pandas is installed with anaconda. The notebook runs well on a local machine.
conda install -f pandas
Anyone could help? Thanks very much.
I had the same issue. I'm using the Enthought Canopy Python distribution for macOS. I resolved the issue by following the advice in this thread, i.e., doing a forced reinstall of Pandas. I couldn't figure out how to coerce the Canopy package manager to do a forced reinstall, so I used pip (with the command-line arguments recommended here).
pip install --upgrade --no-deps --force-reinstall pandas
I had the same issue. I'm using the Enthought Canopy Python distribution for macOS. I resolved the issue by following the advice in this thread, i.e., doing a forced reinstall of Pandas. I couldn't figure out how to coerce the Canopy package manager to do a forced reinstall, so I used pip (with the command-line arguments recommended here).
pip install --upgrade --no-deps --force-reinstall pandas
Thank you so much, Error gone.
Have a look in detail :
https://stackoverflow.com/questions/19548957/can-i-force-pip-to-reinstall-the-current-version
Most helpful comment
I had the same issue. I'm using the Enthought Canopy Python distribution for macOS. I resolved the issue by following the advice in this thread, i.e., doing a forced reinstall of Pandas. I couldn't figure out how to coerce the Canopy package manager to do a forced reinstall, so I used pip (with the command-line arguments recommended here).