Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get the pxt-sample example to work with python #13

Open
ChristopheBernard opened this issue Dec 20, 2022 · 1 comment
Open

Cannot get the pxt-sample example to work with python #13

ChristopheBernard opened this issue Dec 20, 2022 · 1 comment

Comments

@ChristopheBernard
Copy link

Installing pxt from github

$ git clone https://github.com/microsoft/pxt.git
$ cd pxt
$ git checkout c2c608fe00d35f9f4654aba4f37a7fc76660dfb7
$ npm -v
8.19.2
$ node -v
v16.18.1
$ npm install
$ npm install -g # places pxt in the path

I chose the npm, node and commit that are shown to be tested and working in https://github.com/microsoft/pxt/actions/runs/3714968823.

Works fine and passes the tests.

Installing pxt-sample from github

$ cd ../
$ git clone https://github.com/microsoft/pxt-sample.git
$ git log -1 # --> aa9ee683626716359a759c21c7090bd8189f1a95
$ cd pxt-sample
$ pxt link ../pxt
$ npm install
$ pxt serve

When starting a sample project (the square), converting the default block program to python fails:

image

Hovering says:

image

I.e. "unknown type 'Buffer' near '???'"

What is it I am doing wrong?

@K00ry
Copy link

K00ry commented Jul 26, 2023

I'm having the same issue. Any help would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants