通过pip安装Python模块Madmom时出错

时间:2019-07-16 20:57:29

标签: python python-3.x pip

我正在尝试通过Python 3.6.2(系统非虚拟)中的pip(19.1.1)安装Madmom(Python音频和音乐)。我可以使用--verbose中的调试信息来解决安装问题吗?在那种情况下怎么办?

我测试了在Windows 10上通过具有管理员权限的CMD安装它的过程。手动安装了Madmom的需求模块。升级了所有已需要的模块。

E:\a\Bin64>iclonepy -m pip install --verbose madmom

详细运行时输出

E:\a\Bin64>iclonepy -m pip install --verbose madmom
Config variable 'Py_DEBUG' is unset, Python ABI tag may be incorrect
Config variable 'WITH_PYMALLOC' is unset, Python ABI tag may be incorrect
Created temporary directory: C:\Users\Andre\AppData\Local\Temp\pip-ephem-wheel-cache-znabef66
Created temporary directory: C:\Users\Andre\AppData\Local\Temp\pip-req-tracker-gp0qkmc4
Created requirements tracker 'C:\\Users\\Andre\\AppData\\Local\\Temp\\pip-req-tracker-gp0qkmc4'
Created temporary directory: C:\Users\Andre\AppData\Local\Temp\pip-install-6rdpqs6w
Collecting madmom
  1 location(s) to search for versions of madmom:
  * https://pypi.org/simple/madmom/
  Getting page https://pypi.org/simple/madmom/
  Looking up "https://pypi.org/simple/madmom/" in the cache
  Request header has "max_age" as 0, cache bypassed
  Starting new HTTPS connection (1): pypi.org:443
  https://pypi.org:443 "GET /simple/madmom/ HTTP/1.1" 304 0
  Analyzing links from page https://pypi.org/simple/madmom/
    Found link https://files.pythonhosted.org/packages/28/0e/752fa1aa85c99a18036be8e2301cef9fc60a02824bba962052aa32c017a6/madmom-0.12.tar.gz#sha256=d21c7dd059c811bd8c5704c7fb18b3effa9f59d20224ca1cc6fae2cf70ae3df3 (from https://pypi.org/simple/madmom/), version: 0.12
    Found link https://files.pythonhosted.org/packages/c7/92/ec038532e1f174e0b9672662218b30faa4448c1438d4ba68b2289a7f8369/madmom-0.12.1.tar.gz#sha256=79b4fcffb3b1143e3ad80210cd095a5ff10c4f375d2f5451de69f68ad74410fc (from https://pypi.org/simple/madmom/), version: 0.12.1
    Found link https://files.pythonhosted.org/packages/f6/38/64a07d5cabc3099484b177f4ad6c8b8148a11b6a21206a0729a257e43e97/madmom-0.13.tar.gz#sha256=4c5c01b2a1e106949c8d41533a3d4eccd0e57ab6529fea5ffe7b82b68caca270 (from https://pypi.org/simple/madmom/), version: 0.13
    Found link https://files.pythonhosted.org/packages/bb/5e/c2ef8193a8201c6fbc6b10fa5e44ea9e50a6a7643590de6fbf893809ecb9/madmom-0.13.1.tar.gz#sha256=0a553d17fc70d481718a640eb342667410e2ca8af5cec43e5459ab036b330bda (from https://pypi.org/simple/madmom/), version: 0.13.1
    Found link https://files.pythonhosted.org/packages/6a/c1/3a93ec4ce0be0b0f68409d5974137f9999a833976cceae971d876ff86a04/madmom-0.13.2.tar.gz#sha256=aa8fcd858bb29f016f425792df655f40040098052b065c0fa0a5393a6a70d171 (from https://pypi.org/simple/madmom/), version: 0.13.2
    Found link https://files.pythonhosted.org/packages/8f/46/64dd93a1211e710a7b75a92c1fb223d601d391744f1c0829d7e7afe6791f/madmom-0.14.tar.gz#sha256=e0dcb65aba5fb8816a6792a44aca02f356b9003943079a5a9863d12fb2863d0a (from https://pypi.org/simple/madmom/), version: 0.14
    Found link https://files.pythonhosted.org/packages/14/06/0b9d9d1b271171e0d8c739856f51a7553dacf662e4a5753fc7c54655144f/madmom-0.14.1.tar.gz#sha256=1a6b8a736e561d5adabd49f0946e531f2439a9d1af4dd5452b8188f4da97b170 (from https://pypi.org/simple/madmom/), version: 0.14.1
    Found link https://files.pythonhosted.org/packages/fb/cb/67f1a1e5a82e520d60899973e3ea0a96125a662ea2c7bd90a9147970fd60/madmom-0.15.tar.gz#sha256=8ad1e68be070a26095ec8c972b859a47c3cc86b51aebdcf672a39878c0e4af41 (from https://pypi.org/simple/madmom/), version: 0.15
    Found link https://files.pythonhosted.org/packages/b7/bb/b9b88d504f5ed3d87dd8a952c4feb37165a96ba1015f912cd4d6f050d75f/madmom-0.15.1.tar.gz#sha256=2a1325b0c0932611cb8da3890cae6320540fba806881a9dc7957aa909568acee (from https://pypi.org/simple/madmom/), version: 0.15.1
    Found link https://files.pythonhosted.org/packages/cb/fd/72afb59ac0dc760df0abe7f60a8474e727d3cca96ac3b44b56b26d5e983e/madmom-0.16.tar.gz#sha256=7f63f18bfb5e54ba7ea59ad4e1713f489fd5409c9f1aaaf706757be6e4d9b042 (from https://pypi.org/simple/madmom/), version: 0.16
    Found link https://files.pythonhosted.org/packages/c7/a3/9f3de3e8068a3606331134d96b84c8db4f7624d6715be8ab3c1f56e6731d/madmom-0.16.1.tar.gz#sha256=64a86a29106e7c4e0c5f4ec96801c2d1a8492db710e4fe27e097da5517d68cb2 (from https://pypi.org/simple/madmom/), version: 0.16.1
  Using version 0.16.1 (newest of versions: 0.12, 0.12.1, 0.13, 0.13.1, 0.13.2, 0.14, 0.14.1, 0.15, 0.15.1, 0.16, 0.16.1)
  Created temporary directory: C:\Users\Andre\AppData\Local\Temp\pip-unpack-ef98of7t
  Looking up "https://files.pythonhosted.org/packages/c7/a3/9f3de3e8068a3606331134d96b84c8db4f7624d6715be8ab3c1f56e6731d/madmom-0.16.1.tar.gz" in the cache
  Current age based on date: 3689
  Ignoring unknown cache-control directive: immutable
  Freshness lifetime from max-age: 365000000
  The response is "fresh", returning cached response
  365000000 > 3689
  Using cached https://files.pythonhosted.org/packages/c7/a3/9f3de3e8068a3606331134d96b84c8db4f7624d6715be8ab3c1f56e6731d/madmom-0.16.1.tar.gz
  Downloading from URL https://files.pythonhosted.org/packages/c7/a3/9f3de3e8068a3606331134d96b84c8db4f7624d6715be8ab3c1f56e6731d/madmom-0.16.1.tar.gz#sha256=64a86a29106e7c4e0c5f4ec96801c2d1a8492db710e4fe27e097da5517d68cb2 (from https://pypi.org/simple/madmom/)
  Added madmom from https://files.pythonhosted.org/packages/c7/a3/9f3de3e8068a3606331134d96b84c8db4f7624d6715be8ab3c1f56e6731d/madmom-0.16.1.tar.gz#sha256=64a86a29106e7c4e0c5f4ec96801c2d1a8492db710e4fe27e097da5517d68cb2 to build tracker 'C:\\Users\\Andre\\AppData\\Local\\Temp\\pip-req-tracker-gp0qkmc4'
    Running setup.py (path:C:\Users\Andre\AppData\Local\Temp\pip-install-6rdpqs6w\madmom\setup.py) egg_info for package madmom
    Running command python setup.py egg_info
    Compiling madmom/audio/comb_filters.pyx because it depends on E:\a\Bin64\lib\site-packages\Cython\Includes\numpy\__init__.pxd.
    Compiling madmom/features/beats_crf.pyx because it depends on E:\a\Bin64\lib\site-packages\Cython\Includes\numpy\math.pxd.
    Compiling madmom/ml/hmm.pyx because it depends on E:\a\Bin64\lib\site-packages\Cython\Includes\numpy\math.pxd.
    [1/3] Cythonizing madmom/audio/comb_filters.pyx
    [2/3] Cythonizing madmom/features/beats_crf.pyx
    [3/3] Cythonizing madmom/ml/hmm.pyx
Cleaning up...
  Removing source in C:\Users\Andre\AppData\Local\Temp\pip-install-6rdpqs6w\madmom
Removed madmom from https://files.pythonhosted.org/packages/c7/a3/9f3de3e8068a3606331134d96b84c8db4f7624d6715be8ab3c1f56e6731d/madmom-0.16.1.tar.gz#sha256=64a86a29106e7c4e0c5f4ec96801c2d1a8492db710e4fe27e097da5517d68cb2 from build tracker 'C:\\Users\\Andre\\AppData\\Local\\Temp\\pip-req-tracker-gp0qkmc4'
Removed build tracker 'C:\\Users\\Andre\\AppData\\Local\\Temp\\pip-req-tracker-gp0qkmc4'
ERROR: Command "python setup.py egg_info" failed with error code 3221226505 in C:\Users\Andre\AppData\Local\Temp\pip-install-6rdpqs6w\madmom\
Exception information:
Traceback (most recent call last):
  File "E:\a\Bin64\lib\site-packages\pip\_internal\cli\base_command.py", line 178, in main
    status = self.run(options, args)
  File "E:\a\Bin64\lib\site-packages\pip\_internal\commands\install.py", line 352, in run
    resolver.resolve(requirement_set)
  File "E:\a\Bin64\lib\site-packages\pip\_internal\resolve.py", line 131, in resolve
    self._resolve_one(requirement_set, req)
  File "E:\a\Bin64\lib\site-packages\pip\_internal\resolve.py", line 294, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "E:\a\Bin64\lib\site-packages\pip\_internal\resolve.py", line 242, in _get_abstract_dist_for
    self.require_hashes
  File "E:\a\Bin64\lib\site-packages\pip\_internal\operations\prepare.py", line 362, in prepare_linked_requirement
    abstract_dist.prep_for_dist(finder, self.build_isolation)
  File "E:\a\Bin64\lib\site-packages\pip\_internal\operations\prepare.py", line 171, in prep_for_dist
    self.req.prepare_metadata()
  File "E:\a\Bin64\lib\site-packages\pip\_internal\req\req_install.py", line 537, in prepare_metadata
    self.run_egg_info()
  File "E:\a\Bin64\lib\site-packages\pip\_internal\req\req_install.py", line 615, in run_egg_info
    command_desc='python setup.py egg_info')
  File "E:\a\Bin64\lib\site-packages\pip\_internal\utils\misc.py", line 776, in call_subprocess
    % (command_desc, proc.returncode, cwd))
pip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 3221226505 in C:\Users\Andre\AppData\Local\Temp\pip-install-6rdpqs6w\madmom\

0 个答案:

没有答案