Need Libraries in Python

Hi Team ,

I was testing in cloudxlab free trial version and found some libraries like selenium, bs4 are not installed in python3.

For successful testing of my program ,I need those libraries installed in system ,

Is it possible ??

Thanks & Regards,
Snehik Podder
9733389209

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.

Thanks for responding Sandeep.
I will try my code in sometime

Hi Sandeep,

While trying to test my program ,facing below error

selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary

I think chrome binary is not present here.

Can u please suggest?

Thanks,
Snehik

I think webdriver need to installed too. Since the cloudxlab doesn’t really provide the access to the GUI, proving the webdriver would not make sense.

Hi Sandeep,

Can you install chromedriver in this environment and also upgrade python to 3.7.3 ??
I am planning to take 3 months subscriptions of cloudxlab if my code runs succesfully here.

Let me know your thought on the same !!

Thanks,
Snehik
9733389209