How do I fix Module not found error in Python?
Are you sure you are operating within the virtual environment?
Try pip list to show what is installed in this environment. If plotly and sklearn are not listed, you are either not operating within the virtual environment when executing the script or you haven't installed the modules within the virtualenv
In python when using plotly and sklearn I installed both packages and checked that their locations were added to my system environment variables but I still get the error "No module named 'plotly'" and same for sklearn and I don't know what else to do. I would really appreciate any help.