简体   繁体   中英

ModuleNotFoundError: No module named 'pandas' in Pycharm

import pandas as pd

while running this code I have the following error.

C:\Users\user3\PycharmProjects\Customer_Revieww\venv\Scripts\python.exe C:/Users/user3/PycharmProjects/Customer_Revieww/venv/cust_rev.py
Traceback (most recent call last):
  File "C:/Users/user3/PycharmProjects/Customer_Revieww/venv/cust_rev.py", line 1, in <module>
    import pandas
ModuleNotFoundError: No module named 'pandas'

please provide solution. Thank you in advance

You need to instal the module in the environment you are using in PyCharm. This can be done from command line:

pip install pandas

As well as in PyCharm itself - see this video .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM