DFRobot / uPyCraft_src

137 stars 82 forks source link

Can not build this source #2

Closed nbxtruong closed 6 years ago

nbxtruong commented 6 years ago

When I run file uPyCraft.py on Geany IDE by using Python3. I have this errors:

/home/nbxtruong /home/nbxtruong/AppData/Local/uPyCraft/temp/ /home/nbxtruong/AppData/Local/uPyCraft/examples Traceback (most recent call last): File "uPyCraft.py", line 2574, in main=MainWidget() File "uPyCraft.py", line 84, in init self.setFont() File "uPyCraft.py", line 184, in setFont for filename in fonts: UnboundLocalError: local variable 'fonts' referenced before assignment


(program exited with code: 1) Press return to continue

nbxtruong commented 6 years ago

I am using Ubuntu 16.04-64bit and I install all pyqt4, qsci, pyserial and pyflakes. My python version is 3.5.2

ouki-wang commented 6 years ago

@nbxtruong the current code only suport the windows system, the other versions will be updated in the future , contains the mac , linux.

nbxtruong commented 6 years ago

Thank you @ouki-wang