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

can't find '__main__' module in ... microupload.py #358

Open
gogglespisano opened this issue Feb 11, 2025 · 1 comment
Open

can't find '__main__' module in ... microupload.py #358

gogglespisano opened this issue Feb 11, 2025 · 1 comment

Comments

@gogglespisano
Copy link

I made the following changes to support PyCharm Pro 2024.3.2 and compiled the MicroPython plugin for 243.* but when I try to use the Flash command in PyCharm Pro it gives this error:

platformVersion=243-EAP-SNAPSHOT
pythonPlugin=PythonCore:243.23654.177

<idea-version since-build="243" until-build="243.*"/>

....venv\Scripts\python.exe: can't find 'main' module in '...\AppData\Roaming\JetBrains\PyCharm2024.3\plugins\intellij-micropython-1.4.7-2024.3-base.jar/scripts/microupload.py'

I don't know Kotlin. Can someone point me to a fix?

@gogglespisano
Copy link
Author

I copied .\intellij-micropython\build\idea-sandbox\PC-2024.3.2\plugins\intellij-micropython to the PyCharm plugins folder and it works.

Is that what you're supposed to do? Why doesn't the .jar file have the scripts folder in it?

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

1 participant