Run multiple Python versions on system

When using CyberPanel on Google Cloud VPS, I have encountered some Python errors:




I believe the reason is that Google Cloud VPS has automatically installed python-urllib3, python-requests ... (generally, interfering with the "python" of the system out of our control)
That made CyberPanel unable to login:

ImportError: can not import name UnrewindableBodyError
I think you should create a new python version for your CyberPanel system to use, (in another location) it will not depend on the python available on the Centos 7 system (python 2.7.5 is too old). Install a newer version of Python like 3.6.5 or 2.7.15, which can be referenced here:

https://danieleriksson.net/2017/02/08/how-to-install-latest-python-on-centos/

Comments

Sign In or Register to comment.
Support CyberPanel CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!