gepd / Deviot

Sublime Text plugin for IoT development based in PlatformIO ecosystem (Arduino IDE)
Apache License 2.0
306 stars 55 forks source link

Starting failure problem #318

Open paulskirk53 opened 3 years ago

paulskirk53 commented 3 years ago

Before report an issue, please make sure it hasn't been reported before.

If you need information about an option or feature make sure to first look into the Deviot Wiki

Operating system

win 10 latest update

Board used

mega 2560

Description of problem

[ Deviot 2.2.2 ] Starting... '"C:\Users\Paul\AppData\Roaming\Sublime Text 3\Packages\User\Deviot\penv\Scripts\platformio"' is not recognized as an internal or external command, operable program or batch file.

[01/09/21 12:26:36]

Error(s) in ST Console? (View > Show Console)

ould not import subprocess32 module, falling back to subprocess module Quick panel unavailable reloading settings Packages/User/deviot.sublime-settings

Steps to Reproduce

pick the compile command from the Deviot menu

Actual Results

I was trying to compile a simple sketch having selected the avr2560 board from the list, it did not compile

Expected Results

compile would succeed (same code succeeds in Arduino IDE - its only a 20 line sketch

Additional info

I installed DEVIOT today and initially it stated it need python 2, i assumed the latest version of Python would be ok so installed that, but the python error persisted on sublime text startup, so I downloaded the Python 2.7 Win 64 bit installer and installed that. The python error has gone, but the errors described above appeared and a simple sketch will not compile and shows the errors at the bottom of screen. hanks for help. You can edit the text above according to your need

hijomojo commented 2 years ago

I think the 'command not recognised' issue you're having is to do with python / PIO incompatibility with the version of python Deviot uses to try to run PIO Take a look at my guide in the mention above. In figuring out those steps, I ran into the same "not recognised" issue before finding the solution.