Error al instalar modulo xmlsec
Publicado por Juanky (1 intervención) el 19/03/2020 19:07:42
Buenas tardes desesperadas, estoy intentando instalar el módulo xmlsec pero me entrega el siguiente error (las dependencias están bien):
Una ayudita por tavor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Collecting xmlsec
Downloading xmlsec-1.3.3.tar.gz (29 kB)
Building wheels for collected packages: xmlsec
Building wheel for xmlsec (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pv_wokyz/xmlsec/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pv_wokyz/xmlsec/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-u8zi7trm
cwd: /tmp/pip-install-pv_wokyz/xmlsec/
Complete output (42 lines):
running bdist_wheel
running build
running build_ext
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pv_wokyz/xmlsec/setup.py", line 60, in <module>
'Topic :: Text Processing :: Markup :: XML'
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.6/dist-packages/wheel/bdist_wheel.py", line 223, in run
self.run_command('build')
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-install-pv_wokyz/xmlsec/setup.py", line 11, in run
self.patch_options()
File "/tmp/pip-install-pv_wokyz/xmlsec/setup.py", line 16, in patch_options
ext.define_macros.extend(xmlsec_setupinfo.define_macros())
File "/tmp/pip-install-pv_wokyz/xmlsec/xmlsec_setupinfo.py", line 48, in define_macros
macros.extend(xmlsec_config()['define_macros'])
File "/tmp/pip-install-pv_wokyz/xmlsec/xmlsec_setupinfo.py", line 111, in xmlsec_config
__XMLSEC_CONFIG = load_xmlsec1_config()
File "/tmp/pip-install-pv_wokyz/xmlsec/xmlsec_setupinfo.py", line 164, in load_xmlsec1_config
config = pkgconfig.parse('xmlsec1')
File "/usr/local/lib/python3.6/dist-packages/pkgconfig/pkgconfig.py", line 248, in parse
_raise_if_not_exists(package)
File "/usr/local/lib/python3.6/dist-packages/pkgconfig/pkgconfig.py", line 103, in _raise_if_not_exists
raise PackageNotFoundError(package)
pkgconfig.pkgconfig.PackageNotFoundError: xmlsec1 not found
----------------------------------------
ERROR: Failed building wheel for xmlsec
Running setup.py clean for xmlsec
Failed to build xmlsec
Installing collected packages: xmlsec
Running setup.py install for xmlsec ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pv_wokyz/xmlsec/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pv_wokyz/xmlsec/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-2v6if9uq/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/xmlsec
cwd: /tmp/pip-install-pv_wokyz/xmlsec/
Complete output (44 lines):
running install
running build
running build_ext
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-pv_wokyz/xmlsec/setup.py", line 60, in <module>
'Topic :: Text Processing :: Markup :: XML'
File "/usr/local/lib/python3.6/dist-packages/setuptools/__init__.py", line 145, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/usr/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.6/dist-packages/setuptools/command/install.py", line 61, in run
return orig.install.run(self)
File "/usr/lib/python3.6/distutils/command/install.py", line 589, in run
self.run_command('build')
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/usr/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/usr/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/usr/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/tmp/pip-install-pv_wokyz/xmlsec/setup.py", line 11, in run
self.patch_options()
File "/tmp/pip-install-pv_wokyz/xmlsec/setup.py", line 16, in patch_options
ext.define_macros.extend(xmlsec_setupinfo.define_macros())
File "/tmp/pip-install-pv_wokyz/xmlsec/xmlsec_setupinfo.py", line 48, in define_macros
macros.extend(xmlsec_config()['define_macros'])
File "/tmp/pip-install-pv_wokyz/xmlsec/xmlsec_setupinfo.py", line 111, in xmlsec_config
__XMLSEC_CONFIG = load_xmlsec1_config()
File "/tmp/pip-install-pv_wokyz/xmlsec/xmlsec_setupinfo.py", line 164, in load_xmlsec1_config
config = pkgconfig.parse('xmlsec1')
File "/usr/local/lib/python3.6/dist-packages/pkgconfig/pkgconfig.py", line 248, in parse
_raise_if_not_exists(package)
File "/usr/local/lib/python3.6/dist-packages/pkgconfig/pkgconfig.py", line 103, in _raise_if_not_exists
raise PackageNotFoundError(package)
pkgconfig.pkgconfig.PackageNotFoundError: xmlsec1 not found
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-pv_wokyz/xmlsec/setup.py'"'"'; __file__='"'"'/tmp/pip-install-pv_wokyz/xmlsec/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-2v6if9uq/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.6/xmlsec Check the logs for full command output.
Una ayudita por tavor
Valora esta pregunta


0