I am trying to run a python(3.9.0) code in Jupyter Notebook in VScode .Even though I installed pandas in my virtual environment ,it still shows ModuleNotFoundError: No module named 'pandas'
.
I tried python3 -m pip install pandas
,it shows Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.
I installed pandas again using pip3 install pandas
,then it shows requirement already satisfied .But I am still getting ModuleNotFoundError
import pandas as pd
from pandas import Series,DataFrame
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline
import numpy as np
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
c:\Users\hp\newtest\pcancer.ipynb Cell 1' in <cell line: 1>()
----> 1 import pandas as pd
2 from pandas import Series,DataFrame
3 import matplotlib.pyplot as plt
ModuleNotFoundError: No module named 'pandas'