Search code examples
pythonpython-3.ximportrequestpackage

From request import PandaRequest ImportError: No module named 'request'


I am trying to use panda. When I import it as

import panda as pd

I get this error

  File "/usr/local/lib/python3.5/dist-packages/panda/__init__.py", line 1, in <module>
from request import PandaRequest ImportError: No module named 'request'

'request' seems to be already installed:

  Requirement already satisfied: request in /usr/local/lib/python3.5/dist-packages

I am using Python 3.5. I read around and the problem appears to exist only with 2.7. Do you have an idea of why it does not work?

Thanks

Bruno


Solution

  • I think you mean the pandas library, in which case you use

    import pandas as pd