# When installing dlib getting some error

**URL:** <https://forums.developer.nvidia.com/t/when-installing-dlib-getting-some-error/257219>\
**Category:** DeepStream SDK\
**Tags:** gstreamer\
**Created:** [June 20, 2023, 6:49am UTC](https://forums.developer.nvidia.com/t/when-installing-dlib-getting-some-error/257219 "2023-06-20T06:49:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pandian](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@pandian](https://forums.developer.nvidia.com/u/pandian)\
**Post date:** [June 20, 2023, 6:49am UTC](https://forums.developer.nvidia.com/t/when-installing-dlib-getting-some-error/257219/1 "2023-06-20T06:49:18Z")

</div>

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU)** Jetson  
**• DeepStream Version** - 6.0.1  
**• JetPack Version (valid for Jetson only)** - 4.6.3  
**• TensorRT Version** - 8.4  
**• NVIDIA GPU Driver Version (valid for GPU only)** - 10.2  
**• Issue Type( questions, new requirements, bugs)**- when i try install dlib in jetson geting this and installed dlib version is 19.18.0 and face\_recognition version is 1.2.3  
**• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)**  
**• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)**

jetson@ubuntu:~$ python3  
Python 3.6.9 (default, Mar 10 2023, 16:46:00)  
[GCC 8.4.0] on linux  
Type “help”, “copyright”, “credits” or “license” for more information.

> > > import face\_recognition  
> > > Traceback (most recent call last):  
> > > File “”, line 1, in   
> > > File “/home/jetson/.local/lib/python3.6/site-packages/face\_recognition/ **init**.py”, line 7, in   
> > > from .api import load\_image\_file, face\_locations, batch\_face\_locations, face\_landmarks, face\_encodings, compare\_faces, face\_distance  
> > > File “/home/jetson/.local/lib/python3.6/site-packages/face\_recognition/api.py”, line 18, in   
> > > pose\_predictor\_68\_point = dlib.shape\_predictor(predictor\_68\_point\_model)  
> > > RuntimeError: Error deserializing object of type short  
> > > while deserializing a floating point number.  
> > > while deserializing a dlib::matrix  
> > > while deserializing object of type std::vector  
> > > while deserializing object of type std::vector  
> > > while deserializing object of type std::vector

---

<div class="post-metadata">

**Author:** ![junshengy](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/junshengy/32/251332_2.png) [@junshengy](https://forums.developer.nvidia.com/u/junshengy)\
**Post date:** [June 20, 2023, 9:37am UTC](https://forums.developer.nvidia.com/t/when-installing-dlib-getting-some-error/257219/3 "2023-06-20T09:37:28Z")

</div>

**There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks**

This forum is talk about DeepStream.

Please use Google for help.

> <https://stackoverflow.com/questions/43981231/dlib-error-deserializing-object-of-type-short>

Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [July 18, 2023, 3:09am UTC](https://forums.developer.nvidia.com/t/when-installing-dlib-getting-some-error/257219/5 "2023-07-18T03:09:37Z")

</div>

Closed on July 18, 2023, 3:09am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
