Skip to content

安装报错 #7

@frr717

Description

@frr717

安装的时候一直报这个错:
Collecting QuantStudio
Using cached QuantStudio-0.0.9-py3-none-any.whl (1.1 MB)
Requirement already satisfied: numpy>=1.14.4+mkl in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from QuantStudio) (1.24.3)
Collecting numexpr>=2.6.1 (from QuantStudio)
Downloading numexpr-2.8.5-cp310-cp310-win_amd64.whl (94 kB)
---------------------------------------- 94.4/94.4 kB ? eta 0:00:00
Collecting pandas<0.24.0,>=0.19.0 (from QuantStudio)
Using cached pandas-0.23.4.tar.gz (10.5 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
C:\Users\Administrator\AppData\Local\Temp\pip-install-9lsgsyo_\pandas_bc615cf02b5641b4b280639b341570a3\setup.py:12: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
C:\Users\Administrator\AppData\Local\Programs\Python\Python310\lib\site-packages\setuptools_init_.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!

          ********************************************************************************
          Requirements should be satisfied by a PEP 517 installer.
          If you are using pip, you can try `pip install --use-pep517`.
          ********************************************************************************

  !!
    dist.fetch_build_eggs(dist.setup_requires)
  error in pandas setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
      pytz >= 2011k
           ~~~~~~~^
  [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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions