blocks not visible
Closed this issue · 14 comments
I've just installed s2m for the first time and when I type s2m in the cmd window, Scratch opens but there are no Microbit related blocks in the 'more block section. I have a Microbit connected and I don't see any errors when trying to launch s2m:
I installed everything following the directions here:
https://mryslab.github.io/s2m/usage/#starting-s2m-on-windows-mac-and-linux
I'm running windows 10.
It looks like you are using an older version of the micro:bit script. Please install this version on your micro:bit https://github.com/MrYsLab/s2m/blob/master/s2m/micro_bit_scripts/s2mb_min.py
If that doesn't solve your problem , please try a manual start described here:
https://mryslab.github.io/s2m/usage/#manually-starting-s2m-and-scratch
Please let me know if changing the script solves your problem. I realized that I did not update the User's Guide with the latest script and that may have caused the issue for you. I apologize for that and the Guide now shows the latest script.
That should not have mattered. Is the path the same even though the version is different?
@alb4h Are you still having the issue? If so, some questions:
- Did you use pip to install s2m?
- If you did use pip, did you use the --user option? That will install files in a roaming directory and s2m does use roaming directories.
- Could you please provide a screenshot of the console output after running
s2m -d true
GitHub is kind of picky when it comes to sending images. I find the easiest way is to go into the GitHub issues page (here is the link for your issue: #27), and then attach the file as per instructions in the bottom of the comment - I did a screenshot of what I am referring to
Screenshot follows:
I am not sure if you had a chance to resend or not, but in the meantime, here is something else to check:
Make sure that the Python paths have been set correctly. If you check your environment Path variables, you should see two entries that look something like this:
C:\Users\Alan\AppData\Local\Programs\Python\Python36\Scripts\
C:\Users\Alan\AppData\Local\Programs\Python\Python36\
These variables are automatically set if you selected "Add Python 3.x to PATH when you installed Pytnon.
There is a checkbox at the bottom of the Python install dialog to do so:
Any version of Python from 3.5 forward should work.
If you wish to send me an email directly, you can find my email address here
I am closing this issue since this the only report I have received about it. If you are still having this issue please provide the information I requested and I will gladly reopen it and will try to resolve it.