# How and where to add a missing library for Caffe2

**URL:** <https://deeptalk.lambda.ai/t/how-and-where-to-add-a-missing-library-for-caffe2/404>\
**Category:** Technical Help\
**Created:** [July 25, 2018, 7:39pm UTC](https://deeptalk.lambda.ai/t/how-and-where-to-add-a-missing-library-for-caffe2/404 "2018-07-25T19:39:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivogeorg](https://sea1.discourse-cdn.com/flex019/user_avatar/deeptalk.lambda.ai/ivogeorg/32/577_2.png) [@ivogeorg](https://deeptalk.lambda.ai/u/ivogeorg)\
**Post date:** [July 25, 2018, 7:39pm UTC](https://deeptalk.lambda.ai/t/how-and-where-to-add-a-missing-library-for-caffe2/404/1 "2018-07-25T19:39:51Z")

</div>

Hi guys,

How is Caffe2 installed as part of Lambda Stack and how can I administer the installation (and the stack installations in general)?

I get the following when I try to run a test for FB’s Detectron, for which I did all the installation steps (as laid out in [Install Detectron](https://github.com/facebookresearch/Detectron/blob/master/INSTALL.md)) except the Caffe2 update mentioned [here](https://github.com/facebookresearch/Detectron/blob/master/INSTALL.md):  
ivogeorg@turnaround:~/git-repos/Detectron$ python2 detectron/tests/test\_spatial\_narrow\_as\_op.py  
No handlers could be found for logger “caffe2.python.net\_drawer”  
net\_drawer will not run correctly. Please install the correct dependencies.  
Traceback (most recent call last):  
File “detectron/tests/test\_spatial\_narrow\_as\_op.py”, line 88, in   
c2\_utils.import\_detectron\_ops()  
File “/home/ivogeorg/git-repos/Detectron/detectron/utils/c2.py”, line 41, in import\_detectron\_ops  
detectron\_ops\_lib = envu.get\_detectron\_ops\_lib()  
File “/home/ivogeorg/git-repos/Detectron/detectron/utils/env.py”, line 71, in get\_detectron\_ops\_lib  
('Detectron ops lib not found; make sure that your Caffe2 ’  
AssertionError: Detectron ops lib not found; make sure that your Caffe2 version includes Detectron module

How do I update the stack’s Caffe2 with the missing library?

Thanks much,

Ivo

---

<div class="post-metadata">

**Author:** ![sabalaba](https://sea1.discourse-cdn.com/flex019/user_avatar/deeptalk.lambda.ai/sabalaba/32/4_2.png) [@sabalaba](https://deeptalk.lambda.ai/u/sabalaba)\
**Post date:** [August 9, 2018, 7:50pm UTC](https://deeptalk.lambda.ai/t/how-and-where-to-add-a-missing-library-for-caffe2/404/2 "2018-08-09T19:50:30Z")

</div>

Hi Ivo, quick answer is that you need to wait for a rolling release of the latest version of caffe2 to come onto Lambda Stack.

You can email [software@lambdalabs.com](mailto:software@lambdalabs.com) with this Caffe2 update request, I’ve notified our engineers about this request for update.
