Hi,
Actually, the bs4 was already there. I have installed selenium.
In console, by default the python 2 is in path. So, you will have to set the path to anaconda as mentioned in “My Lab”
[sandeep@cxln4 bin]$ export PATH=/usr/local/anaconda/bin:$PATH
[sandeep@cxln4 bin]$ python
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import selenium
>>>
Also, note that these libraries are available in jupyter notebook because there we only have python3.