Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 269
Bruno Morabito Avatar asked Jul 27 '17 12:07

Bruno Morabito


1 Answers

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

import pandas as pd
like image 62
Karmanya Aggarwal Avatar answered Sep 24 '22 23:09

Karmanya Aggarwal