Skip to main content
added 20 characters in body; added 67 characters in body; deleted 19 characters in body; added 1 character in body
Source Link

I just bought a PiGlow and a Pibrella, and I was curious how it worked. I imported a few Python scripts from this link, but none of the scripts does work. When I run one of the scripts, I get the error:

Traceback (most recent call last):
  File "/home/pi/piglowtest2.py", line 1, in <module>
    from piglow import PiGlow
  File "/usr/local/lib/python3.4/dist-packages/piglow.py", line 1, in <module>
    import sn3218
  File "/usr/local/lib/python3.4/dist-packages/sn3218.py", line 112, in <module>
    enable_leds(0b111111111111111111)
  File "/usr/local/lib/python3.4/dist-packages/sn3218.py", line 60, in enable_leds
    [enable_mask & 0x3F, (enable_mask >> 6) & 0x3F, (enable_mask >> 12) & 0X3F])
OSError: [Errno 5] Input/output error

I'm using a Raspberry Pi 3B. Is there a change in the modules of Python? Can anybody help me?

Thanks in advance.

This is the Pi with the Piglow:

The Pi with the Piglow

I just bought a PiGlow and a Pibrella, and I was curious how it worked. I imported a few Python scripts from this link, but none of the scripts does work. When I run one of the scripts, I get the error:

Traceback (most recent call last):
  File "/home/pi/piglowtest2.py", line 1, in <module>
    from piglow import PiGlow
  File "/usr/local/lib/python3.4/dist-packages/piglow.py", line 1, in <module>
    import sn3218
  File "/usr/local/lib/python3.4/dist-packages/sn3218.py", line 112, in <module>
    enable_leds(0b111111111111111111)
  File "/usr/local/lib/python3.4/dist-packages/sn3218.py", line 60, in enable_leds
    [enable_mask & 0x3F, (enable_mask >> 6) & 0x3F, (enable_mask >> 12) & 0X3F])
OSError: [Errno 5] Input/output error

I'm using a Raspberry Pi 3B. Is there a change in the modules of Python? Can anybody help me?

Thanks in advance.

I just bought a PiGlow and a Pibrella, and I was curious how it worked. I imported a few Python scripts from this link, but none of the scripts does work. When I run one of the scripts, I get the error:

Traceback (most recent call last):
  File "/home/pi/piglowtest2.py", line 1, in <module>
    from piglow import PiGlow
  File "/usr/local/lib/python3.4/dist-packages/piglow.py", line 1, in <module>
    import sn3218
  File "/usr/local/lib/python3.4/dist-packages/sn3218.py", line 112, in <module>
    enable_leds(0b111111111111111111)
  File "/usr/local/lib/python3.4/dist-packages/sn3218.py", line 60, in enable_leds
    [enable_mask & 0x3F, (enable_mask >> 6) & 0x3F, (enable_mask >> 12) & 0X3F])
OSError: [Errno 5] Input/output error

I'm using a Raspberry Pi 3B. Is there a change in the modules of Python? Can anybody help me?

Thanks in advance.

This is the Pi with the Piglow:

The Pi with the Piglow

added 150 characters in body
Source Link

I just bought a PiGlow and a Pibrella, and I was curious how it worked. I imported a few Python scripts from this and this link, but none of the scripts does work. When I run one of the scripts, I get the error:

Traceback (most recent call last):
  File ''"/home/pi/piglowtest3piglowtest2.py''py", line 1, in <module>
    from piglow import PiGlow
ImportError: No moduleFile named"/usr/local/lib/python3.4/dist-packages/piglow.py", 'piglow'line 1, in <module>

I get the same error with the Pibrella, but then is it like this:

Traceback (most recent call last):import sn3218
  File ''"/homeusr/pilocal/pibrellatest1lib/python3.py''4/dist-packages/sn3218.py", line 1112, in <module>
    importenable_leds(0b111111111111111111)
 pibrella File "/usr/local/lib/python3.4/dist-packages/sn3218.py", line 60, in enable_leds
ImportError: No module named 'pibrella'[enable_mask & 0x3F, (enable_mask >> 6) & 0x3F, (enable_mask >> 12) & 0X3F])
OSError: [Errno 5] Input/output error

I'm using a Raspberry Pi 3B. Is there a change in the modules of Python? Can anybody help me?

Thanks in advance.

I just bought a PiGlow and a Pibrella, and I was curious how it worked. I imported a few Python scripts from this and this link, but none of the scripts does work. When I run one of the scripts, I get the error:

Traceback (most recent call last):
  File ''/home/pi/piglowtest3.py'', line 1 in <module>
    from piglow import PiGlow
ImportError: No module named 'piglow' 

I get the same error with the Pibrella, but then is it like this:

Traceback (most recent call last):
  File ''/home/pi/pibrellatest1.py'', line 1 in <module>
    import pibrella
ImportError: No module named 'pibrella' 

I'm using a Raspberry Pi 3B. Is there a change in the modules of Python? Can anybody help me?

Thanks in advance.

I just bought a PiGlow and a Pibrella, and I was curious how it worked. I imported a few Python scripts from this link, but none of the scripts does work. When I run one of the scripts, I get the error:

Traceback (most recent call last):
  File "/home/pi/piglowtest2.py", line 1, in <module>
    from piglow import PiGlow
  File "/usr/local/lib/python3.4/dist-packages/piglow.py", line 1, in <module>
    import sn3218
  File "/usr/local/lib/python3.4/dist-packages/sn3218.py", line 112, in <module>
    enable_leds(0b111111111111111111)
  File "/usr/local/lib/python3.4/dist-packages/sn3218.py", line 60, in enable_leds
    [enable_mask & 0x3F, (enable_mask >> 6) & 0x3F, (enable_mask >> 12) & 0X3F])
OSError: [Errno 5] Input/output error

I'm using a Raspberry Pi 3B. Is there a change in the modules of Python? Can anybody help me?

Thanks in advance.

added 322 characters in body
Source Link

I just bought a PiGlow and a Pibrella, and I was curious how it worked. I imported a few Python scripts on [this][1]from this and this link, but none of the scripts does work. When I run one of the scripts, I get the error:

Traceback (most recent call last):
  File ''/home/pi/piglowtest3.py'', line 1 in <module>
    from piglow import PiGlow
ImportError: No module named 'piglow' 

I get the same error with the Pibrella, but then is it like this:

Traceback (most recent call last):
  File ''/home/pi/pibrellatest1.py'', line 1 in <module>
    import pibrella
ImportError: No module named 'pibrella' 

I'm using a Raspberry Pi 3B. Is there a change in the modules of Python? Can anybody help me?

Thanks in advance. [1]: https://github.com/Boeeerb/PiGlow

I just bought a PiGlow, and I was curious how it worked. I imported a few Python scripts on [this][1] link, but none of the scripts does work. When I run one of the scripts, I get the error:

Traceback (most recent call last):
  File ''/home/pi/piglowtest3.py'', line 1 in <module>
    from piglow import PiGlow
ImportError: No module named 'piglow' 

I'm using a Raspberry Pi 3B. Is there a change in the modules of Python? Can anybody help me?

Thanks in advance. [1]: https://github.com/Boeeerb/PiGlow

I just bought a PiGlow and a Pibrella, and I was curious how it worked. I imported a few Python scripts from this and this link, but none of the scripts does work. When I run one of the scripts, I get the error:

Traceback (most recent call last):
  File ''/home/pi/piglowtest3.py'', line 1 in <module>
    from piglow import PiGlow
ImportError: No module named 'piglow' 

I get the same error with the Pibrella, but then is it like this:

Traceback (most recent call last):
  File ''/home/pi/pibrellatest1.py'', line 1 in <module>
    import pibrella
ImportError: No module named 'pibrella' 

I'm using a Raspberry Pi 3B. Is there a change in the modules of Python? Can anybody help me?

Thanks in advance.

Source Link
Loading