blockpy-edu / blockpy

Blockly that's more Python than JavaScript, powered with Skulpt
Apache License 2.0
391 stars 130 forks source link

python skulpt.py dist erro #42

Closed zhengyongxiong closed 5 years ago

zhengyongxiong commented 5 years ago

image image image image image I followed the steps of readme. Did I make a mistake at this step? What's the matter?

lukesg08 commented 5 years ago

readme is updated. blockly builds in python2, while skulpt builds in python3.

zhengyongxiong commented 5 years ago

readme is updated. blockly builds in python2, while skulpt builds in python3.

image python 2.7

zhengyongxiong commented 5 years ago

What's wrong now is python skulpt.py dist

lukesg08 commented 5 years ago

This should be run using python 2 (The version of python you're currently running)

> cp blockly/msg/js/en.js en.js > cd blockly > python build.py > cd .. > mv -force en.js blockly/msg/js/en.js

This should be run using python 3 python skulpt.py dist

zhengyongxiong commented 5 years ago

This should be run using python 2 (The version of python you're currently running)

> cp blockly/msg/js/en.js en.js > cd blockly > python build.py > cd .. > mv -force en.js blockly/msg/js/en.js

This should be run using python 3 python skulpt.py dist

image

zhengyongxiong commented 5 years ago

image ok