[Qgis-community-team] error building docs locally

Richard Duivenvoorde richard at duif.net
Tue Oct 8 06:02:02 PDT 2013


> Hi,
> 
> no the same error, but maybe I do something wrong? Is there a howto, if I
> want to build it virtualenv?

https://github.com/qgis/QGIS-Website#qgis-website

so:

create a virtualenv AND activate it via:

source ./bin/activate

you'll see the name of the virtualenv then in your cursor. Eg, I see:

(sphinx)richard at mymachine

the idea of a virtual python environment is:
- activate it
- install the needed packages into that environment (then your global
env stays clean).
- do your thing in that environment
- deactivate it when ready

so the
pip install -r REQUIREMENTS.txt
you have to do after the activation/starting of your virtualenv

the error you show can have two reasons:
- either you installed the bootstrap theme in your global python env,
and are now trying to build into your virtual environment
- you are/build in you virtual environment, BUT you installed the
bootstrap in your global one

Let me know if more info is needed.

Regards,
Richard


More information about the Qgis-community-team mailing list