So when I attempt to install bs4 on my chromebook it says that it worked no problem:
pip install beautifulsoup4
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your
Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in
January 2021. More details about Python 2 support in pip can be found at
https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove
support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: beautifulsoup4 in ./.local/lib/python2.7/site-packages (4.9.3)
Requirement already satisfied: soupsieve<2.0,>1.2; python_version < "3.0" in
./.local/lib/python2.7/site-packages (from beautifulsoup4) (1.9.6)
Requirement already satisfied: backports.functools-lru-cache; python_version < "3" in
./.local/lib/python2.7/site-packages (from soupsieve<2.0,>1.2; python_version < "3.0"-
>beautifulsoup4) (1.6.1)
but when I try to import it I get this error:
Exception has occurred: ModuleNotFoundError
No module named 'bs4'
Any advice?
question from:
https://stackoverflow.com/questions/65877868/getting-bs4-on-chromebook 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…