plone - 使用命令“python3 bootstrap.py -c production.cfg”在 Linux 上运行设置 Plumi 和 Zope 服务器的构建时出错
问题描述
我正在安装 Plumi 以创建生产站点。安装 plumi.app 后,我在使用命令运行 buildout 时遇到以下错误:python3 bootstrap.py -c production.cfg 注意::安装了 Zope 并添加了 zope 用户。错误如下::在此处输入图像描述
root@Saif:/home/plumi.app# /bin/python3 bootstrap.py && ./bin/buildout -v
ez_setup.py is deprecated and when using it setuptools will be pinned to 33.1.1 since it's the last version that supports setuptools self upgrade/installation, check https://github.com/pypa/setuptools/issues/581 for more info; use pip to install setuptools
Downloading https://pypi.io/packages/source/s/setuptools/setuptools-33.1.1.zip
Extracting in /tmp/tmpvwkpnumd
Now working in /tmp/tmpvwkpnumd/setuptools-33.1.1
Building a Setuptools egg in /tmp/tmpgfkbh3om
warning: no files found matching '*' under directory 'setuptools/_vendor'
/tmp/tmpgfkbh3om/setuptools-33.1.1-py3.8.egg
Couldn't find index page for 'zc.buildout' (maybe misspelled?)
Couldn't find index page for 'zc.buildout' (maybe misspelled?)
No local packages or working download links found for zc.buildout
error: Could not find suitable distribution for Requirement.parse('zc.buildout')
Traceback (most recent call last):
File "bootstrap.py", line 171, in <module>
raise Exception(
Exception: Failed to execute command:
'/bin/python3', '-c', 'from setuptools.command.easy_install import main; main()', '-mZqNxd', '/tmp/tmpgfkbh3om', 'zc.buildout'
root@Saif:/home/plumi.app# ^C
root@Saif:/home/plumi.app# python3 bootstrap.py -c production.cfg
ez_setup.py is deprecated and when using it setuptools will be pinned to 33.1.1 since it's the last version that supports setuptools self upgrade/installation, check https://github.com/pypa/setuptools/issues/581 for more info; use pip to install setuptools
Downloading https://pypi.io/packages/source/s/setuptools/setuptools-33.1.1.zip
Extracting in /tmp/tmp6dqehae9
Now working in /tmp/tmp6dqehae9/setuptools-33.1.1
Building a Setuptools egg in /tmp/tmpdja0839z
warning: no files found matching '*' under directory 'setuptools/_vendor'
/tmp/tmpdja0839z/setuptools-33.1.1-py3.8.egg
Couldn't find index page for 'zc.buildout' (maybe misspelled?)
Couldn't find index page for 'zc.buildout' (maybe misspelled?)
No local packages or working download links found for zc.buildout
error: Could not find suitable distribution for Requirement.parse('zc.buildout')
Traceback (most recent call last):
File "bootstrap.py", line 171, in <module>
raise Exception(
Exception: Failed to execute command:
'/usr/bin/python3', '-c', 'from setuptools.command.easy_install import main; main()', '-mZqNxd', '/tmp/tmpdja0839z', 'zc.buildout'
解决方案
warning: no files found matching '*' under directory 'setuptools/_vendor'
我发现 setuptools 版本 33.1.1 没有vendor
文件夹。
推荐阅读
- excel - 在未排序的表中查找同一项目的上一个日期
- php - 如何让 href 点击事件与变量一起使用?
- jquery - 如何使用 jQuery 功能一键禁用链接
- python - 购物车,如何计算我购物车中所有商品的总价
- create-react-app - 无法让 @ant-design/pro-layout 的样式与“create-react-app”一起使用
- vba - 如何对我偏移的范围求和?
- ios - Xcode:我的 Xcode 故事板中的哪些元素导致文件变大?
- flutter - 不断收到此错误:'package:flutter/src/widgets/text.dart':断言失败:第 241 行 pos 10:'data != null'
- python - 在 Plotly Python 中添加辅助轴
- excel - PMT 错误:参数数量错误或属性分配无效