Ask Your Question
0

Installing python-glanceclient without pip

asked 2013-09-04 05:00:43 -0500

Pedro Alvarez gravatar image

updated 2013-09-13 05:13:44 -0500

I would like to install python-glanceclient, but I cannot do it using the script because I don't have pip on this OS, and installing pip is not an option. Is there an easy way to install it?

I though copying the folder glanceclient into the site-packages folder was enough, but no. How can I do it? Thanks.

edit retag flag offensive close merge delete

Comments

What OS are you using? Any error messages?

serverascode gravatar imageserverascode ( 2013-09-04 14:15:16 -0500 )edit

I have this error: http://paste.ubuntu.com/6087015/ I know, is because I don't have pip installed, but literally I *don't* want it into my OS. I'm trying to do my own 'setup.py' but I realized that the binary is not in the python-glanceclient repository. Where is it?

Pedro Alvarez gravatar imagePedro Alvarez ( 2013-09-11 12:06:34 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-09-05 03:53:47 -0500

unmesh-gurjar gravatar image

You can clone the git respository and from the project directory, execute 'python setup.py install'.

edit flag offensive delete link more

Comments

I get this error: http://paste.ubuntu.com/6087015/ Can I install it without using pip?

Pedro Alvarez gravatar imagePedro Alvarez ( 2013-09-10 03:47:14 -0500 )edit

Why they have an setup.py which connect to internet using pip?

Pedro Alvarez gravatar imagePedro Alvarez ( 2013-09-10 05:16:17 -0500 )edit

The package you are installing is not self sufficient. Installing the package using pip will in turn download the dependencies of the package you want to install (by connecting to a PyPi server which could be a local one or over the internet).

unmesh-gurjar gravatar imageunmesh-gurjar ( 2013-09-10 05:35:44 -0500 )edit

I know is not self sufficient, but It should let the user to solve the dependencies. What happens if the user doesn't have internet connection?

Pedro Alvarez gravatar imagePedro Alvarez ( 2013-09-10 05:37:39 -0500 )edit
0

answered 2013-09-13 08:49:35 -0500

Pedro Alvarez gravatar image

updated 2013-09-13 08:50:16 -0500

Finally I decided to learn and implement my own setup script. It wasn't easy at all, but I did it.

You can check it here: http://paste.openstack.org/show/47002/

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-09-04 05:00:43 -0500

Seen: 317 times

Last updated: Sep 13 '13