Page 1 of 1

Linux Python Dependency

Posted: Sat Apr 18, 2020 9:52 am
by Cryptoxic
Hi guys, previously I tried to install FAHClient on Ubuntu 19.10 and one package that was depreciated was python-gtk2. I was wondering if v7.6 has solved the need for that dependency yet. Also I have tested out Ubuntu 20.04 beta and it seems that the canonical team has depreciated python2 in favor of python3 which will be the default python going forward. Will this issue be addressed before the release of 20.04 on 23 april?

Re: Linux Python Dependency

Posted: Sat Apr 18, 2020 10:26 am
by foldy
No FAHClient 7.6.x is still running with python2

But Ubuntu 18.04 LTS is supported till April 2023 and even Ubuntu 14.04 LTS has not reached end of life April 2022.
https://wiki.ubuntu.com/Releases

Re: Linux Python Dependency

Posted: Sat Apr 18, 2020 10:33 am
by Cryptoxic
I understand that the previous LTS are still supported but my work requires me to compile with the latest compilers rather than gcc 8 on 18.04 so I have not choice but to use the bleeding edge ubuntu and dual booting 18.04 and 20.04 is eating into my limited space. That's why I was hoping that the client will be upgraded to python3. Plus python2 has been discontinued since the start of this year.

Re: Linux Python Dependency

Posted: Sat Apr 18, 2020 11:22 am
by PantherX
Please note that there's work being done to move from Python 2 to Python 3: https://github.com/FoldingAtHome/fah-control/pull/56

Re: Linux Python Dependency

Posted: Sat Apr 18, 2020 11:28 am
by Cryptoxic
Awesome. Thanks panther!

Re: Linux Python Dependency

Posted: Sat Apr 18, 2020 11:38 am
by ipkh
Fahcontrol is not a requirement for folding so it is safe to not install it.
You could pull the repo from github and apply the pull requests and get it to work that way. Alternatives are to install the python2 package for Ubuntu until python3 support gets implemented.

Re: Linux Python Dependency

Posted: Sat Apr 18, 2020 11:50 am
by Cryptoxic
ipkh wrote:Fahcontrol is not a requirement for folding so it is safe to not install it.
You could pull the repo from github and apply the pull requests and get it to work that way. Alternatives are to install the python2 package for Ubuntu until python3 support gets implemented.
Yup I'm pulling the modified repo and installing it from source as we speak.

Re: Linux Python Dependency

Posted: Sat Apr 18, 2020 11:54 am
by ipkh
I eagerly await your results. I'm running Xubuntu 18.04 right now and am definitely moving to 20.04 when it gets released.