提问人:ehrid 提问时间:11/17/2023 更新时间:11/17/2023 访问量:9
zc.buildout 无法导入名称 PkgResourcesDeprecationWarningWarning
zc.buildout cannot import name PkgResourcesDeprecationWarning
问:
我正在尝试复活旧应用程序,并且我正在使用引导脚本。我尝试了不同版本的 setuptools,但仍然出现相同的错误:(此脚本的默认版本为 18.3)
zc.buildout.buildout.main(args)
导致
Traceback (most recent call last):
File ".\bootstrap-win.py", line 165, in <module>
import zc.buildout.buildout
File "c:\users\horodysk\appdata\local\temp\tmpnpvxop\zc.buildout-3.0.1-py2.7.egg\zc\buildout\__init__.py", line 33, in <module>
from pkg_resources import PkgResourcesDeprecationWarning
ImportError: cannot import name PkgResourcesDeprecationWarning
我有 Python 2.7.9,安装的包不多,只有:
setuptools (18.3)
wheel (0.24.0)
任何想法在这种情况下我能做什么?
答: 暂无答案
评论