# Import 3rd party library?

**URL:** <https://forums.plex.tv/t/import-3rd-party-library/205891>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [September 11, 2017, 7:34pm UTC](https://forums.plex.tv/t/import-3rd-party-library/205891 "2017-09-11T19:34:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![FezVrasta](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/fezvrasta/32/94535_2.png) [@FezVrasta](https://forums.plex.tv/u/FezVrasta)\
**Post date:** [September 11, 2017, 7:34pm UTC](https://forums.plex.tv/t/import-3rd-party-library/205891/1 "2017-09-11T19:34:06Z")

</div>

Hi, I have been trying to import the lib `guessit` into my Plex Channel, but it always says `ImportError: No module named guessit`

My structure is:

```auto
/Code
/Libraries/Shared/guessit

```

Inside `guessit` I have the library, with its ` __init__.py` file.

I tried to import it with:

```auto
from guessit import guessit

import guessit

```

but both the cases return the same error.

How can I do?

---

<div class="post-metadata">

**Author:** ![dane22](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dane22/32/4389_2.png) [@dane22](https://forums.plex.tv/u/dane22)\
**Post date:** [September 11, 2017, 8:30pm UTC](https://forums.plex.tv/t/import-3rd-party-library/205891/2 "2017-09-11T20:30:21Z")

</div>

Haven’t tried it myself, but do know that Sub-Zero use it as well, so might wanna check it’s git

/T

---

<div class="post-metadata">

**Author:** ![czukowski](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/czukowski/32/9008_2.png) [@czukowski](https://forums.plex.tv/u/czukowski)\
**Post date:** [September 11, 2017, 8:42pm UTC](https://forums.plex.tv/t/import-3rd-party-library/205891/3 "2017-09-11T20:42:35Z")

</div>

@FezVrasta

The channel needs to run with an elevated policy in order to import from shared libraries. Alternatively it is possible to add its path to `sys.path` manually, but it seems like an unnecessary hassle.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 8:05pm UTC](https://forums.plex.tv/t/import-3rd-party-library/205891/4 "2020-01-08T20:05:11Z")

</div>


