Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cdx_toolkit库安装失败 #23

Open
7Mitu opened this issue Dec 5, 2023 · 4 comments
Open

cdx_toolkit库安装失败 #23

7Mitu opened this issue Dec 5, 2023 · 4 comments

Comments

@7Mitu
Copy link

7Mitu commented Dec 5, 2023

报错信息如下:

Collecting cdx_toolkit==0.9.34 (from -r requirement.txt (line 27))
  Using cached cdx_toolkit-0.9.34.tar.gz (36 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [16 lines of output]
      /usr/lib/python3/dist-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)
      [12/05/23 06:27:16] WARNING  toml section missing        pyproject_reading.py:42
                                   'pyproject.toml does not
                                   contain a
                                   tool.setuptools_scm
                                   section'
      error in cdx_toolkit setup command: 'python_requires' must be a string containing valid version specifiers; Invalid specifier: '>=3.6.*'
      [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.

python各种版本的库还是太繁琐了,大佬可以考虑发布一个docker版本的出来么

@komomon
Copy link
Owner

komomon commented Dec 5, 2023

先装wheel,pip install wheel,再装requirement

@7Mitu
Copy link
Author

7Mitu commented Dec 6, 2023

先装wheel,pip install wheel,再装requirement

image

还是安装失败了,用的python 3.11.6

image

@komomon
Copy link
Owner

komomon commented Dec 6, 2023

把这个库从requirement.txt 删掉

@handbye
Copy link

handbye commented Dec 11, 2023

下载cdx_toolkit源码,然后修改setup.py这里即可
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants