python setup.py develop error
Hi,
I am installing convirt Virtual manager in centos 5.6 for the first time but I am getting some hashlib & python errors as, error message for step "./convirt-install/install/cms/scripts/setup_convirt" : [root@localhost scripts]# ./setup_convirt install common functions sourced. DISTRO RedHat VER 5.5 CODENAME Final KERNEL 2.6.18-194.el5 ARCH x86_64 Info: Sourcing /root/Desktop/convirt/convirt-install/install/cms/scripts/../../../common/scripts/RedHat_functions Info: Sourcing /root/Desktop/convirt/convirt-install/install/cms/scripts/../common/RedHat_functions /usr/lib64/python2.4/distutils/dist.py:236: UserWarning: Unknown distribution option: 'message_extractors' warnings.warn(msg) running develop Not found: tg.devtools running egg_info writing requirements to convirt.egg-info/requires.txt writing convirt.egg-info/PKG-INFO writing top-level names to convirt.egg-info/top_level.txt writing dependency_links to convirt.egg-info/dependency_links.txt writing entry points to convirt.egg-info/entry_points.txt writing paster_plugins to convirt.egg-info/paster_plugins.txt reading manifest file 'convirt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'convirt.egg-info/SOURCES.txt' running build_ext Creating /root/convirt/tg2env/lib/python2.4/site-packages/convirt.egg-link (link to .) convirt 2.0dev is already the active version in easy-install.pth Installed /root/convirt/src/convirt/web/convirt Processing dependencies for convirt==2.0dev Searching for hashlib Reading http://www.turbogears.org/2.0/downloads/2.0.3/index Reading http://www.pylonshq.com/download/ Reading http://pypi.python.org/simple/hashlib/ Reading http://code.krypto.org/python/hashlib/ Best match: hashlib 20081119 Downloading http://code.krypto.org/python/hashlib/h ... edirects=0 error: Download error for http://code.krypto.org/python/hashlib/h ... edirects=0: (-3, 'Temporary failure in name resolution') ERROR: Running python setup.py develop. ERROR: Failed setting up convirt package. I had manually installed hashlib package & but still getting the same error as "python setup.py develop". Also all the necessary dependencies are install but still the same. Appreciate for any help/solution. Thanks |
Hello,
the problem occurs here Quote:
I would try to edit the installerscript and change the link. And if this doesn't work, you should post the setup.py file as an attachment to your post. Another question: isn't it possible to install the program with yum? I'm not very experienced with Centos, but normally I would prefer to install from the official repositories. Markus |
Actually I had installed hashlib manually from http://code.krypto.org/python/hashli...b-20081119.zip but still I am not able to run the script.Also I am able to resolve the same issue in open source through yum but getting the same error in enterprise & the issue is not able to resolve through yum so building the same through source.
Is older version of python (python 2.4) is the cause & need to be upgraded ? Can you please provide the solution to the mentioned error. |
All times are GMT -5. The time now is 01:26 PM. |