首页 > 解决方案 > 安装 librec python

问题描述

我无法librec为 Python 安装。在 PyCharm 中,我在列表中找不到 librec,并且 pip 出现此错误:

C:\Users\Young>pip install librec
Collecting librec
  Using cached librec-0.0.5.tar.gz (855 kB)
    ERROR: Command errored out with exit status 1:
     command: 'C:\ProgramData\Anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Young\\AppData\\Local\\Temp\\pip-install-tr3zjrfg\\librec\\setup.py'"'"'; __file__='"'"'C:\\Users\\Young\\AppData\\Local\\Temp\\pip-install-tr3zjrfg\\librec\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\Young\AppData\Local\Temp\pip-pip-egg-info-2ynrvbse'
         cwd: C:\Users\Young\AppData\Local\Temp\pip-install-tr3zjrfg\librec\
    Complete output (3 lines):
    C:\ProgramData\Anaconda3\lib\site-packages\numpy\__init__.py:138: UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring its correct out-of-the box operation under condition when Gnu OpenMP had already been loaded by Python process is not assured. Please install mkl-service package, see http://github.com/IntelPython/mkl-service
      from . import _distributor_init
    Please install numpy>=1.16.4 first.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

标签: pythonpippycharm

解决方案


推荐阅读