Forums

Pandas run time error

Hi everyone,

I am pretty new at writing code, and I've never seen an error like this before. Just tried the regular

import pandas as pd

I'm getting a runtime error when attempting to import:

RuntimeError: implement_array_function method already has a docstring

I have pasted the entire contents of the error message at the end of the post. I'm using python 3.8. I have checked with pip to make sure that it is installed - no errors and pip states that all requirements satisfied. I also tested from a regular python console and it imported no problem.

Any thoughts on how to overcome this error, or what I might be doing wrong?

Thanks,

Gordon

File "/usr/lib/python3.8/site-packages/pandas/init.py", line 11, in <module> import(dependency) File "/usr/lib/python3.8/site-packages/numpy/init.py", line 142, in <module> from . import core File "/usr/lib/python3.8/site-packages/numpy/core/init.py", line 17, in <module> from . import multiarray File "/usr/lib/python3.8/site-packages/numpy/core/multiarray.py", line 14, in <module> from . import overrides File "/usr/lib/python3.8/site-packages/numpy/core/overrides.py", line 16, in <module> add_docstring( RuntimeError: implement_array_function method already has a docstring

Nevermind. I found a workaround by closing the console with exit() Thanks anyway!

No problem, glad you got it working. In case someone encounters similar issue in the future, we already have a thread about it: https://www.pythonanywhere.com/forums/topic/28100/.