thanksd thanksd - 3 months ago 14
Python Question

Django "./manage.py bower install" tells me bower isn't installed when it is

I'm following the instructions from the django-bower setup readme here. I've installed django-bower (v5.1.0) via

$ pip install -r requirements.txt
(django-bower==5.1.0 is in my requirements.txt). Now I'm trying to run
$ ./manage.py bower install
(as per the instructions) but I'm getting this error:


BowerNotInstalled: Bower not installed, read instruction here - http://bower.io/


Trying to run
$ pip install django-bower
gives me a
Requirement already satisfied
message.

What am I missing?

Answer

That error message indicates that bower cannot be found. django-bower is properly installed.

Check the instructions here: https://bower.io/#install-bower:

npm install -g bower
Comments