Supernova poi

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Steveajb
 
Posts: 1
Joined: Wed Jul 11, 2018 12:35 pm

Supernova poi

Post by Steveajb »

Hello,

I have built the Supernova Poi it is working but for the life of me I cannot get the convert.py to run,
I tried it on a linux (Ubuntu) machine, a windows 10 laptop and a macbook without any success.
It always stops at line 141 with a syntax error see following text:

C:\Python34\convert>python convert2.py images/*.jpg > graphics.h
File "convert2.py", line 141
print "// Don't edit this file! It's software-generated."
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("// Don't edit this file! It's software-generated.")?

Any help would be welcomed
Attachments
Help
Help
20180723_223724.jpg (259.8 KiB) Viewed 358 times

User avatar
Agundel
 
Posts: 6
Joined: Fri Sep 19, 2014 10:52 pm

Re: Supernova poi

Post by Agundel »

Hi I think its only works with bmp or gif.

User avatar
RowdyDy
 
Posts: 5
Joined: Mon Jan 14, 2019 7:16 pm

Re: Supernova poi

Post by RowdyDy »

I have the same problem could you tell me if you got the solution please

File "convert.py", line 141
print "// Don't edit this file! It's software-generated."
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("// Don't edit this file! It's software-generated.")?
Attachments
falla convert.jpg
falla convert.jpg (93.21 KiB) Viewed 238 times

User avatar
adafruit_support_carter
 
Posts: 29189
Joined: Tue Nov 29, 2016 2:45 pm

Re: Supernova poi

Post by adafruit_support_carter »

The program appears to be Python 2 only. It won't run with Python 3.

User avatar
RowdyDy
 
Posts: 5
Joined: Mon Jan 14, 2019 7:16 pm

Re: Supernova poi

Post by RowdyDy »

adafruit_support_carter wrote:The program appears to be Python 2 only. It won't run with Python 3.
ok muchas gracias solo una pregunta para python 2 es con la libreria PIL o seria Pilllow gracias

User avatar
adafruit_support_carter
 
Posts: 29189
Joined: Tue Nov 29, 2016 2:45 pm

Re: Supernova poi

Post by adafruit_support_carter »

Probably PIL.

User avatar
RowdyDy
 
Posts: 5
Joined: Mon Jan 14, 2019 7:16 pm

Re: Supernova poi

Post by RowdyDy »

adafruit_support_carter wrote:Probably PIL.
muchas gracias lo logre despues de muchisimos intentos fallidos y lo que hice fue instalar python 3 y tambien instale anaconda navigator y ehi instale la libreria PIL 1.1.7 y anaconda navigator solo me dio la opcion de transformar python 3 a python 2.7 y ya de ahi quedo configurado ya solo en win10 inicie como administrador y segui la ruta y listo muchas gracias

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”