Facing problem in installing new python dependencies for Horizon

asked 2014-12-14 23:02:34 -0500

swati-shukla1 gravatar image


I want to install 2 new modules in Horizon but have no clue how it installs in its virtualenv.

I mentioned pisa >= 3.0.33 and reportlab >= 2.5 in requirements.txt file, ran ./unstack.sh and ./stack.sh, but still do not get these installed in its virtualenv.

As a result, when I do ./run_tests.sh, I get " ImportError: No module named ho.pisa"

Please suggest me if I am going wrong somewhere or how to proceed with this.

Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-12-16 04:31:24 -0500

swati-shukla1 gravatar image

Hi, I managed to resolve this.

Please follow the below steps-

  1. Mention them in requirements.txt file
  2. Run tools/with_venv.sh pip install --upgrade -r /opt/stack/horizon/requirements.txt -r /opt/stack/horizon/test-requirements.txt
  3. sudo python tools/install_venv.py
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-14 23:02:34 -0500

Seen: 247 times

Last updated: Dec 16 '14