<div dir="ltr">Hi,<br>Please post to the mailing list, other can also reply.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 28, 2014 at 2:36 PM, Shashi Essp <span dir="ltr"><<a href="mailto:shashiessp@gmail.com" target="_blank">shashiessp@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Jishnu,<div><br></div><div>I have installed all the dependencies and modules as mentioned in updated <a href="https://github.com/Project-SILPA/Silpa-Flask/blob/master/README" target="_blank">https://github.com/Project-SILPA/Silpa-Flask/blob/master/README</a> file, in my venv </div>

<div><br></div><div>still i m getting following error  </div><div><div><font color="#0b5394">Failed to import module scriptrender</font></div><div><font color="#0b5394">Traceback (most recent call last):</font></div><div>

<font color="#0b5394">  File "silpa.py", line 109, in <module></font></div><div><font color="#0b5394">    add_templates()</font></div><div><font color="#0b5394">  File "silpa.py", line 52, in add_templates</font></div>

<div><font color="#0b5394">    templates.append(PackageLoader(key))</font></div><div><font color="#0b5394">  File "/home/shashi/projectsilpa/venv/local/lib/python2.7/site-packages/jinja2/loaders.py", line 214, in __init__</font></div>

<div><font color="#0b5394">    provider = get_provider(package_name)</font></div><div><font color="#0b5394">  File "/home/shashi/projectsilpa/venv/local/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg/pkg_resources.py", line 219, in get_provider</font></div>

<div><font color="#0b5394">    __import__(moduleOrReq)</font></div><div><font color="#0b5394">  File "/home/shashi/projectsilpa/venv/local/lib/python2.7/site-packages/scriptrender-0.2.1-py2.7.egg/scriptrender/__init__.py", line 3, in <module></font></div>

<div><font color="#0b5394">    from core  import getInstance</font></div><div><font color="#0b5394">  File "/home/shashi/projectsilpa/venv/local/lib/python2.7/site-packages/scriptrender-0.2.1-py2.7.egg/scriptrender/core.py", line 21, in <module></font></div>

<div><font color="#0b5394">    import cairo</font></div><div class=""><div><font color="#0b5394">ImportError: No module named cairo</font></div></div></div><div><font color="#0b5394"><br></font></div><div>requesting for guidance to fix the problem</div>

<div><br></div><div><br></div><div>Regards</div><div>Shashi</div><div><a href="http://github.com/shashisp" target="_blank">http://github.com/shashisp</a> <br></div></div></blockquote><div> </div><div>Cairo doesn't work well inside virtual environment. So after installing it on system, you need to re-create virtual environment with "--system-site-packages" option.<br>
 </div></div><br>-- <br><div dir="ltr">Regards,<br>Jishnu<br><br><a href="http://blog.thecodecracker.com" target="_blank">http://blog.thecodecracker.com</a><br><a href="http://twitter.com/jishnu7" target="_blank">http://twitter.com/jishnu7</a></div>

</div></div>