Cyberpanel upgrade keep failing

I am trying to upgrade my cyberpanel to the latest version however it keeps stopping at some point and keep displaying the following error message.

from . import _distutils
File “/usr/local/CyberPanel/lib/python3.8/site-packages/pip/_internal/locations/”, line 20, in
from distutils.cmd import Command as DistutilsCommand
File “/usr/local/CyberPanel/lib/python3.8/distutils/”, line 44, in
from distutils import dist, sysconfig # isort:skip
ImportError: cannot import name ‘dist’ from partially initialized module ‘distutils’ (most likely due to a circular import) (/usr/local/CyberPanel/lib/python3.8/distutils/
above command failed…

Hi, did you try this command to upgrade?

sh <(curl || wget -O -

That is the command i am using

I can give you a hand, I sent a private message