pip install BiblioPixel won't Raspberry zero w

Everytime I try to Pip install BiblioPixel I get this output(cont below) can anyone help me?

pi@raspberrypi:~ $ sudo pip install BiblioPixel

Collecting BiblioPixel

Using cached https://files.pythonhosted.org/packages/86/2f/437d1f0606a9b516393bcddfe8854c855caa9b703124a9ddc49d885c7194/BiblioPixel-3.4.18.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File “”, line 1, in

File “/tmp/pip-build-jlz_vX/BiblioPixel/setup.py”, line 42

printer = print # noqa: T001

^

SyntaxError: invalid syntax

···

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jlz_vX/BiblioPixel/

Try replacing pip with pip3

···

On Monday, June 18, 2018 at 9:58:42 PM UTC+1, Tiron Sam wrote:

Everytime I try to Pip install BiblioPixel I get this output(cont below) can anyone help me?

pi@raspberrypi:~ $ sudo pip install BiblioPixel

Collecting BiblioPixel

Using cached https://files.pythonhosted.org/packages/86/2f/437d1f0606a9b516393bcddfe8854c855caa9b703124a9ddc49d885c7194/BiblioPixel-3.4.18.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File “”, line 1, in

File “/tmp/pip-build-jlz_vX/BiblioPixel/setup.py”, line 42

printer = print # noqa: T001

^

SyntaxError: invalid syntax


Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jlz_vX/BiblioPixel/

or i get this when i run it this way

pi@raspberrypi:~ $ pip install BiblioPixel

Traceback (most recent call last):

File “/usr/bin/pip”, line 9, in

from pip import main

ImportError: cannot import name main

···

On Monday, June 18, 2018 at 1:58:42 PM UTC-7, Tiron Sam wrote:

Everytime I try to Pip install BiblioPixel I get this output(cont below) can anyone help me?

pi@raspberrypi:~ $ sudo pip install BiblioPixel

Collecting BiblioPixel

Using cached https://files.pythonhosted.org/packages/86/2f/437d1f0606a9b516393bcddfe8854c855caa9b703124a9ddc49d885c7194/BiblioPixel-3.4.18.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File “”, line 1, in

File “/tmp/pip-build-jlz_vX/BiblioPixel/setup.py”, line 42

printer = print # noqa: T001

^

SyntaxError: invalid syntax


Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jlz_vX/BiblioPixel/

What Adam Davies said :wink:
Though to expand on that… BiblioPixel requires Python 3.4 or higher. The Pi Zero W should include Python 3.5 out of the box.
Since Py3 isn’t the default you need to call pip3 and python3 instead of pip and python
However, I highly recommend using a virtualenv!!!
pip install virtualenv # yes, with python2 in this case
virtualenv -p python3 bibliopixel
source ./bibliopixel/bin/activate

Then you can just run pip and python but it will be python3.

As for the other error you are getting without sudo, unless you use a virtualenv you must install with sudo. However that error implies you have an old pip. Possibly an old raspbian.
Follow this to update Raspbian: https://www.raspberrypi.org/documentation/raspbian/updating.md
For pip…. sudo python -m pip install --upgrade pip & sudo python3 -m pip install --upgrade pip and pip will be upgrade to latest.

···

On Mon, Jun 18, 2018 at 5:08 PM ‘Adam Davies’ via Maniacal Labs Users maniacal-labs-users@googlegroups.com wrote:

Try replacing pip with pip3

On Monday, June 18, 2018 at 9:58:42 PM UTC+1, Tiron Sam wrote:

Everytime I try to Pip install BiblioPixel I get this output(cont below) can anyone help me?

pi@raspberrypi:~ $ sudo pip install BiblioPixel

Collecting BiblioPixel

Using cached https://files.pythonhosted.org/packages/86/2f/437d1f0606a9b516393bcddfe8854c855caa9b703124a9ddc49d885c7194/BiblioPixel-3.4.18.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File “”, line 1, in

File “/tmp/pip-build-jlz_vX/BiblioPixel/setup.py”, line 42

printer = print # noqa: T001

^

SyntaxError: invalid syntax


Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jlz_vX/BiblioPixel/

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/29890e95-3c42-448f-9f34-f4dc40b6eb34%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

^^That. Caught me out a few times when I first started.

Apologies for my brevity Tiron, I’m currently on a train home to my own bed after what has been a very long week at work on the road.

A

···

On Monday, June 18, 2018 at 10:14:52 PM UTC+1, Adam Haile wrote:

What Adam Davies said :wink:
Though to expand on that… BiblioPixel requires Python 3.4 or higher. The Pi Zero W should include Python 3.5 out of the box.
Since Py3 isn’t the default you need to call pip3 and python3 instead of pip and python
However, I highly recommend using a virtualenv!!!
pip install virtualenv # yes, with python2 in this case
virtualenv -p python3 bibliopixel
source ./bibliopixel/bin/activate

Then you can just run pip and python but it will be python3.

As for the other error you are getting without sudo, unless you use a virtualenv you must install with sudo. However that error implies you have an old pip. Possibly an old raspbian.
Follow this to update Raspbian: https://www.raspberrypi.org/documentation/raspbian/updating.md
For pip…. sudo python -m pip install --upgrade pip & sudo python3 -m pip install --upgrade pip and pip will be upgrade to latest.

On Mon, Jun 18, 2018 at 5:08 PM ‘Adam Davies’ via Maniacal Labs Users maniacal-...@googlegroups.com wrote:

Try replacing pip with pip3

On Monday, June 18, 2018 at 9:58:42 PM UTC+1, Tiron Sam wrote:

Everytime I try to Pip install BiblioPixel I get this output(cont below) can anyone help me?

pi@raspberrypi:~ $ sudo pip install BiblioPixel

Collecting BiblioPixel

Using cached https://files.pythonhosted.org/packages/86/2f/437d1f0606a9b516393bcddfe8854c855caa9b703124a9ddc49d885c7194/BiblioPixel-3.4.18.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File “”, line 1, in

File “/tmp/pip-build-jlz_vX/BiblioPixel/setup.py”, line 42

printer = print # noqa: T001

^

SyntaxError: invalid syntax


Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jlz_vX/BiblioPixel/

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/29890e95-3c42-448f-9f34-f4dc40b6eb34%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

that worked i think but now when i try to run the test i get this
pi@raspberrypi:~ $ sudo pip install virtualenv

Collecting virtualenv

Downloading https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl (1.9MB)

100% |████████████████████████████████| 1.9MB 24kB/s 

Installing collected packages: virtualenv

Successfully installed virtualenv-16.0.0

pi@raspberrypi:~ $ virtualenv -p python3 bibliopixel

Running virtualenv with interpreter /usr/bin/python3

Using base prefix ‘/usr’

New python executable in /home/pi/bibliopixel/bin/python3

Also creating executable in /home/pi/bibliopixel/bin/python

Installing setuptools, pip, wheel…done.

pi@raspberrypi:~ $ BiblioPixel demo

bash: BiblioPixel: command not found

pi@raspberrypi:~ $ source ./bibliopixel/bin/activate

i upgrade pip yesterday when I first got the error it’s at ver 10.0.1

···

On Monday, June 18, 2018 at 2:14:52 PM UTC-7, Adam Haile wrote:

What Adam Davies said :wink:
Though to expand on that… BiblioPixel requires Python 3.4 or higher. The Pi Zero W should include Python 3.5 out of the box.
Since Py3 isn’t the default you need to call pip3 and python3 instead of pip and python
However, I highly recommend using a virtualenv!!!
pip install virtualenv # yes, with python2 in this case
virtualenv -p python3 bibliopixel
source ./bibliopixel/bin/activate

Then you can just run pip and python but it will be python3.

As for the other error you are getting without sudo, unless you use a virtualenv you must install with sudo. However that error implies you have an old pip. Possibly an old raspbian.
Follow this to update Raspbian: https://www.raspberrypi.org/documentation/raspbian/updating.md
For pip…. sudo python -m pip install --upgrade pip & sudo python3 -m pip install --upgrade pip and pip will be upgrade to latest.

On Mon, Jun 18, 2018 at 5:08 PM ‘Adam Davies’ via Maniacal Labs Users maniacal-...@googlegroups.com wrote:

Try replacing pip with pip3

On Monday, June 18, 2018 at 9:58:42 PM UTC+1, Tiron Sam wrote:

Everytime I try to Pip install BiblioPixel I get this output(cont below) can anyone help me?

pi@raspberrypi:~ $ sudo pip install BiblioPixel

Collecting BiblioPixel

Using cached https://files.pythonhosted.org/packages/86/2f/437d1f0606a9b516393bcddfe8854c855caa9b703124a9ddc49d885c7194/BiblioPixel-3.4.18.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File “”, line 1, in

File “/tmp/pip-build-jlz_vX/BiblioPixel/setup.py”, line 42

printer = print # noqa: T001

^

SyntaxError: invalid syntax


Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jlz_vX/BiblioPixel/

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/29890e95-3c42-448f-9f34-f4dc40b6eb34%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

No problem i’m thankful for any help at all , i hope you’re having a safe trip home

···

On Monday, June 18, 2018 at 2:17:16 PM UTC-7, Adam Davies wrote:

^^That. Caught me out a few times when I first started.

Apologies for my brevity Tiron, I’m currently on a train home to my own bed after what has been a very long week at work on the road.

A

On Monday, June 18, 2018 at 10:14:52 PM UTC+1, Adam Haile wrote:

What Adam Davies said :wink:
Though to expand on that… BiblioPixel requires Python 3.4 or higher. The Pi Zero W should include Python 3.5 out of the box.
Since Py3 isn’t the default you need to call pip3 and python3 instead of pip and python
However, I highly recommend using a virtualenv!!!
pip install virtualenv # yes, with python2 in this case
virtualenv -p python3 bibliopixel
source ./bibliopixel/bin/activate

Then you can just run pip and python but it will be python3.

As for the other error you are getting without sudo, unless you use a virtualenv you must install with sudo. However that error implies you have an old pip. Possibly an old raspbian.
Follow this to update Raspbian: https://www.raspberrypi.org/documentation/raspbian/updating.md
For pip…. sudo python -m pip install --upgrade pip & sudo python3 -m pip install --upgrade pip and pip will be upgrade to latest.

On Mon, Jun 18, 2018 at 5:08 PM ‘Adam Davies’ via Maniacal Labs Users maniacal-...@googlegroups.com wrote:

Try replacing pip with pip3

On Monday, June 18, 2018 at 9:58:42 PM UTC+1, Tiron Sam wrote:

Everytime I try to Pip install BiblioPixel I get this output(cont below) can anyone help me?

pi@raspberrypi:~ $ sudo pip install BiblioPixel

Collecting BiblioPixel

Using cached https://files.pythonhosted.org/packages/86/2f/437d1f0606a9b516393bcddfe8854c855caa9b703124a9ddc49d885c7194/BiblioPixel-3.4.18.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File “”, line 1, in

File “/tmp/pip-build-jlz_vX/BiblioPixel/setup.py”, line 42

printer = print # noqa: T001

^

SyntaxError: invalid syntax


Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jlz_vX/BiblioPixel/

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/29890e95-3c42-448f-9f34-f4dc40b6eb34%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You still need to install BiblioPixel inside the virtual environment. Also it’s lowercase, just bp is the suggest use.

···

On Mon, Jun 18, 2018, 5:40 PM Tiron Sam slyac3@gmail.com wrote:

that worked i think but now when i try to run the test i get this
pi@raspberrypi:~ $ sudo pip install virtualenv

Collecting virtualenv

Downloading https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl (1.9MB)

100% |████████████████████████████████| 1.9MB 24kB/s 

Installing collected packages: virtualenv

Successfully installed virtualenv-16.0.0

pi@raspberrypi:~ $ virtualenv -p python3 bibliopixel

Running virtualenv with interpreter /usr/bin/python3

Using base prefix ‘/usr’

New python executable in /home/pi/bibliopixel/bin/python3

Also creating executable in /home/pi/bibliopixel/bin/python

Installing setuptools, pip, wheel…done.

pi@raspberrypi:~ $ BiblioPixel demo

bash: BiblioPixel: command not found

pi@raspberrypi:~ $ source ./bibliopixel/bin/activate

i upgrade pip yesterday when I first got the error it’s at ver 10.0.1

On Monday, June 18, 2018 at 2:14:52 PM UTC-7, Adam Haile wrote:

What Adam Davies said :wink:
Though to expand on that… BiblioPixel requires Python 3.4 or higher. The Pi Zero W should include Python 3.5 out of the box.
Since Py3 isn’t the default you need to call pip3 and python3 instead of pip and python
However, I highly recommend using a virtualenv!!!
pip install virtualenv # yes, with python2 in this case
virtualenv -p python3 bibliopixel
source ./bibliopixel/bin/activate

Then you can just run pip and python but it will be python3.

As for the other error you are getting without sudo, unless you use a virtualenv you must install with sudo. However that error implies you have an old pip. Possibly an old raspbian.
Follow this to update Raspbian: https://www.raspberrypi.org/documentation/raspbian/updating.md
For pip…. sudo python -m pip install --upgrade pip & sudo python3 -m pip install --upgrade pip and pip will be upgrade to latest.

On Mon, Jun 18, 2018 at 5:08 PM ‘Adam Davies’ via Maniacal Labs Users maniacal-...@googlegroups.com wrote:

Try replacing pip with pip3

On Monday, June 18, 2018 at 9:58:42 PM UTC+1, Tiron Sam wrote:

Everytime I try to Pip install BiblioPixel I get this output(cont below) can anyone help me?

pi@raspberrypi:~ $ sudo pip install BiblioPixel

Collecting BiblioPixel

Using cached https://files.pythonhosted.org/packages/86/2f/437d1f0606a9b516393bcddfe8854c855caa9b703124a9ddc49d885c7194/BiblioPixel-3.4.18.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File “”, line 1, in

File “/tmp/pip-build-jlz_vX/BiblioPixel/setup.py”, line 42

printer = print # noqa: T001

^

SyntaxError: invalid syntax


Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jlz_vX/BiblioPixel/

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/29890e95-3c42-448f-9f34-f4dc40b6eb34%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/10d16962-de62-4d0e-8211-da249adb068b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Did that too still getting the same problem

(bibliopixel) pi@raspberrypi:~ $ pip3 install bibliopixel

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple

Collecting bibliopixel

Collecting numpy (from bibliopixel)

Collecting BiblioPixelTriggers (from bibliopixel)

Using cached https://www.piwheels.org/simple/bibliopixeltriggers/BiblioPixelTriggers-1.0.2-py3-none-any.whl

Collecting flask (from bibliopixel)

Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl

Collecting BiblioPixelAnimations (from bibliopixel)

Collecting pyyaml (from bibliopixel)

Using cached https://www.piwheels.org/simple/pyyaml/PyYAML-3.12-cp35-cp35m-linux_armv6l.whl

Collecting loady (from bibliopixel)

Using cached https://www.piwheels.org/simple/loady/loady-1.8.10-py3-none-any.whl

Collecting pyserial (from bibliopixel)

Using cached https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl

Collecting croniter (from BiblioPixelTriggers->bibliopixel)

Using cached https://www.piwheels.org/simple/croniter/croniter-0.3.23-py2.py3-none-any.whl

Collecting click>=5.1 (from flask->bibliopixel)

Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl

Collecting itsdangerous>=0.24 (from flask->bibliopixel)

Using cached https://www.piwheels.org/simple/itsdangerous/itsdangerous-0.24-py3-none-any.whl

Collecting Werkzeug>=0.14 (from flask->bibliopixel)

Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl

Collecting Jinja2>=2.10 (from flask->bibliopixel)

Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl

Collecting beautifulsoup4 (from loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/9e/d4/10f46e5cfac773e22707237bfcd51bbffeaf0a576b0a847ec7ab15bd7ace/beautifulsoup4-4.6.0-py3-none-any.whl

Collecting requests (from loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl

Collecting GitPython (from loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/ac/c9/96d7c86c623cb065976e58c0f4898170507724d6b4be872891d763d686f4/GitPython-2.1.10-py2.py3-none-any.whl

Collecting python-dateutil (from croniter->BiblioPixelTriggers->bibliopixel)

Using cached https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl

Collecting MarkupSafe>=0.23 (from Jinja2>=2.10->flask->bibliopixel)

Using cached https://www.piwheels.org/simple/markupsafe/MarkupSafe-1.0-cp35-cp35m-linux_armv6l.whl

Collecting urllib3<1.24,>=1.21.1 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl

Collecting chardet<3.1.0,>=3.0.2 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl

Collecting certifi>=2017.4.17 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl

Collecting idna<2.8,>=2.5 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl

Collecting gitdb2>=2.0.0 (from GitPython->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/e0/95/c772c13b7c5740ec1a0924250e6defbf5dfdaee76a50d1c47f9c51f1cabb/gitdb2-2.0.3-py2.py3-none-any.whl

Collecting six>=1.5 (from python-dateutil->croniter->BiblioPixelTriggers->bibliopixel)

Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl

Collecting smmap2>=2.0.0 (from gitdb2>=2.0.0->GitPython->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/e3/59/4e22f692e65f5f9271252a8e63f04ce4ad561d4e06192478ee48dfac9611/smmap2-2.0.3-py2.py3-none-any.whl

Installing collected packages: numpy, six, python-dateutil, croniter, BiblioPixelTriggers, click, itsdangerous, Werkzeug, MarkupSafe, Jinja2, flask, BiblioPixelAnimations, pyyaml, beautifulsoup4, urllib3, chardet, certifi, idna, requests, smmap2, gitdb2, GitPython, loady, pyserial, bibliopixel

Successfully installed BiblioPixelAnimations-3.20180419.113700 BiblioPixelTriggers-1.0.2 GitPython-2.1.10 Jinja2-2.10 MarkupSafe-1.0 Werkzeug-0.14.1 beautifulsoup4-4.6.0 bibliopixel-3.4.18 certifi-2018.4.16 chardet-3.0.4 click-6.7 croniter-0.3.23 flask-1.0.2 gitdb2-2.0.3 idna-2.7 itsdangerous-0.24 loady-1.8.10 numpy-1.14.5 pyserial-3.4 python-dateutil-2.7.3 pyyaml-3.12 requests-2.19.1 six-1.11.0 smmap2-2.0.3 urllib3-1.23

(bibliopixel) pi@raspberrypi:~ $ Bibliopixel demo

bash: Bibliopixel: command not found

···

On Monday, June 18, 2018 at 2:47:17 PM UTC-7, Adam Haile wrote:

You still need to install BiblioPixel inside the virtual environment. Also it’s lowercase, just bp is the suggest use.

On Mon, Jun 18, 2018, 5:40 PM Tiron Sam sly...@gmail.com wrote:

that worked i think but now when i try to run the test i get this
pi@raspberrypi:~ $ sudo pip install virtualenv

Collecting virtualenv

Downloading https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl (1.9MB)

100% |████████████████████████████████| 1.9MB 24kB/s 

Installing collected packages: virtualenv

Successfully installed virtualenv-16.0.0

pi@raspberrypi:~ $ virtualenv -p python3 bibliopixel

Running virtualenv with interpreter /usr/bin/python3

Using base prefix ‘/usr’

New python executable in /home/pi/bibliopixel/bin/python3

Also creating executable in /home/pi/bibliopixel/bin/python

Installing setuptools, pip, wheel…done.

pi@raspberrypi:~ $ BiblioPixel demo

bash: BiblioPixel: command not found

pi@raspberrypi:~ $ source ./bibliopixel/bin/activate

i upgrade pip yesterday when I first got the error it’s at ver 10.0.1

On Monday, June 18, 2018 at 2:14:52 PM UTC-7, Adam Haile wrote:

What Adam Davies said :wink:
Though to expand on that… BiblioPixel requires Python 3.4 or higher. The Pi Zero W should include Python 3.5 out of the box.
Since Py3 isn’t the default you need to call pip3 and python3 instead of pip and python
However, I highly recommend using a virtualenv!!!
pip install virtualenv # yes, with python2 in this case
virtualenv -p python3 bibliopixel
source ./bibliopixel/bin/activate

Then you can just run pip and python but it will be python3.

As for the other error you are getting without sudo, unless you use a virtualenv you must install with sudo. However that error implies you have an old pip. Possibly an old raspbian.
Follow this to update Raspbian: https://www.raspberrypi.org/documentation/raspbian/updating.md
For pip…. sudo python -m pip install --upgrade pip & sudo python3 -m pip install --upgrade pip and pip will be upgrade to latest.

On Mon, Jun 18, 2018 at 5:08 PM ‘Adam Davies’ via Maniacal Labs Users maniacal-...@googlegroups.com wrote:

Try replacing pip with pip3

On Monday, June 18, 2018 at 9:58:42 PM UTC+1, Tiron Sam wrote:

Everytime I try to Pip install BiblioPixel I get this output(cont below) can anyone help me?

pi@raspberrypi:~ $ sudo pip install BiblioPixel

Collecting BiblioPixel

Using cached https://files.pythonhosted.org/packages/86/2f/437d1f0606a9b516393bcddfe8854c855caa9b703124a9ddc49d885c7194/BiblioPixel-3.4.18.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File “”, line 1, in

File “/tmp/pip-build-jlz_vX/BiblioPixel/setup.py”, line 42

printer = print # noqa: T001

^

SyntaxError: invalid syntax


Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jlz_vX/BiblioPixel/

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/29890e95-3c42-448f-9f34-f4dc40b6eb34%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/10d16962-de62-4d0e-8211-da249adb068b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

It’s bibliopixel or bp, all lower case.

···

On Mon, Jun 18, 2018 at 6:10 PM Tiron Sam slyac3@gmail.com wrote:

Did that too still getting the same problem

(bibliopixel) pi@raspberrypi:~ $ pip3 install bibliopixel

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple

Collecting bibliopixel

Collecting numpy (from bibliopixel)

Collecting BiblioPixelTriggers (from bibliopixel)

Using cached https://www.piwheels.org/simple/bibliopixeltriggers/BiblioPixelTriggers-1.0.2-py3-none-any.whl

Collecting flask (from bibliopixel)

Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl

Collecting BiblioPixelAnimations (from bibliopixel)

Collecting pyyaml (from bibliopixel)

Using cached https://www.piwheels.org/simple/pyyaml/PyYAML-3.12-cp35-cp35m-linux_armv6l.whl

Collecting loady (from bibliopixel)

Using cached https://www.piwheels.org/simple/loady/loady-1.8.10-py3-none-any.whl

Collecting pyserial (from bibliopixel)

Using cached https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl

Collecting croniter (from BiblioPixelTriggers->bibliopixel)

Using cached https://www.piwheels.org/simple/croniter/croniter-0.3.23-py2.py3-none-any.whl

Collecting click>=5.1 (from flask->bibliopixel)

Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl

Collecting itsdangerous>=0.24 (from flask->bibliopixel)

Using cached https://www.piwheels.org/simple/itsdangerous/itsdangerous-0.24-py3-none-any.whl

Collecting Werkzeug>=0.14 (from flask->bibliopixel)

Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl

Collecting Jinja2>=2.10 (from flask->bibliopixel)

Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl

Collecting beautifulsoup4 (from loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/9e/d4/10f46e5cfac773e22707237bfcd51bbffeaf0a576b0a847ec7ab15bd7ace/beautifulsoup4-4.6.0-py3-none-any.whl

Collecting requests (from loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl

Collecting GitPython (from loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/ac/c9/96d7c86c623cb065976e58c0f4898170507724d6b4be872891d763d686f4/GitPython-2.1.10-py2.py3-none-any.whl

Collecting python-dateutil (from croniter->BiblioPixelTriggers->bibliopixel)

Using cached https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl

Collecting MarkupSafe>=0.23 (from Jinja2>=2.10->flask->bibliopixel)

Using cached https://www.piwheels.org/simple/markupsafe/MarkupSafe-1.0-cp35-cp35m-linux_armv6l.whl

Collecting urllib3<1.24,>=1.21.1 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl

Collecting chardet<3.1.0,>=3.0.2 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl

Collecting certifi>=2017.4.17 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl

Collecting idna<2.8,>=2.5 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl

Collecting gitdb2>=2.0.0 (from GitPython->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/e0/95/c772c13b7c5740ec1a0924250e6defbf5dfdaee76a50d1c47f9c51f1cabb/gitdb2-2.0.3-py2.py3-none-any.whl

Collecting six>=1.5 (from python-dateutil->croniter->BiblioPixelTriggers->bibliopixel)

Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl

Collecting smmap2>=2.0.0 (from gitdb2>=2.0.0->GitPython->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/e3/59/4e22f692e65f5f9271252a8e63f04ce4ad561d4e06192478ee48dfac9611/smmap2-2.0.3-py2.py3-none-any.whl

Installing collected packages: numpy, six, python-dateutil, croniter, BiblioPixelTriggers, click, itsdangerous, Werkzeug, MarkupSafe, Jinja2, flask, BiblioPixelAnimations, pyyaml, beautifulsoup4, urllib3, chardet, certifi, idna, requests, smmap2, gitdb2, GitPython, loady, pyserial, bibliopixel

Successfully installed BiblioPixelAnimations-3.20180419.113700 BiblioPixelTriggers-1.0.2 GitPython-2.1.10 Jinja2-2.10 MarkupSafe-1.0 Werkzeug-0.14.1 beautifulsoup4-4.6.0 bibliopixel-3.4.18 certifi-2018.4.16 chardet-3.0.4 click-6.7 croniter-0.3.23 flask-1.0.2 gitdb2-2.0.3 idna-2.7 itsdangerous-0.24 loady-1.8.10 numpy-1.14.5 pyserial-3.4 python-dateutil-2.7.3 pyyaml-3.12 requests-2.19.1 six-1.11.0 smmap2-2.0.3 urllib3-1.23

(bibliopixel) pi@raspberrypi:~ $ Bibliopixel demo

bash: Bibliopixel: command not found

On Monday, June 18, 2018 at 2:47:17 PM UTC-7, Adam Haile wrote:

You still need to install BiblioPixel inside the virtual environment. Also it’s lowercase, just bp is the suggest use.

On Mon, Jun 18, 2018, 5:40 PM Tiron Sam sly...@gmail.com wrote:

that worked i think but now when i try to run the test i get this
pi@raspberrypi:~ $ sudo pip install virtualenv

Collecting virtualenv

Downloading https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl (1.9MB)

100% |████████████████████████████████| 1.9MB 24kB/s 

Installing collected packages: virtualenv

Successfully installed virtualenv-16.0.0

pi@raspberrypi:~ $ virtualenv -p python3 bibliopixel

Running virtualenv with interpreter /usr/bin/python3

Using base prefix ‘/usr’

New python executable in /home/pi/bibliopixel/bin/python3

Also creating executable in /home/pi/bibliopixel/bin/python

Installing setuptools, pip, wheel…done.

pi@raspberrypi:~ $ BiblioPixel demo

bash: BiblioPixel: command not found

pi@raspberrypi:~ $ source ./bibliopixel/bin/activate

i upgrade pip yesterday when I first got the error it’s at ver 10.0.1

On Monday, June 18, 2018 at 2:14:52 PM UTC-7, Adam Haile wrote:

What Adam Davies said :wink:
Though to expand on that… BiblioPixel requires Python 3.4 or higher. The Pi Zero W should include Python 3.5 out of the box.
Since Py3 isn’t the default you need to call pip3 and python3 instead of pip and python
However, I highly recommend using a virtualenv!!!
pip install virtualenv # yes, with python2 in this case
virtualenv -p python3 bibliopixel
source ./bibliopixel/bin/activate

Then you can just run pip and python but it will be python3.

As for the other error you are getting without sudo, unless you use a virtualenv you must install with sudo. However that error implies you have an old pip. Possibly an old raspbian.
Follow this to update Raspbian: https://www.raspberrypi.org/documentation/raspbian/updating.md
For pip…. sudo python -m pip install --upgrade pip & sudo python3 -m pip install --upgrade pip and pip will be upgrade to latest.

On Mon, Jun 18, 2018 at 5:08 PM ‘Adam Davies’ via Maniacal Labs Users maniacal-...@googlegroups.com wrote:

Try replacing pip with pip3

On Monday, June 18, 2018 at 9:58:42 PM UTC+1, Tiron Sam wrote:

Everytime I try to Pip install BiblioPixel I get this output(cont below) can anyone help me?

pi@raspberrypi:~ $ sudo pip install BiblioPixel

Collecting BiblioPixel

Using cached https://files.pythonhosted.org/packages/86/2f/437d1f0606a9b516393bcddfe8854c855caa9b703124a9ddc49d885c7194/BiblioPixel-3.4.18.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File “”, line 1, in

File “/tmp/pip-build-jlz_vX/BiblioPixel/setup.py”, line 42

printer = print # noqa: T001

^

SyntaxError: invalid syntax


Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jlz_vX/BiblioPixel/

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/29890e95-3c42-448f-9f34-f4dc40b6eb34%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/10d16962-de62-4d0e-8211-da249adb068b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/cb48bc11-b435-4bc0-9dbb-5c88c9021c3d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Nevermind got it working now

···

On Monday, June 18, 2018 at 3:25:25 PM UTC-7, Adam Haile wrote:

It’s bibliopixel or bp, all lower case.

On Mon, Jun 18, 2018 at 6:10 PM Tiron Sam sly...@gmail.com wrote:

Did that too still getting the same problem

(bibliopixel) pi@raspberrypi:~ $ pip3 install bibliopixel

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple

Collecting bibliopixel

Collecting numpy (from bibliopixel)

Collecting BiblioPixelTriggers (from bibliopixel)

Using cached https://www.piwheels.org/simple/bibliopixeltriggers/BiblioPixelTriggers-1.0.2-py3-none-any.whl

Collecting flask (from bibliopixel)

Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl

Collecting BiblioPixelAnimations (from bibliopixel)

Collecting pyyaml (from bibliopixel)

Using cached https://www.piwheels.org/simple/pyyaml/PyYAML-3.12-cp35-cp35m-linux_armv6l.whl

Collecting loady (from bibliopixel)

Using cached https://www.piwheels.org/simple/loady/loady-1.8.10-py3-none-any.whl

Collecting pyserial (from bibliopixel)

Using cached https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl

Collecting croniter (from BiblioPixelTriggers->bibliopixel)

Using cached https://www.piwheels.org/simple/croniter/croniter-0.3.23-py2.py3-none-any.whl

Collecting click>=5.1 (from flask->bibliopixel)

Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl

Collecting itsdangerous>=0.24 (from flask->bibliopixel)

Using cached https://www.piwheels.org/simple/itsdangerous/itsdangerous-0.24-py3-none-any.whl

Collecting Werkzeug>=0.14 (from flask->bibliopixel)

Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl

Collecting Jinja2>=2.10 (from flask->bibliopixel)

Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl

Collecting beautifulsoup4 (from loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/9e/d4/10f46e5cfac773e22707237bfcd51bbffeaf0a576b0a847ec7ab15bd7ace/beautifulsoup4-4.6.0-py3-none-any.whl

Collecting requests (from loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl

Collecting GitPython (from loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/ac/c9/96d7c86c623cb065976e58c0f4898170507724d6b4be872891d763d686f4/GitPython-2.1.10-py2.py3-none-any.whl

Collecting python-dateutil (from croniter->BiblioPixelTriggers->bibliopixel)

Using cached https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl

Collecting MarkupSafe>=0.23 (from Jinja2>=2.10->flask->bibliopixel)

Using cached https://www.piwheels.org/simple/markupsafe/MarkupSafe-1.0-cp35-cp35m-linux_armv6l.whl

Collecting urllib3<1.24,>=1.21.1 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl

Collecting chardet<3.1.0,>=3.0.2 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl

Collecting certifi>=2017.4.17 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl

Collecting idna<2.8,>=2.5 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl

Collecting gitdb2>=2.0.0 (from GitPython->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/e0/95/c772c13b7c5740ec1a0924250e6defbf5dfdaee76a50d1c47f9c51f1cabb/gitdb2-2.0.3-py2.py3-none-any.whl

Collecting six>=1.5 (from python-dateutil->croniter->BiblioPixelTriggers->bibliopixel)

Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl

Collecting smmap2>=2.0.0 (from gitdb2>=2.0.0->GitPython->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/e3/59/4e22f692e65f5f9271252a8e63f04ce4ad561d4e06192478ee48dfac9611/smmap2-2.0.3-py2.py3-none-any.whl

Installing collected packages: numpy, six, python-dateutil, croniter, BiblioPixelTriggers, click, itsdangerous, Werkzeug, MarkupSafe, Jinja2, flask, BiblioPixelAnimations, pyyaml, beautifulsoup4, urllib3, chardet, certifi, idna, requests, smmap2, gitdb2, GitPython, loady, pyserial, bibliopixel

Successfully installed BiblioPixelAnimations-3.20180419.113700 BiblioPixelTriggers-1.0.2 GitPython-2.1.10 Jinja2-2.10 MarkupSafe-1.0 Werkzeug-0.14.1 beautifulsoup4-4.6.0 bibliopixel-3.4.18 certifi-2018.4.16 chardet-3.0.4 click-6.7 croniter-0.3.23 flask-1.0.2 gitdb2-2.0.3 idna-2.7 itsdangerous-0.24 loady-1.8.10 numpy-1.14.5 pyserial-3.4 python-dateutil-2.7.3 pyyaml-3.12 requests-2.19.1 six-1.11.0 smmap2-2.0.3 urllib3-1.23

(bibliopixel) pi@raspberrypi:~ $ Bibliopixel demo

bash: Bibliopixel: command not found

On Monday, June 18, 2018 at 2:47:17 PM UTC-7, Adam Haile wrote:

You still need to install BiblioPixel inside the virtual environment. Also it’s lowercase, just bp is the suggest use.

On Mon, Jun 18, 2018, 5:40 PM Tiron Sam sly...@gmail.com wrote:

that worked i think but now when i try to run the test i get this
pi@raspberrypi:~ $ sudo pip install virtualenv

Collecting virtualenv

Downloading https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl (1.9MB)

100% |████████████████████████████████| 1.9MB 24kB/s 

Installing collected packages: virtualenv

Successfully installed virtualenv-16.0.0

pi@raspberrypi:~ $ virtualenv -p python3 bibliopixel

Running virtualenv with interpreter /usr/bin/python3

Using base prefix ‘/usr’

New python executable in /home/pi/bibliopixel/bin/python3

Also creating executable in /home/pi/bibliopixel/bin/python

Installing setuptools, pip, wheel…done.

pi@raspberrypi:~ $ BiblioPixel demo

bash: BiblioPixel: command not found

pi@raspberrypi:~ $ source ./bibliopixel/bin/activate

i upgrade pip yesterday when I first got the error it’s at ver 10.0.1

On Monday, June 18, 2018 at 2:14:52 PM UTC-7, Adam Haile wrote:

What Adam Davies said :wink:
Though to expand on that… BiblioPixel requires Python 3.4 or higher. The Pi Zero W should include Python 3.5 out of the box.
Since Py3 isn’t the default you need to call pip3 and python3 instead of pip and python
However, I highly recommend using a virtualenv!!!
pip install virtualenv # yes, with python2 in this case
virtualenv -p python3 bibliopixel
source ./bibliopixel/bin/activate

Then you can just run pip and python but it will be python3.

As for the other error you are getting without sudo, unless you use a virtualenv you must install with sudo. However that error implies you have an old pip. Possibly an old raspbian.
Follow this to update Raspbian: https://www.raspberrypi.org/documentation/raspbian/updating.md
For pip…. sudo python -m pip install --upgrade pip & sudo python3 -m pip install --upgrade pip and pip will be upgrade to latest.

On Mon, Jun 18, 2018 at 5:08 PM ‘Adam Davies’ via Maniacal Labs Users maniacal-...@googlegroups.com wrote:

Try replacing pip with pip3

On Monday, June 18, 2018 at 9:58:42 PM UTC+1, Tiron Sam wrote:

Everytime I try to Pip install BiblioPixel I get this output(cont below) can anyone help me?

pi@raspberrypi:~ $ sudo pip install BiblioPixel

Collecting BiblioPixel

Using cached https://files.pythonhosted.org/packages/86/2f/437d1f0606a9b516393bcddfe8854c855caa9b703124a9ddc49d885c7194/BiblioPixel-3.4.18.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File “”, line 1, in

File “/tmp/pip-build-jlz_vX/BiblioPixel/setup.py”, line 42

printer = print # noqa: T001

^

SyntaxError: invalid syntax


Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jlz_vX/BiblioPixel/

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/29890e95-3c42-448f-9f34-f4dc40b6eb34%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/10d16962-de62-4d0e-8211-da249adb068b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/cb48bc11-b435-4bc0-9dbb-5c88c9021c3d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Awesome :slight_smile:

···

On Mon, Jun 18, 2018 at 6:38 PM Tiron Sam slyac3@gmail.com wrote:

Nevermind got it working now

On Monday, June 18, 2018 at 3:25:25 PM UTC-7, Adam Haile wrote:

It’s bibliopixel or bp, all lower case.

On Mon, Jun 18, 2018 at 6:10 PM Tiron Sam sly...@gmail.com wrote:

Did that too still getting the same problem

(bibliopixel) pi@raspberrypi:~ $ pip3 install bibliopixel

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple

Collecting bibliopixel

Collecting numpy (from bibliopixel)

Collecting BiblioPixelTriggers (from bibliopixel)

Using cached https://www.piwheels.org/simple/bibliopixeltriggers/BiblioPixelTriggers-1.0.2-py3-none-any.whl

Collecting flask (from bibliopixel)

Using cached https://files.pythonhosted.org/packages/7f/e7/08578774ed4536d3242b14dacb4696386634607af824ea997202cd0edb4b/Flask-1.0.2-py2.py3-none-any.whl

Collecting BiblioPixelAnimations (from bibliopixel)

Collecting pyyaml (from bibliopixel)

Using cached https://www.piwheels.org/simple/pyyaml/PyYAML-3.12-cp35-cp35m-linux_armv6l.whl

Collecting loady (from bibliopixel)

Using cached https://www.piwheels.org/simple/loady/loady-1.8.10-py3-none-any.whl

Collecting pyserial (from bibliopixel)

Using cached https://files.pythonhosted.org/packages/0d/e4/2a744dd9e3be04a0c0907414e2a01a7c88bb3915cbe3c8cc06e209f59c30/pyserial-3.4-py2.py3-none-any.whl

Collecting croniter (from BiblioPixelTriggers->bibliopixel)

Using cached https://www.piwheels.org/simple/croniter/croniter-0.3.23-py2.py3-none-any.whl

Collecting click>=5.1 (from flask->bibliopixel)

Using cached https://files.pythonhosted.org/packages/34/c1/8806f99713ddb993c5366c362b2f908f18269f8d792aff1abfd700775a77/click-6.7-py2.py3-none-any.whl

Collecting itsdangerous>=0.24 (from flask->bibliopixel)

Using cached https://www.piwheels.org/simple/itsdangerous/itsdangerous-0.24-py3-none-any.whl

Collecting Werkzeug>=0.14 (from flask->bibliopixel)

Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl

Collecting Jinja2>=2.10 (from flask->bibliopixel)

Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl

Collecting beautifulsoup4 (from loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/9e/d4/10f46e5cfac773e22707237bfcd51bbffeaf0a576b0a847ec7ab15bd7ace/beautifulsoup4-4.6.0-py3-none-any.whl

Collecting requests (from loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/65/47/7e02164a2a3db50ed6d8a6ab1d6d60b69c4c3fdf57a284257925dfc12bda/requests-2.19.1-py2.py3-none-any.whl

Collecting GitPython (from loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/ac/c9/96d7c86c623cb065976e58c0f4898170507724d6b4be872891d763d686f4/GitPython-2.1.10-py2.py3-none-any.whl

Collecting python-dateutil (from croniter->BiblioPixelTriggers->bibliopixel)

Using cached https://files.pythonhosted.org/packages/cf/f5/af2b09c957ace60dcfac112b669c45c8c97e32f94aa8b56da4c6d1682825/python_dateutil-2.7.3-py2.py3-none-any.whl

Collecting MarkupSafe>=0.23 (from Jinja2>=2.10->flask->bibliopixel)

Using cached https://www.piwheels.org/simple/markupsafe/MarkupSafe-1.0-cp35-cp35m-linux_armv6l.whl

Collecting urllib3<1.24,>=1.21.1 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/bd/c9/6fdd990019071a4a32a5e7cb78a1d92c53851ef4f56f62a3486e6a7d8ffb/urllib3-1.23-py2.py3-none-any.whl

Collecting chardet<3.1.0,>=3.0.2 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl

Collecting certifi>=2017.4.17 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/7c/e6/92ad559b7192d846975fc916b65f667c7b8c3a32bea7372340bfe9a15fa5/certifi-2018.4.16-py2.py3-none-any.whl

Collecting idna<2.8,>=2.5 (from requests->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/4b/2a/0276479a4b3caeb8a8c1af2f8e4355746a97fab05a372e4a2c6a6b876165/idna-2.7-py2.py3-none-any.whl

Collecting gitdb2>=2.0.0 (from GitPython->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/e0/95/c772c13b7c5740ec1a0924250e6defbf5dfdaee76a50d1c47f9c51f1cabb/gitdb2-2.0.3-py2.py3-none-any.whl

Collecting six>=1.5 (from python-dateutil->croniter->BiblioPixelTriggers->bibliopixel)

Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl

Collecting smmap2>=2.0.0 (from gitdb2>=2.0.0->GitPython->loady->bibliopixel)

Using cached https://files.pythonhosted.org/packages/e3/59/4e22f692e65f5f9271252a8e63f04ce4ad561d4e06192478ee48dfac9611/smmap2-2.0.3-py2.py3-none-any.whl

Installing collected packages: numpy, six, python-dateutil, croniter, BiblioPixelTriggers, click, itsdangerous, Werkzeug, MarkupSafe, Jinja2, flask, BiblioPixelAnimations, pyyaml, beautifulsoup4, urllib3, chardet, certifi, idna, requests, smmap2, gitdb2, GitPython, loady, pyserial, bibliopixel

Successfully installed BiblioPixelAnimations-3.20180419.113700 BiblioPixelTriggers-1.0.2 GitPython-2.1.10 Jinja2-2.10 MarkupSafe-1.0 Werkzeug-0.14.1 beautifulsoup4-4.6.0 bibliopixel-3.4.18 certifi-2018.4.16 chardet-3.0.4 click-6.7 croniter-0.3.23 flask-1.0.2 gitdb2-2.0.3 idna-2.7 itsdangerous-0.24 loady-1.8.10 numpy-1.14.5 pyserial-3.4 python-dateutil-2.7.3 pyyaml-3.12 requests-2.19.1 six-1.11.0 smmap2-2.0.3 urllib3-1.23

(bibliopixel) pi@raspberrypi:~ $ Bibliopixel demo

bash: Bibliopixel: command not found

On Monday, June 18, 2018 at 2:47:17 PM UTC-7, Adam Haile wrote:

You still need to install BiblioPixel inside the virtual environment. Also it’s lowercase, just bp is the suggest use.

On Mon, Jun 18, 2018, 5:40 PM Tiron Sam sly...@gmail.com wrote:

that worked i think but now when i try to run the test i get this
pi@raspberrypi:~ $ sudo pip install virtualenv

Collecting virtualenv

Downloading https://files.pythonhosted.org/packages/b6/30/96a02b2287098b23b875bc8c2f58071c35d2efe84f747b64d523721dc2b5/virtualenv-16.0.0-py2.py3-none-any.whl (1.9MB)

100% |████████████████████████████████| 1.9MB 24kB/s 

Installing collected packages: virtualenv

Successfully installed virtualenv-16.0.0

pi@raspberrypi:~ $ virtualenv -p python3 bibliopixel

Running virtualenv with interpreter /usr/bin/python3

Using base prefix ‘/usr’

New python executable in /home/pi/bibliopixel/bin/python3

Also creating executable in /home/pi/bibliopixel/bin/python

Installing setuptools, pip, wheel…done.

pi@raspberrypi:~ $ BiblioPixel demo

bash: BiblioPixel: command not found

pi@raspberrypi:~ $ source ./bibliopixel/bin/activate

i upgrade pip yesterday when I first got the error it’s at ver 10.0.1

On Monday, June 18, 2018 at 2:14:52 PM UTC-7, Adam Haile wrote:

What Adam Davies said :wink:
Though to expand on that… BiblioPixel requires Python 3.4 or higher. The Pi Zero W should include Python 3.5 out of the box.
Since Py3 isn’t the default you need to call pip3 and python3 instead of pip and python
However, I highly recommend using a virtualenv!!!
pip install virtualenv # yes, with python2 in this case
virtualenv -p python3 bibliopixel
source ./bibliopixel/bin/activate

Then you can just run pip and python but it will be python3.

As for the other error you are getting without sudo, unless you use a virtualenv you must install with sudo. However that error implies you have an old pip. Possibly an old raspbian.
Follow this to update Raspbian: https://www.raspberrypi.org/documentation/raspbian/updating.md
For pip…. sudo python -m pip install --upgrade pip & sudo python3 -m pip install --upgrade pip and pip will be upgrade to latest.

On Mon, Jun 18, 2018 at 5:08 PM ‘Adam Davies’ via Maniacal Labs Users maniacal-...@googlegroups.com wrote:

Try replacing pip with pip3

On Monday, June 18, 2018 at 9:58:42 PM UTC+1, Tiron Sam wrote:

Everytime I try to Pip install BiblioPixel I get this output(cont below) can anyone help me?

pi@raspberrypi:~ $ sudo pip install BiblioPixel

Collecting BiblioPixel

Using cached https://files.pythonhosted.org/packages/86/2f/437d1f0606a9b516393bcddfe8854c855caa9b703124a9ddc49d885c7194/BiblioPixel-3.4.18.tar.gz

Complete output from command python setup.py egg_info:

Traceback (most recent call last):

File “”, line 1, in

File “/tmp/pip-build-jlz_vX/BiblioPixel/setup.py”, line 42

printer = print # noqa: T001

^

SyntaxError: invalid syntax


Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-jlz_vX/BiblioPixel/

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/29890e95-3c42-448f-9f34-f4dc40b6eb34%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/10d16962-de62-4d0e-8211-da249adb068b%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/cb48bc11-b435-4bc0-9dbb-5c88c9021c3d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

You received this message because you are subscribed to the Google Groups “Maniacal Labs Users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to maniacal-labs-users+unsubscribe@googlegroups.com.

To post to this group, send email to maniacal-labs-users@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/maniacal-labs-users/b953beb1-2984-4668-b4a2-bdfc1fa0a1cc%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.