在cmd命令中安装weditor出现下面情况,安装不成功
Collecting progress~=1.3 (from uiautomator2>=2.10.1->weditor==0.6.4)
Using cached progress-1.6.tar.gz (7.8 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [14 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "C:\Users\Yu7\AppData\Local\Temp\pip-install-26bq4h5p\progress_fbd84c70f0c94af3988bba6aa4708ac8\setup.py", line 8, in <module>
setup(
File "D:\python_step\lib\site-packages\setuptools\__init__.py", line 106, in setup
_install_setup_requires(attrs)
File "D:\python_step\lib\site-packages\setuptools\__init__.py", line 74, in _install_setup_requires
dist = MinimalDistribution(attrs)
File "D:\python_step\lib\site-packages\setuptools\__init__.py", line 56, in __init__
super().__init__(filtered)
File "D:\python_step\lib\site-packages\setuptools\dist.py", line 494, in __init__
for ep in metadata.entry_points(group='distutils.setup_keywords'):
TypeError: entry_points() got an unexpected keyword argument 'group'
[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.
1.降低版本试过了也是安装不了