# Exception: Python 2 no longer supported

**URL:** <https://discourse.libretime.org/t/exception-python-2-no-longer-supported/466>\
**Category:** Get Help\
**Created:** [February 11, 2020, 11:38pm UTC](https://discourse.libretime.org/t/exception-python-2-no-longer-supported/466 "2020-02-11T23:38:26Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Izambar](https://avatars.discourse-cdn.com/v4/letter/i/a4c791/32.png) [@Izambar](https://discourse.libretime.org/u/Izambar)\
**Post date:** [February 11, 2020, 11:38pm UTC](https://discourse.libretime.org/t/exception-python-2-no-longer-supported/466/1 "2020-02-11T23:38:26Z")

</div>

Hello,

ubuntu 18.04  
Libretime 3.0.0-alpha8

I keep running in the following exception during the installation:

Exception: Python 2 no longer supported.

Any suggestions ?

Thanks

---

<div class="post-metadata">

**Author:** ![montasirmohamed](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/montasirmohamed/32/259_2.png) [@montasirmohamed](https://discourse.libretime.org/u/montasirmohamed)\
**Post date:** [February 14, 2020, 9:38am UTC](https://discourse.libretime.org/t/exception-python-2-no-longer-supported/466/2 "2020-02-14T09:38:10Z")

</div>

Hi  
I’m facing the same problem an yet no solution  
I tried changing date, update/downgrade pip setuptools but still cannot figures out the problem  
.

---

<div class="post-metadata">

**Author:** ![Izambar](https://avatars.discourse-cdn.com/v4/letter/i/a4c791/32.png) [@Izambar](https://discourse.libretime.org/u/Izambar)\
**Post date:** [February 14, 2020, 3:27pm UTC](https://discourse.libretime.org/t/exception-python-2-no-longer-supported/466/3 "2020-02-14T15:27:26Z")

</div>

File “/tmp/easy\_install-44m5p\_/mutagen-1.44.0/setup.py”, line 246, in

Exception: Python 2 no longer supported

Latest version of mutagen no longer support python2

# Changelog

## 1.44.0 - 2020-02-10

- Python 2 is no longer supported [#410](https://github.com/quodlibet/mutagen/issues/410)

So in /python\_apps/airtime\_analyzer/setup.py

I have changed

mutagen\>=1.41.1  
to  
mutagen==1.43.0

With this change I managed to finish the installation on debian buster

---

<div class="post-metadata">

**Author:** ![montasirmohamed](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/montasirmohamed/32/259_2.png) [@montasirmohamed](https://discourse.libretime.org/u/montasirmohamed)\
**Post date:** [February 18, 2020, 7:25pm UTC](https://discourse.libretime.org/t/exception-python-2-no-longer-supported/466/4 "2020-02-18T19:25:55Z")

</div>

Hi,

Didn’t work for me, still the same error Python 2 No longer supported 🙁

---

<div class="post-metadata">

**Author:** ![kmahelona](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/kmahelona/32/807_2.png) [@kmahelona](https://discourse.libretime.org/u/kmahelona)\
**Post date:** [February 19, 2020, 4:08am UTC](https://discourse.libretime.org/t/exception-python-2-no-longer-supported/466/5 "2020-02-19T04:08:57Z")

</div>

Hey everyone, yup I just ran into this as well. You can fix this manually if you want to get your install working. I’ve created a PR to get this fixed: [https://github.com/LibreTime/libretime/pull/960](https://github.com/LibreTime/libretime/pull/960)

My suggestion, if you just want a quick fix to get this installed, is to change this file:

[python\_apps/airtime\_analyzer/setup.py](https://github.com/LibreTime/libretime/pull/960/commits/f6f536c749ac8b6ac0c503411142b7ffaafc266b)

---

<div class="post-metadata">

**Author:** ![montasirmohamed](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/montasirmohamed/32/259_2.png) [@montasirmohamed](https://discourse.libretime.org/u/montasirmohamed)\
**Post date:** [February 23, 2020, 5:03pm UTC](https://discourse.libretime.org/t/exception-python-2-no-longer-supported/466/6 "2020-02-23T17:03:04Z")

</div>

Thank thank thank you kmahelona

---

<div class="post-metadata">

**Author:** ![montasirmohamed](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/montasirmohamed/32/259_2.png) [@montasirmohamed](https://discourse.libretime.org/u/montasirmohamed)\
**Post date:** [February 23, 2020, 5:03pm UTC](https://discourse.libretime.org/t/exception-python-2-no-longer-supported/466/7 "2020-02-23T17:03:16Z")

</div>

Thank thank thank you Izambr

---

<div class="post-metadata">

**Author:** ![kmahelona](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/kmahelona/32/807_2.png) [@kmahelona](https://discourse.libretime.org/u/kmahelona)\
**Post date:** [February 23, 2020, 9:38pm UTC](https://discourse.libretime.org/t/exception-python-2-no-longer-supported/466/8 "2020-02-23T21:38:53Z")

</div>

You’re welcome. The PR has been pulled into the master branch so I think you’d be safe to use that rather that what I linked above.
