# Got some bad time to figure our how to install on Raspberry pi 3 B

**URL:** <https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401>\
**Category:** Get Help\
**Created:** [October 15, 2019, 12:10pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401 "2019-10-15T12:10:01Z")\
**Posts on this page:** 10\
**Page:** 3

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [January 13, 2020, 10:29pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/42 "2020-01-13T22:29:10Z")

</div>

Yeah, python library requirements can be challenging at times, it seems to work on a fresh install so something you updated might have messed with it, so yeah.

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [January 13, 2020, 11:14pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/43 "2020-01-13T23:14:13Z")

</div>

Well just before making a fresh install, i changed the config and made 1st priority the python3…  
Sadly it is downloading setuptools but returning that

> Requirement already up-to-date: setuptools in /usr/local/lib/python3.7/dist-packages (45.0.0)  
> File “/home/pi/Downloads/libretime-master/python\_apps/api\_clients/setup.py”, line 7  
> print script\_path  
> ^  
> SyntaxError: Missing parentheses in call to ‘print’. Did you mean print(script\_path)?

EDIT  
should i try to mess with the installer code?

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [January 14, 2020, 12:00am UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/44 "2020-01-14T00:00:36Z")

</div>

Like I said LibreTime doesn’t work with python 3 currently. Have you tried setting it up w/o modification and just running ./install -fiap ? If you do that on a fresh install of raspbian does it still fail ? Its possible that some python packages are installed by raspbian that aren’t installed by Debian buster and they are causing this issue. I’m sure its resolvable but I’d need to test it myself to probably tinker and find a solution.

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [January 14, 2020, 12:38am UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/45 "2020-01-14T00:38:06Z")

</div>

After a fresh install of the OS running the ./install -fiap i get the same message. I can’t understand why this is happened only through the HDD which is formated already to ext4. My latest try on the SD card was ok. As a solution, im thinking to try make the installation on the SD card and then clone the whole root on the HDD, what you think? (The same i mean “setuptools requires python \>=3.5”

_EDIT_  
Just did a fresh install on SD card, running through the same problem. Did anything changed so far? Lol  
The thing is that i’ve tried both python versions 2.7-3.5-3.7 and all three of them are coming with the same error! When i check my pip --version it shows that it running through 2.7 so it is not actually goes through 3.7 and that makes the problem right? is it anything changed on the LibreTime code that week so far? Im looking in supermassive black hole ☹

---

<div class="post-metadata">

**Author:** ![robbt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/robbt/32/15_2.png) [@robbt](https://discourse.libretime.org/u/robbt)\
**Post date:** [January 14, 2020, 3:12am UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/46 "2020-01-14T03:12:10Z")

</div>

This might be related to python 2 being deprecated on January 1, let me see if this happens on regular Debian buster. See if we can replicate, there has to be a workaround.

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [January 19, 2020, 11:17am UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/47 "2020-01-19T11:17:58Z")

</div>

Hey there Robb! Any news about that problem? Im really interested to read what you have to say about it

---

<div class="post-metadata">

**Author:** ![codenift](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/codenift/32/165_2.png) [@codenift](https://discourse.libretime.org/u/codenift)\
**Post date:** [January 20, 2020, 4:16am UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/48 "2020-01-20T04:16:34Z")

</div>

Quick workaround until the change to Python 3.

Adding this line to to install script:  
`loudCmd "pip install more-itertools"`

right under:  
` loudCmd "pip install setuptools --upgrade"`

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [January 21, 2020, 2:06pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/49 "2020-01-21T14:06:20Z")

</div>

Thanks so much, it seems that the installer moves through, but it still facing a problem which is stopping the installation

> Searching for zipp\>=0.5  
> Reading [Links for zipp](https://pypi.org/simple/zipp/)  
> Downloading [https://files.pythonhosted.org/packages/ee/f7/6c3ca4764a8025da9422825c2bc367fdc8dd115ebb52e4ef057f234938c4/zipp-2.0.0.tar.gz#sha256=7ae5ccaca427bafa9760ac3cd8f8c244bfc259794b5b6bb9db4dda2241575d09](https://files.pythonhosted.org/packages/ee/f7/6c3ca4764a8025da9422825c2bc367fdc8dd115ebb52e4ef057f234938c4/zipp-2.0.0.tar.gz#sha256=7ae5ccaca427bafa9760ac3cd8f8c244bfc259794b5b6bb9db4dda2241575d09)  
> Best match: zipp 2.0.0  
> Processing zipp-2.0.0.tar.gz  
> Writing /tmp/easy\_install-NJ75zj/zipp-2.0.0/setup.cfg  
> Running zipp-2.0.0/setup.py -q bdist\_egg --dist-dir /tmp/easy\_install-NJ75zj/zipp-2.0.0/egg-dist-tmp-G3zrhq  
> zip\_safe flag not set; analyzing archive contents…  
> Removing /usr/local/lib/python2.7/dist-packages/zipp-0.0.0-py2.7.egg  
> Moving zipp-0.0.0-py2.7.egg to /usr/local/lib/python2.7/dist-packages  
> zipp 0.0.0 is already the active version in easy-install.pth  
> Installed /usr/local/lib/python2.7/dist-packages/zipp-0.0.0-py2.7.egg  
> error: The ‘zipp\>=0.5’ distribution was not found and is required by importlib-metadata

you see on the end, it is a typo of the installation about the version of zipp installed and the one moved

---

<div class="post-metadata">

**Author:** ![codenift](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/codenift/32/165_2.png) [@codenift](https://discourse.libretime.org/u/codenift)\
**Post date:** [January 22, 2020, 6:08pm UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/50 "2020-01-22T18:08:00Z")

</div>

Ok, so it seems like zipp is the only tool needed from that package. I noticed it was updated to 2.0.0 as of 2 days ago which is causing this. We can replace that line I gave you with just the zipp package (previous version).

Change:  
`loudCmd "pip install more-itertools"`  
To this:  
`loudCmd "pip install zipp==1.0.0"`

---

<div class="post-metadata">

**Author:** ![hobb7t](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.libretime.org/hobb7t/32/222_2.png) [@hobb7t](https://discourse.libretime.org/u/hobb7t)\
**Post date:** [January 23, 2020, 1:05am UTC](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401/51 "2020-01-23T01:05:40Z")

</div>

It is working! thanks. Of course i have to install silan by my self as the installation doesn’t do it, which is kinda pain in the \*ss, as libavcodec56 missing but i managed to get it fixed by installing vlc which is including that libraries needed by silan, so everything fixed automatically. Mp3 files can be imported, now hopefully i will test it on streaming that week

[Previous page](https://discourse.libretime.org/t/got-some-bad-time-to-figure-our-how-to-install-on-raspberry-pi-3-b/401.md?page=2)
