I am encountering an issue while trying to run a Python script. The error message is 'ModuleNotFoundError', specifically related to the 'pandas' library. I have installed 'pandas' using pip, but the script still fails to recognize the module. I'm seeking guidance on resolving this import error.
I have installed 'pandas' using the command pip install pandas in my virtual environment. I verified the installation with pip show pandas, which displayed the correct version. However, when running my Python script, I receive the error 'ModuleNotFoundError: No module named 'pandas''. I expected the script to execute without any import-related issues after successfully installing 'pandas'.