I'm encountering a ModuleNotFoundError when trying to run my Python script that imports PyInquirer. Despite having PyInquirer installed in my virtual environment, the script fails to recognize the module.
The error mesage is:
Traceback (most recent call last):
File "[Censored]", line 3, in
import PyInquirer as Inquirer
ModuleNotFoundError: No module named 'PyInquirer'
note:
PyInquirer is correctly installed within the virtual environment.
Python version: 3.12
Operating System: windows
IDEs tested: vs code, pycharm
The appropriate Python interpreter from the virtual environment is selected
I'm encountering a ModuleNotFoundError when trying to run my Python script that imports PyInquirer. Despite having PyInquirer installed in my virtual environment, the script fails to recognize the module.
The error mesage is: Traceback (most recent call last): File "[Censored]", line 3, in
import PyInquirer as Inquirer
ModuleNotFoundError: No module named 'PyInquirer'
note: PyInquirer is correctly installed within the virtual environment. Python version: 3.12 Operating System: windows IDEs tested: vs code, pycharm The appropriate Python interpreter from the virtual environment is selected