CyberHosting

update to v2.0.1 fails

Upgrading to v2.0.1 is failing with the following message





ERROR: Command errored out with exit status 1:
command: /usr/local/CyberPanel/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-w7ffvniu/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-w7ffvniu/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-nw3zo6d_
cwd: /tmp/pip-req-build-w7ffvniu/
Complete output (31 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/constants
copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-3.6/MySQLdb/constants
copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-3.6/MySQLdb/constants
copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-3.6/MySQLdb/constants
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/constants
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 -fPIC -Dversion_info=(1,4,6,'final',0) -D__version__=1.4.6 -I/usr/include/mysql -I/usr/include/python3.6m -c MySQLdb/_mysql.c -o build/temp.linux-x86_64-3.6/MySQLdb/_mysql.o
MySQLdb/_mysql.c:38:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
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 size=42748 sha256=be31b15cbedea25c46b28f4e1420c2ef0214b74f8a7b92aaa66b7007f3ae7f1d
Stored in directory: /root/.cache/pip/wheels/f1/9d/e3/a6eef503f5979796113d3cd175bc171209a09be41e51f43680
Building wheel for prettytable (setup.py) ... done
Created wheel for prettytable: filename=prettytable-0.7.2-py3-none-any.whl size=13698 sha256=bb830bb709dba5adc04b0ebf4e49fa805fb4ecdc5650dbb7e54cf9639c7789f2
Stored in directory: /root/.cache/pip/wheels/65/8b/d5/51d74514e981e2e03a53e70b4a2dff582b91f75e9bcd985fd9
Building wheel for psutil (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/CyberPanel/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-6h2pp9y1/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-6h2pp9y1/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-_93a_55j
cwd: /tmp/pip-req-build-6h2pp9y1/
Complete output (44 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/psutil
copying psutil/_psosx.py -> build/lib.linux-x86_64-3.6/psutil
copying psutil/_psaix.py -> build/lib.linux-x86_64-3.6/psutil
copying psutil/_exceptions.py -> build/lib.linux-x86_64-3.6/psutil
copying psutil/_compat.py -> build/lib.linux-x86_64-3.6/psutil
copying psutil/_psposix.py -> build/lib.linux-x86_64-3.6/psutil
copying psutil/__init__.py -> build/lib.linux-x86_64-3.6/psutil
copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.6/psutil
copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.6/psutil
copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.6/psutil
copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.6/psutil
copying psutil/_common.py -> build/lib.linux-x86_64-3.6/psutil
creating build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/__init__.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_memory_leaks.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.6/psutil/tests
copying psutil/tests/__main__.py -> build/lib.linux-x86_64-3.6/psutil/tests
running build_ext
building 'psutil._psutil_linux' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/psutil
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 -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=543 -DPSUTIL_LINUX=1 -I/usr/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o
psutil/_psutil_common.c:9:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for psutil
Running setup.py clean for psutil
Building wheel for py3dns (setup.py) ... done
Created wheel for py3dns: filename=py3dns-3.2.1-py3-none-any.whl size=20839 sha256=f3803d1f4282dce10340aa908a04d910a133820f1c20f698362d5de6deada389
Stored in directory: /root/.cache/pip/wheels/d1/11/5f/3d9938316c26615b3e25ff411c2fb65642c7f63c95c0aad2d4
Building wheel for pycparser (setup.py) ... done
Created wheel for pycparser: filename=pycparser-2.18-py2.py3-none-any.whl size=206683 sha256=4c0dda8d22705bab09095db01de383c6f529dfc1c2e8a2ff5277730e5dc67813
Stored in directory: /root/.cache/pip/wheels/fe/18/b6/8d9581e1caa294fa0899e3bd0051648bd3dd8c41ff80addda4
Building wheel for pygpgme (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/CyberPanel/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-udvr5d53/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-udvr5d53/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-5io4ifyl
cwd: /tmp/pip-req-build-udvr5d53/
Complete output (18 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/gpgme
copying gpgme/__init__.py -> build/lib.linux-x86_64-3.6/gpgme
copying gpgme/editutil.py -> build/lib.linux-x86_64-3.6/gpgme
running build_ext
building 'gpgme._gpgme' extension
creating build/temp.linux-x86_64-3.6
creating build/temp.linux-x86_64-3.6/src
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 -fPIC -I/usr/include/python3.6m -c src/gpgme.c -o build/temp.linux-x86_64-3.6/src/gpgme.o
src/gpgme.c:21:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pygpgme
Running setup.py clean for pygpgme
Building wheel for pyudev (setup.py) ... done
Created wheel for pyudev: filename=pyudev-0.15-py3-none-any.whl size=45045 sha256=56724879c35d4af9f7a6a17d2d809c38a5836c2ae378fd772bf90e2539362e4d
Stored in directory: /root/.cache/pip/wheels/88/3f/ef/08a89ab7ea814fe930acb46fa6c39b03357ef46c8c9be40479
Building wheel for pyxattr (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/local/CyberPanel/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-d4y_bjq1/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-d4y_bjq1/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-aaoqlyur
cwd: /tmp/pip-req-build-d4y_bjq1/
Complete output (12 lines):
running bdist_wheel
running build
running build_ext
building 'xattr' extension
creating build
creating build/temp.linux-x86_64-3.6
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 -fPIC -D_XATTR_VERSION="0.7.1" -D_XATTR_AUTHOR="Iustin Pop" -D_XATTR_EMAIL="[email protected]" -I/usr/include/python3.6m -c xattr.c -o build/temp.linux-x86_64-3.6/xattr.o -Wall -Werror -Wsign-compare
xattr.c:25:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for pyxattr
Running setup.py clean for pyxattr
Building wheel for tornado (setup.py) ... done
Created wheel for tornado: filename=tornado-6.0.4-cp36-cp36m-linux_x86_64.whl size=415151 sha256=bfa3d7e909f5671cce7b5f08e9e716256b2c97a5528edfaeb7db26adbbe96ade
Stored in directory: /root/.cache/pip/wheels/6b/69/ed/52f2009b065d514b334341155292b151f75a46bae3520dfd59
Building wheel for validators (setup.py) ... done
Created wheel for validators: filename=validators-0.14.2-py3-none-any.whl size=17247 sha256=212ad13b9a6854367248d3f4f1bd073909ff76aaa068c6b1ece97dd8a96427ce
Stored in directory: /root/.cache/pip/wheels/a0/b2/d9/c7e19890fb1f77c1ac2a4c0c6a75124123341240f509c952bf
Successfully built Babel backports.ssl-match-hostname cloudflare ConfigArgParse configobj decorator ipaddress IPy Jinja2 jsonpatch parsedatetime prettytable py3dns pycparser pyudev tornado validators
Failed to build mysqlclient psutil pygpgme pyxattr
Installing collected packages: six, pycparser, cffi, cryptography, pyOpenSSL, pytz, setuptools, josepy, pbr, mock, pyRFC3339, idna, chardet, urllib3, certifi, requests, acme, asgiref, asn1crypto, bcrypt, python-dateutil, docutils, jmespath, botocore, s3transfer, boto3, sqlparse, Django, docker-pycreds, websocket-client, docker, enum34, funcsigs, jsonlines, PyNaCl, paramiko, ptyprocess, pexpect, requests-file, tldextract, zope.interface, zope.event, zope.component, Babel, backports.ssl-match-hostname, future, pyyaml, cloudflare, ConfigArgParse, configobj, decorator, ipaddress, IPy, markupsafe, Jinja2, jsonpointer, jsonpatch, mysqlclient, parsedatetime, prettytable, psutil, py3dns, pygpgme, pyudev, pyxattr, tornado, validators
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, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-w7ffvniu/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-w7ffvniu/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vxbezw2x/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/CyberPanel/include/site/python3.6/mysqlclient
cwd: /tmp/pip-req-build-w7ffvniu/
Complete output (31 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/constants
copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-3.6/MySQLdb/constants
copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-3.6/MySQLdb/constants
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/constants
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 -fPIC -Dversion_info=(1,4,6,'final',0) -D__version__=1.4.6 -I/usr/include/mysql -I/usr/include/python3.6m -c MySQLdb/_mysql.c -o build/temp.linux-x86_64-3.6/MySQLdb/_mysql.o
MySQLdb/_mysql.c:38:20: fatal error: Python.h: No such file or directory
#include "Python.h"
^
compilation terminated.
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-req-build-w7ffvniu/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-w7ffvniu/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-vxbezw2x/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/CyberPanel/include/site/python3.6/mysqlclient Check the logs for full command output.

command failed, exiting...
Tagged:
Tagged:

Comments

  • From what version?
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.
    https://www.cyberhosting.org
    You can now earn with the Cyberhosting affiliate scheme. Join today
    https://www.cyberhosting.org/affiliates/
  • v1.9 i don't know build
  • Could be the issue. Try updating to 1.9.x next version up and then carry on from there to the next version ...

    See git hub for the versions
    Cyberpanel Managed & Unmanaged Shared & VPS Hosting by Cyberpanel Experts.
    https://www.cyberhosting.org
    You can now earn with the Cyberhosting affiliate scheme. Join today
    https://www.cyberhosting.org/affiliates/
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!

In this Discussion