Deviot icon indicating copy to clipboard operation
Deviot copied to clipboard

multiple plateformio cores after brew install

Open chienMouille opened this issue 6 years ago • 5 comments

Hello,

after installing deviot, plateformio wouldn't install by itself, promping that the command pip wasn't found. i thus installed plateformio through homebrew.

the plugin works great now! however it shows this message everytime i build a sketch: "Obsolete PIO Core v3.5.2 is used (previous was 3.5.3a8) Please remove multiple PIO Cores from a system: http://docs.platformio.org/page/faq.html#multiple-pio-cores-in-a-system"

i can't find any other version of PIO in my system. (and when hitting upgrade i get told that i have the last version)

any thought?

thanks a lot

(im working on a macOSX el captain, sublime text 3)

chienMouille avatar Apr 03 '18 13:04 chienMouille

Hi @chienMouille can you try removing the folder Packages\User\Deviot\penv you cango to the package folder from Sublime Menu > Preferences > Browse Packages

gepd avatar Apr 09 '18 17:04 gepd

hey, i can't find any penv folder. in Packages\User\Deviot there is only 'deviot.ini' and 'pio'. and in Packages\Deviot (Arduino IDE) there are lots of things but no 'penv'

thank you!

chienMouille avatar Apr 09 '18 19:04 chienMouille

So your system has not multiples version, have you trying updating platformio? Run this commands from the terminal: platformio update and platformio upgrade

Let me know if you keep seeing that warning after update

gepd avatar Apr 10 '18 02:04 gepd

in terminal, when I run: brew updgrade platformio I get: Error: platformio 3.5.2 already installed

when I run platformio upgrade I get: Error: Can not retrieve the latest PlatformIO version

and when I run platformio update I get: Obsolete PIO Core v3.5.2 is used (previous was 3.5.3a8) Please remove multiple PIO Cores from a system: http://docs.platformio.org/page/faq.html#multiple-pio-cores-in-a-system

in ST3, I still get the same warning upon compilation.

chienMouille avatar Apr 10 '18 09:04 chienMouille

update on the problem: due to some problems with loading a sketch on an esp32, I read in another issue I needed to update platformio to the latest version. trying to do so through deviot, I would read the following error: ' Error: Can not retrieve the latest PlatformIO version '. as described in the previous post, homebrew wouldn't let me update either.

after various trials and errors, here is what fixed it:

  • uninstalling platformio with homebrew
  • removing deviot
  • installing deviot (which would install platformio) (at this point deviot would not actually work (which is why I installed platformio through homebrew initially) and trying to update would return 'no module named platformio found')
  • removing deviot without removing platformio and installing it again

I can now update platoformio, load a sketch to my esp32, and the error message indicating several CORES disappeared.

I'm definitely not sure why, but I thought I'd share.

thanks for the help!

chienMouille avatar Jun 11 '18 15:06 chienMouille