ImportError: No Module Named bs4 (BeautifulSoup)
Full error message
I'm working in Python and using Flask. When I run my main Python file on my computer, it works perfectly, but when I activate venv and run the Flask Python file in the terminal, it says that my main Python file has "No Module Named bs4." Any comments or advice is greatly appreciated.
Solutionsource: stackoverflow \u2197
Activate the virtualenv, and then install BeautifulSoup4: $ pip install beautifulsoup4 When you installed bs4 with easy_install, you installed it system-wide. So your system python can import it, but not your virtualenv python. If you do not need bs4 to be installed in your system python path, uninstall it and keep it in your virtualenv. For more information about virtualenvs, read this
API access
Get this solution programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/error/d6487ea72ea55c97e71c8915d27ed877b78840350fe7ed616b05a55d056f6ee2hash \u00b7 d6487ea72ea55c97e71c8915d27ed877b78840350fe7ed616b05a55d056f6ee2