请各位大牛帮忙:
centos6.4 安装convirt2.5 报错如下:
root@convirt ~]# convirt-install/install/cms/scripts/setup_tg2
install common functions sourced.已经找到解决办法
可以发一下解决办法么,万分感谢<preclass="highlighttext">Inthefollowingtwofiles convirt-install/install/cms/common/functions convirt/install/cms/common/functions Changetheline $SUDOeasy_installvirtualenv To $SUDOeasy_installvirtualenv==1.11.6不能解决问题
cd/root
wget--no-check-certificate https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.11.6.tar.gz
wget--no-check-certificate https://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz
tar zxvf virtualenv-1.11.6.tar.gz
cd virtualenv-1.11.6
python setup.py install
<spanstyle="line-height:1.5;font-size:10pt;">cd/root
tarzxvfPython-2.6.6.tgz
cdPython-2.6.6
./configure
make&&makeinstall
重装系统后,先要安装virtualenv-1.11.6.tar.gz和Python-2.6.6.tgz,再执行convirt-install的安装操作,我用的安装环境是centos6.7
sudo./setup_tg2 <spanstyle="line-height:1.5;font-size:10pt;">安装的过程中还会遇到:
<spanstyle="color:#E53333;">FinishedprocessingdependenciesforBeaker>=1.4
<spanstyle="color:#E53333;">ls:无法访问/root/convirt/tg2env/lib/python2.4/site-packages/Beaker-*py2.4.egg/beaker/ext/google.py:没有那个文件或目录
<spanstyle="color:#E53333;">TurboGearsenvironmnetsetupsuccessfully.
解决方法:cd/root/convirt/tg2env/lib/
ln-spython2.6python2.4
cd/root/convirt/tg2env/lib/python2.6/site-packages
ln-s/root/convirt/tg2env/lib/python2.4/site-packages/Beaker-1.3-py2.6.eggBeaker-1.3-py2.4.egg
ln-s/root/convirt/tg2env/lib/python2.4/site-packages/Beaker-1.7.0dev-py2.6.eggBeaker-1.7.0dev-py2.4.egg
重新执行sudo./setup_tg2安装即可。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。