Open rsokoloff opened 5 years ago
Does /Users/ronspowerbook/Library/Application Support/Sublime Text 3/Packages/User/Deviot/penv/bin
have any file?
When you installed the plugin, does the installation failed?
can you try in your terminal platformio --version
(instead of use pio
) and tell me if there any output
Appreciate your help.
Ronalds-MacBook-Pro:bin ronspowerbook$ ls activate easy_install-2.7 python-config activate.csh pip python2 activate.fish pip2 python2.7 activate_this.py pip2.7 wheel easy_install python
$ platformio --version /Users/ronspowerbook/Library/Application Support/Sublime Text 3/Packages/User/Deviot/penv/bin/python: No module named platformio
When I saw the message "No module named platformio" I decided to look inside the bin/python "folder" and this is the result. Ronalds-MacBook-Pro:bin ronspowerbook$ cd python -bash: cd: python: Not a directory Ronalds-MacBook-Pro:bin ronspowerbook$ ls activate easy_install-2.7 python-config activate.csh pip python2 activate.fish pip2 python2.7 activate_this.py pip2.7 wheel easy_install python Ronalds-MacBook-Pro:bin ronspowerbook$ cd python -bash: cd: python: Not a directory Ronalds-MacBook-Pro:bin ronspowerbook$
Install platformio from Homebrew
brew install platformio
Then remove the folder /Users/ronspowerbook/Library/Application Support/Sublime Text 3/Packages/User/Deviot
Restart Sublime Text and Deviot should recognize platformio automatically
I made the assumption that platformio should be installed from root:
Ronalds-MacBook-Pro:/ ronspowerbook$ brew install platformio -bash: brew: command not found
Oops. I made the assumption that platformio should be installed from root: Ronalds-MacBook-Pro:/ ronspowerbook$ brew install platformio -bash: brew: command not found
You doesn't have hombrew, install it with this instructions: https://brew.sh
Deviot try to install PIO automatically in this case for some reason it failed, so the fast solution will be install it manually and then let Deviot check that it's already installed
I have encountered the same issue occasionally and resolved by restarting ST3, uninstall Deviot through pkg mgr, restart ST3, re-install Deviot, restart ST3, attempt again
Trying to use the pio from homebrew will likely run into other issues down the road.
So, I think I have a similar issue. Installing DEVIOT results in /bin/sh: pip: command not found
I installed pio
through pip manually but Deviot does not find it automatically.
I tried the suggestion above but no luck. I can not install through homebrew atm.
In my case pip is installed with the --user
flag. That might be a reason.
$ pio --version
gives me PlatformIO, version 4.0.3
On Mac OSX 10.4.6
Hello. Deviot provides no "Select Board" options. This occurs while I have a sketch open. I realize there have been multiple prior issues which are similar and I have read and tried them. I do not know if it is significant but Deviot is unable to upgrade platformio because "No module named platformio".
Any advice is greatly appreciated.
Operating system
OS 10.14, Deviot 2.3.0, Sublime 3176
PlatformIO terminal
$ cwd /Applications/Sublime Text.app/Contents/MacOS
$ ls /Applications/Sublime Text.app/Contents/MacOS/python3.3.zip /Applications/Sublime Text.app/Contents/MacOS/sublime.py /Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py /Applications/Sublime Text.app/Contents/MacOS/update_installer /Applications/Sublime Text.app/Contents/MacOS/crash_reporter /Applications/Sublime Text.app/Contents/MacOS/Sublime Text /Applications/Sublime Text.app/Contents/MacOS/Packages /Applications/Sublime Text.app/Contents/MacOS/plugin_host /Applications/Sublime Text.app/Contents/MacOS/changelog.txt
$ pio --help /Users/ronspowerbook/Library/Application Support/Sublime Text 3/Packages/User/Deviot/penv/bin/python: No module named platformio