免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1124 | 回复: 3
打印 上一主题 下一主题

[系统管理] convirt安装出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2017-09-14 12:22 |只看该作者 |倒序浏览
在安装conivrt的过程中,报错如下:
Installed /usr/local/convirt/tg2env/lib/python2.6/site-packages/Routes-1.10.3-py2.6.egg
error: PEAK-Rules 0.5a1.dev-r2582 is installed but PEAK-Rules==dev,>=0.5a1.dev-r2562 is required by set(['prioritized-methods'])
ERROR: installing TG2 (2.0.3).
ERROR: Failed creating Turbogears2 environment.



看了网上好多说,要改这个 $SUDO easy_install virtualenv==1.11.6  ,但改完重新安装还是报错。求大神指教一下。有没有安装过的。在线等。谢谢!

论坛徽章:
0
2 [报告]
发表于 2017-09-14 12:35 |只看该作者
[root@convirt ~]# ./convirt-install/install/cms/scripts/setup_tg2
Processing dependencies for tg.devtools
error: PEAK-Rules 0.5a1.dev-r2582 is installed but PEAK-Rules==dev,>=0.5a1.dev-r2562 is required by set(['prioritized-methods'])
ERROR: installing TG2 (2.0.3).
ERROR: Failed creating Turbogears2 environment.

还是这个错误,在网上找了好多,方法也都试过了,升级python什么的都没有用,不知道哪位大神已经解决这个问题,或者有谁安装成功了但没出现这个问题,请指教。

论坛徽章:
0
3 [报告]
发表于 2017-09-14 15:47 |只看该作者
问题已解决:
报错:
error: PEAK-Rules 0.5a1.dev-r2582 is installed but PEAK-Rules==dev,>=0.5a1.dev-r2562 is required by set(['prioritized-methods'])
ERROR: installing TG2 (2.0.3).
ERROR: Failed creating Turbogears2 environment.
如下步骤:修改virtualenv==1.11.6,重新安装

报错
ERROR: installing Beaker >= 1.4
ERROR: Failed creating Turbogears2 environment.

解决办法安装python
[root@open-source src]# wget http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz
[root@open-source src]# xz -d Python-2.7.6.tar.xz
[root@open-source src]# tar xf Python-2.7.6.tar
[root@open-source src]# cd Python-2.7.6
[root@open-source Python-2.7.6]# ./configure --prefix=/usr/local/python
[root@open-source Python-2.7.6]# make && make install
重新执行以下
[root@open-source src]# cd /root/convirt/install/cms/scripts/
[root@open-source scripts]# ./setup_tg2
[root@open-source scripts]# ./setup_convirt

报错:
error: Could not find suitable distribution for Requirement.parse('funcsigs')
解决:
convirt-2.5/convirt/tg2env/bin/pip install funcsigs

论坛徽章:
0
4 [报告]
发表于 2017-09-14 15:48 |只看该作者
问题已解决:
报错:
error: PEAK-Rules 0.5a1.dev-r2582 is installed but PEAK-Rules==dev,>=0.5a1.dev-r2562 is required by set(['prioritized-methods'])
ERROR: installing TG2 (2.0.3).
ERROR: Failed creating Turbogears2 environment.
如下步骤:修改virtualenv==1.11.6,重新安装

报错
ERROR: installing Beaker >= 1.4
ERROR: Failed creating Turbogears2 environment.

解决办法安装python
[root@open-source src]# wget http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tar.xz
[root@open-source src]# xz -d Python-2.7.6.tar.xz
[root@open-source src]# tar xf Python-2.7.6.tar
[root@open-source src]# cd Python-2.7.6
[root@open-source Python-2.7.6]# ./configure --prefix=/usr/local/python
[root@open-source Python-2.7.6]# make && make install
重新执行以下
[root@open-source src]# cd /root/convirt/install/cms/scripts/
[root@open-source scripts]# ./setup_tg2
[root@open-source scripts]# ./setup_convirt

报错:
error: Could not find suitable distribution for Requirement.parse('funcsigs')
解决:
convirt-2.5/convirt/tg2env/bin/pip install funcsigs
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP