Import Error Aftert Adding Site.py File To Project
After I've added site.py to top directory of my project, my application started to fail with an exception: 'ImportError: No module named 'bs4''. Before adding this file, applicatio
Solution 1:
site.py
shadows built-in site
module.
Due to wrong site.py
module being imported, paths used to search for user-installed packages are never set, therefore interpreter is unable to find bs4
module.
Post a Comment for "Import Error Aftert Adding Site.py File To Project"