Ask Your Question
0

horizon dashboard demo failed

asked 2014-03-26 00:34:05 -0500

lokI8 gravatar image

While configuring the virtual environment for the Gabriel Hurley custom dashboard demo, I have run into the error:

pkg_resources.VersionConflict: (pip 1.1 (/home/jon/code/horizon_demo/.venv/lib/python2.7/site-packages/pip-1.1-py2.7.egg), requirement.parse('pip>=1.4')).

It appears that the version of pip that is being installed with the rest of the packages is not up to date enough. I tried navigating to the directory, but it is just full of scripts for installation. I have tried updating pip on my system (to 1.5.4), but it does not appear to effect the pip inside the virtual environment. How can I update this pip to continue the installation?

Thanks, Jonathan

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-03-26 05:03:59 -0500

jpichon gravatar image

updated 2014-03-26 05:04:14 -0500

I think that demo is very old now, I'm not sure if it still works.

To update a package within the virtual environment, you can do the following:

$ . .venv/bin/activate   # Puts you inside the venv. You can confirm by checking the pip path with `which pip`
$ pip install --upgrade pip
$ deactivate
edit flag offensive delete link more

Comments

Thank you. I updated pip, but have now run into a SHA-256 hashing error.

I have also tried creating the dashboard myself, using the tutorial here: http://docs.openstack.org/developer/horizon/topics/tutorial.html (http://docs.openstack.org/developer/h...) , but when I restart apache and navigate to the website, nothing comes up. Are you aware of any newer tutorials? Or debugging help?

lokI8 gravatar imagelokI8 ( 2014-03-26 13:31:19 -0500 )edit

If you following the information at http://docs.openstack.org/developer/h... and creating your own dashboard from scratch, it should work. If it doesn't, feel free to report a bug at https://bugs.launchpad.net/horizon/+f... so that we can fix it. Thanks!

jpichon gravatar imagejpichon ( 2014-03-27 10:52:59 -0500 )edit

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: 2014-03-26 00:34:05 -0500

Seen: 187 times

Last updated: Mar 26 '14