CyberHosting

error ugrading

Good day!

I can't update the control panel, there's an error at the end:

ERROR: Command errored out with exit status 1:
command: /usr/local/CyberPanel/bin/python3 -u -c 'import sys, setuptools, tok enize; sys.argv[0] = '"'"'/tmp/pip-install-z_vy94rd/mysqlclient/setup.py'"'"'; _ _file__='"'"'/tmp/pip-install-z_vy94rd/mysqlclient/setup.py'"'"';f=getattr(token ize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"' \n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-xki3499h
cwd: /tmp/pip-install-z_vy94rd/mysqlclient/
Complete output (30 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/__init__.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/_exceptions.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/compat.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/connections.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/converters.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/cursors.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/release.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/times.py -> build/lib.linux-x86_64-3.6/MySQLdb
creating build/lib.linux-x86_64-3.6/MySQLdb/constants
copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-3.6/MySQLdb/co nstants
copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-3.6/MySQLdb/cons tants
copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-3.6/MySQLdb/constant s
copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-3.6/MySQLdb/constant s
copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-3.6/MySQLdb/ constants
copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-3.6/MySQLdb/consta nts
running build_ext
building 'MySQLdb._mysql' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/MySQLdb
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Wp ,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-si ze=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Dversion_info=(1,4,6,'final',0) -D__version__=1.4.6 -I/usr/include/mysql -I/us r/include/mysql/mysql -I/usr/include/python3.6m -c MySQLdb/_mysql.c -o build/tem p.linux-x86_64-3.6/MySQLdb/_mysql.o
gcc -pthread -shared -Wl,-z,relro -g build/temp.linux-x86_64-3.6/MySQLdb/_mysq l.o -L/usr/lib64/ -L/usr/lib64 -lmariadb -lpython3.6m -o build/lib.linux-x86_64- 3.6/MySQLdb/_mysql.cpython-36m-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -lmariadb
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for mysqlclient
Running setup.py clean for mysqlclient
Building wheel for parsedatetime (setup.py) ... done
Created wheel for parsedatetime: filename=parsedatetime-2.4-py3-none-any.whl s ize=42748 sha256=993f93f6dac8ddb50a6e0a6074d57acf70f477c0df9e0a99a4d8b26bdfea954 2
Stored in directory: /tmp/pip-ephem-wheel-cache-cbhclu8r/wheels/b8/09/4d/98683 3f1c3d5c763ae571da9f0aa1eeb47059443a6c97340f6
Building wheel for prettytable (setup.py) ... done
Created wheel for prettytable: filename=prettytable-0.7.2-py3-none-any.whl siz e=13698 sha256=040c99b749509a6a633b003a8a2fa791aa200598d04508e0f3123a3ae9c48dab
Stored in directory: /tmp/pip-ephem-wheel-cache-cbhclu8r/wheels/90/15/c3/5f28b 42ae9c81638570b8b7ed654e0f98c5fdc08875869511b
Building wheel for psutil (setup.py) ... done
Created wheel for psutil: filename=psutil-5.4.3-cp36-cp36m-linux_x86_64.whl si ze=246626 sha256=6dcf94967a1f69ef70d83071103e5589e52d05d79d4db4e1c01dae86a8e0cff b
Stored in directory: /tmp/pip-ephem-wheel-cache-cbhclu8r/wheels/e7/eb/6f/2490c dd6839c71022abe1d7ab1c98945f486729eee003d866f
Building wheel for py3dns (setup.py) ... done
Created wheel for py3dns: filename=py3dns-3.2.1-py3-none-any.whl size=20839 sh a256=4d4705776b6f09265a271ad1e3368fb88a5ba0d6b502bffe546558bf4b4f9053
Stored in directory: /tmp/pip-ephem-wheel-cache-cbhclu8r/wheels/c5/26/01/4fd5b 819fbb95b4975368ee10c4e38dce08f0663aab86c7998
Building wheel for pycparser (setup.py) ... done
Created wheel for pycparser: filename=pycparser-2.18-py2.py3-none-any.whl size =206687 sha256=04a644958caeab1e4a56d09ed2f5e5a5f08ff15cdece6809ff6a0faf5569da5d
Stored in directory: /tmp/pip-ephem-wheel-cache-cbhclu8r/wheels/be/ba/89/4df1a 952bcd0716ac1d5f6f051233e1f3a653948f08bc0a7be
Building wheel for pygpgme (setup.py) ... done
Created wheel for pygpgme: filename=pygpgme-0.3-cp36-cp36m-linux_x86_64.whl si ze=89927 sha256=c8f863ecb4af05076674eb6e9f19ec05dea618a9f05907ec5770e1ac73df3c41
Stored in directory: /tmp/pip-ephem-wheel-cache-cbhclu8r/wheels/d9/4b/a3/db0e1 513c11eb7c0dfff111a9145be354820cbf2d9ec08bcb3
Building wheel for pyudev (setup.py) ... done
Created wheel for pyudev: filename=pyudev-0.15-py3-none-any.whl size=45045 sha 256=1005612242373feb7d04ab8701e84bb3ae8aa73ca10455cd5ecca6a692fda3f1
Stored in directory: /tmp/pip-ephem-wheel-cache-cbhclu8r/wheels/01/f9/86/ad0e6 3c5c58123027c1bf25b45f3f4def9b10cd9fe8051ae5d
Building wheel for pyxattr (setup.py) ... done
Created wheel for pyxattr: filename=pyxattr-0.7.1-cp36-cp36m-linux_x86_64.whl size=37368 sha256=98b03a78901fdfa5b29f864564a2231342e9777a4b4afe397947b2331e4b09 51
Stored in directory: /tmp/pip-ephem-wheel-cache-cbhclu8r/wheels/07/90/42/5afe8 d2103817ce5eb87af6348e428d7e3f97791208538419d
Building wheel for PyYAML (setup.py) ... done
Created wheel for PyYAML: filename=PyYAML-3.10-cp36-cp36m-linux_x86_64.whl siz e=42953 sha256=73199662ff6c15665f79b0bb86331f19dea6244b604630a612c64b38071e22ba
Stored in directory: /tmp/pip-ephem-wheel-cache-cbhclu8r/wheels/84/e3/f6/21fe8 0c1fc3ba6164eac04c61707a7a6d312290cfa58f94e06
Building wheel for SimpleWebSocketServer (setup.py) ... done
Created wheel for SimpleWebSocketServer: filename=SimpleWebSocketServer-0.1.1- py3-none-any.whl size=9494 sha256=d66a839b6ea46e190c7574d6cabb1783a015768cad779c c617bbc57a2d592d49
Stored in directory: /tmp/pip-ephem-wheel-cache-cbhclu8r/wheels/ec/39/bc/12698 48243eda619fa735fea3a00a9c902c587d3ee56d0b8fb
Successfully built Babel backports.ssl-match-hostname ConfigArgParse configobj d ecorator future ipaddress IPy Jinja2 jsonpatch jsonpointer MarkupSafe parsedatet ime prettytable psutil py3dns pycparser pygpgme pyudev pyxattr PyYAML SimpleWebS ocketServer
Failed to build mysqlclient
Installing collected packages: pytz, pyRFC3339, setuptools, six, pycparser, cffi , cryptography, pyOpenSSL, pbr, mock, josepy, idna, urllib3, chardet, certifi, r equests, acme, asgiref, asn1crypto, Babel, backports.ssl-match-hostname, bcrypt, python-dateutil, docutils, jmespath, botocore, s3transfer, boto3, future, parse datetime, zope.event, zope.interface, zope.component, ConfigArgParse, configobj, certbot, decorator, sqlparse, Django, websocket-client, docker-pycreds, docker, enum34, funcsigs, ipaddress, IPy, MarkupSafe, Jinja2, jsonpointer, jsonpatch, m ysqlclient, PyNaCl, paramiko, ptyprocess, pexpect, prettytable, psutil, py3dns, pygpgme, pyudev, pyxattr, PyYAML, requests-file, SimpleWebSocketServer, tldextra ct
Running setup.py install for mysqlclient ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/CyberPanel/bin/python3 -u -c 'import sys, setuptools, t okenize; sys.argv[0] = '"'"'/tmp/pip-install-z_vy94rd/mysqlclient/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z_vy94rd/mysqlclient/setup.py'"'"';f=getattr(tok enize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"' "'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --re cord /tmp/pip-record-j0aml2xl/install-record.txt --single-version-externally-man aged --compile --install-headers /usr/local/CyberPanel/include/site/python3.6/my sqlclient
cwd: /tmp/pip-install-z_vy94rd/mysqlclient/
Complete output (30 lines):
running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/__init__.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/_exceptions.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/compat.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/connections.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/converters.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/cursors.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/release.py -> build/lib.linux-x86_64-3.6/MySQLdb
copying MySQLdb/times.py -> build/lib.linux-x86_64-3.6/MySQLdb
creating build/lib.linux-x86_64-3.6/MySQLdb/constants
copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-3.6/MySQLdb/ constants
copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-3.6/MySQLdb/co nstants
copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-3.6/MySQLdb/consta nts
copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-3.6/MySQLdb/consta nts
copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-3.6/MySQLd b/constants
copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-3.6/MySQLdb/cons tants
running build_ext
building 'MySQLdb._mysql' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/MySQLdb
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall - Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer- size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fP IC -Dversion_info=(1,4,6,'final',0) -D__version__=1.4.6 -I/usr/include/mysql -I/ usr/include/mysql/mysql -I/usr/include/python3.6m -c MySQLdb/_mysql.c -o build/t emp.linux-x86_64-3.6/MySQLdb/_mysql.o
gcc -pthread -shared -Wl,-z,relro -g build/temp.linux-x86_64-3.6/MySQLdb/_my sql.o -L/usr/lib64/ -L/usr/lib64 -lmariadb -lpython3.6m -o build/lib.linux-x86_6 4-3.6/MySQLdb/_mysql.cpython-36m-x86_64-linux-gnu.so
/usr/bin/ld: cannot find -lmariadb
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/local/CyberPanel/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-z_ vy94rd/mysqlclient/setup.py'"'"'; __file__='"'"'/tmp/pip-install-z_vy94rd/mysqlc lient/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.r ead().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file_ _, '"'"'exec'"'"'))' install --record /tmp/pip-record-j0aml2xl/install-record.tx t --single-version-externally-managed --compile --install-headers /usr/local/Cyb erPanel/include/site/python3.6/mysqlclient Check the logs for full command outpu t.

command failed, exiting...

Comments

Sign In or Register to comment.
CyberPanel Discord

Howdy, Stranger!

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