LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-31-2011, 12:45 AM   #1
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
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
 
Old 07-31-2011, 04:41 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hello,

the problem occurs here
Quote:
Originally Posted by smilemukul View Post
...
error: Download error for http://code.krypto.org/python/hashlib/h ... edirects=0: (-3, 'Temporary failure in name resolution')...
this site does not exist, but they provide a link http://code.krypto.org/python/hashli...b-20081119.zip

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
 
Old 08-02-2011, 04:01 AM   #3
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Python 2.6 dependencies error installing python-sqlite2-2.5.5-1.1.i586.rpm jmp007 Linux - Newbie 1 02-11-2011 11:05 AM
How can I uninstall a python package installed with python setup.py install? milomak Linux - Software 1 11-16-2009 09:22 PM
LXer: Develop for the Web with TurboGears and Python LXer Syndicated Linux News 0 07-13-2006 04:54 PM
LXer: Develop for the Web with Python and Django LXer Syndicated Linux News 0 06-07-2006 08:03 AM
What do you use to develop python programs? stormrider_may Programming 2 03-11-2006 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration