Community
cancel
Showing results for 
Search instead for 
Did you mean: 
vkana3
Beginner
470 Views

No module named 'pandas' when using pytorch

Jump to solution

Hi 

I just started with Intel Devcloud, and wanted to test basic image classification program with pytorch in juputer lab.

but, when I ran import pandas as pd , it is showing that there is no such module. As import torch is working .Screenshot.png

Can anyone please help me resolve this issue!!!?  

Tags (1)
0 Kudos
1 Solution
JananiC_Intel
Moderator
470 Views

Hi,

Thanks for reaching out.

Try to install pandas with the below command in the jupyter notebook 

!pip install pandas --user

If the error persists then run the below two commands in jupyter notebook and share the screenshotsof it.

import sys
sys.executable

and

!which python

 

View solution in original post

3 Replies
JananiC_Intel
Moderator
471 Views

Hi,

Thanks for reaching out.

Try to install pandas with the below command in the jupyter notebook 

!pip install pandas --user

If the error persists then run the below two commands in jupyter notebook and share the screenshotsof it.

import sys
sys.executable

and

!which python

 

View solution in original post

JananiC_Intel
Moderator
470 Views

Hi,

Could you please give us an update whether the issue got resolved?

JananiC_Intel
Moderator
470 Views

Hi,

We are closing this case by assuming that your issue got resolved. Please feel free to raise a new thread if you have any further issues.

Reply