zalenium icon indicating copy to clipboard operation
zalenium copied to clipboard

install python inside zalenium container

Open jithinkmatthew opened this issue 7 years ago • 3 comments

💬 Questions and Help

Created a StackOverflow post related to this.

https://stackoverflow.com/questions/56360362/how-to-install-python-dependency-inside-zalenium-containers

jithinkmatthew avatar May 29 '19 12:05 jithinkmatthew

Replied in StackOverflow.

diemol avatar May 30 '19 08:05 diemol

@diemol, I checked. By default python 3.5v installed inside those containers. How do I install python 2.7?

Because v3.x.x is not supported for that library?

In stackoverflow, you have mentioned,

You could just extend the one you need and install Python there

I didn't get this. Should I create a new Docker File here?

Could you please briefly explain what to do?

seluser@285fc827db6c:~$ python --version
Python 3.5.2
seluser@285fc827db6c:~$ which python
/usr/bin/python
seluser@285fc827db6c:~$ ls -ls /usr/bin/python*
   0 lrwxrwxrwx. 1 root root      16 May 22 07:26 /usr/bin/python -> /usr/bin/python3
   0 lrwxrwxrwx. 1 root root       9 Mar 23  2016 /usr/bin/python3 -> python3.5
4360 -rwxr-xr-x. 2 root root 4464368 Nov 12  2018 /usr/bin/python3.5
   0 lrwxrwxrwx. 1 root root      33 Nov 12  2018 /usr/bin/python3.5-config -> x86_64-linux-gnu-python3.5-config
4360 -rwxr-xr-x. 2 root root 4464368 Nov 12  2018 /usr/bin/python3.5m
   0 lrwxrwxrwx. 1 root root      34 Nov 12  2018 /usr/bin/python3.5m-config -> x86_64-linux-gnu-python3.5m-config
   0 lrwxrwxrwx. 1 root root      16 Mar 23  2016 /usr/bin/python3-config -> python3.5-config
   0 lrwxrwxrwx. 1 root root      10 Mar 23  2016 /usr/bin/python3m -> python3.5m
   0 lrwxrwxrwx. 1 root root      17 Mar 23  2016 /usr/bin/python3m-config -> python3.5m-config
  12 -rwxrwxr-x. 1 root root    9467 May 22 07:23 /usr/bin/python_test
   4 -rwxrwxr-x. 1 root root     259 May 22 07:23 /usr/bin/python_version

jithinkmatthew avatar May 30 '19 08:05 jithinkmatthew

Let's keep the conversation in StackOverflow please.

diemol avatar Jun 14 '19 06:06 diemol