求助:使用pip安装pyqaserver失败,报错内容

(base) PS C:\Users\44720> pip install pyqaserver
Collecting pyqaserver
  Using cached pyqaserver-2.0.1-py3-none-any.whl.metadata (1.1 kB)
Requirement already satisfied: scipy>=1.0 in c:\users\44720\anaconda3\lib\site-packages (from pyqaserver) (1.13.1)
Requirement already satisfied: numpy>=1.14 in c:\users\44720\anaconda3\lib\site-packages (from pyqaserver) (1.26.4)
Requirement already satisfied: matplotlib>=3.3.1 in c:\users\44720\anaconda3\lib\site-packages (from pyqaserver) (3.8.4)
Requirement already satisfied: jinja2 in c:\users\44720\anaconda3\lib\site-packages (from pyqaserver) (3.1.4)
Collecting pylinac==2.3.2 (from pyqaserver)
  Using cached pylinac-2.3.2-py3-none-any.whl.metadata (1.5 kB)
Collecting httplib2==0.18.1 (from pyqaserver)
  Using cached httplib2-0.18.1-py3-none-any.whl.metadata (2.2 kB)
Collecting bokeh==2.2.1 (from pyqaserver)
  Using cached bokeh-2.2.1.tar.gz (8.8 MB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [18 lines of output]
      C:\Users\44720\AppData\Local\Temp\pip-install-94sd2j4a\bokeh_f48e50177d754fe481de889f03b933fa\versioneer.py:419: SyntaxWarning: invalid escape sequence '\s'
        LONG_VERSION_PY['git'] = '''
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\44720\AppData\Local\Temp\pip-install-94sd2j4a\bokeh_f48e50177d754fe481de889f03b933fa\setup.py", line 108, in <module>
          version=versioneer.get_version(),
                  ^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\44720\AppData\Local\Temp\pip-install-94sd2j4a\bokeh_f48e50177d754fe481de889f03b933fa\versioneer.py", line 1475, in get_version
          return get_versions()["version"]
                 ^^^^^^^^^^^^^^
        File "C:\Users\44720\AppData\Local\Temp\pip-install-94sd2j4a\bokeh_f48e50177d754fe481de889f03b933fa\versioneer.py", line 1407, in get_versions
          cfg = get_config_from_root(root)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\44720\AppData\Local\Temp\pip-install-94sd2j4a\bokeh_f48e50177d754fe481de889f03b933fa\versioneer.py", line 340, in get_config_from_root
          parser = configparser.SafeConfigParser()
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值