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

Viewed 18209

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

3 Answers

Indeed its confusing when there are 2 libraries with similar name like panda and pandas.

  • Panda is a cloud-based platform that provides video and audio encoding infrastructure, and as error suggests, it looks for request module.
  • Pandas provides easy-to-use data structures and data analysis tools.

use this:

pip install pandas

now import:

import pandas as pd
Related