Does PyCharm Micropython Plugin still work?
Does PyCharm Micropython Plugin still work?
Is anyone else having issues with this plugin? I went through the guide on github and my plugin doesn't seem to function correctly. Firstly I can't flash files on to my pyboard(version - pyblitev10-20180511-v1.9.4.dfu) as its showing 'Error: Module for path is not found'
This also shows that my syntax like the import pyb is not being recognised. However I have went into the editor inspections to double check that Micropython is ticked.
Only thing that seems to run fine is the REPL terminal.
I am running PyCharm 2018.3.2 (Community Edition) Build #PC-183.4886.43, built on December 18, 2018 JRE: 1.8.0_152-release-1343-b26 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.14.2
This also shows that my syntax like the import pyb is not being recognised. However I have went into the editor inspections to double check that Micropython is ticked.
Only thing that seems to run fine is the REPL terminal.
I am running PyCharm 2018.3.2 (Community Edition) Build #PC-183.4886.43, built on December 18, 2018 JRE: 1.8.0_152-release-1343-b26 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.14.2
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Does PyCharm Micropython Plugin still work?
It does still work, you might just need to set the device and path correctly (obviously adapt to pyboard):
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Does PyCharm Micropython Plugin still work?
EDIT: It was my silly mistake I put in the export path instead of the file path hence it didn't upload. Thats sorted but still trying to figure out why the syntax is not being recognisedkevinkk525 wrote: ↑Thu Jan 03, 2019 6:40 pmIt does still work, you might just need to set the device and path correctly (obviously adapt to pyboard):
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Does PyCharm Micropython Plugin still work?
Syntax is because of missing pyb module. Should be fixed if you set your device to pyboard (see my image).
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Does PyCharm Micropython Plugin still work?
You mean like this?kevinkk525 wrote: ↑Thu Jan 03, 2019 7:26 pmSyntax is because of missing pyb module. Should be fixed if you set your device to pyboard (see my image).
I typed in a bunch of micropython libraries and doesn't seem to pick up anything :/
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Does PyCharm Micropython Plugin still work?
Yes like that. Should typically work but I don't have a pyboard to test. With my esp8266 it works and adds an external library:
Maybe try to disable the micropython support for the project so that these get remove and activate it again or restart pycharm.
By the way: You can upload files here too, no need to do that externally.
Maybe try to disable the micropython support for the project so that these get remove and activate it again or restart pycharm.
By the way: You can upload files here too, no need to do that externally.
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Does PyCharm Micropython Plugin still work?
Tried that and no joy. I even uninstalled python and pycharm, then did a clean reinstall. I do have those libraries also which is annoying. I could get away without the syntax but its just a quality of life thing.
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: Does PyCharm Micropython Plugin still work?
Then I'm out of ideas. Maybe someone with a pyboard can help.
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: Does PyCharm Micropython Plugin still work?
I have the same issue `pyb` isn't showing up under External Libraries/MicroPython, but `micropython` and `stdlib` are.
Re: Does PyCharm Micropython Plugin still work?
I have the same issue with a PyBoard