marlin-config icon indicating copy to clipboard operation
marlin-config copied to clipboard

mac/platformio

Open mitchy2233 opened this issue 6 years ago • 15 comments

platformio is installed and up to date yet when i try to compile the firmware it tells me that i need to install platform wtf do i do???????

Requirement already up-to-date: platformio in /Library/Python/2.7/site-packages Requirement already up-to-date: lockfile<0.13,>=0.9.1 in /Library/Python/2.7/site-packages (from platformio) Requirement already up-to-date: requests<3,>=2.4.0 in /Library/Python/2.7/site-packages (from platformio) Requirement already up-to-date: bottle<0.13 in /Library/Python/2.7/site-packages (from platformio) Requirement already up-to-date: arrow<1 in /Library/Python/2.7/site-packages (from platformio) Requirement already up-to-date: click<6,>=5 in /Library/Python/2.7/site-packages (from platformio) Requirement already up-to-date: semantic-version>=2.5.0 in /Library/Python/2.7/site-packages (from platformio) Requirement already up-to-date: colorama in /Library/Python/2.7/site-packages (from platformio) Requirement already up-to-date: pyserial!=3.3,<4,>=3 in /Library/Python/2.7/site-packages (from platformio) Requirement already up-to-date: urllib3<1.22,>=1.21.1 in /Library/Python/2.7/site-packages (from requests<3,>=2.4.0->platformio) Requirement already up-to-date: idna<2.6,>=2.5 in /Library/Python/2.7/site-packages (from requests<3,>=2.4.0->platformio) Requirement already up-to-date: certifi>=2017.4.17 in /Library/Python/2.7/site-packages/certifi-2017.4.17-py2.7.egg (from requests<3,>=2.4.0->platformio) Requirement already up-to-date: chardet<3.1.0,>=3.0.2 in /Library/Python/2.7/site-packages (from requests<3,>=2.4.0->platformio) Requirement already up-to-date: python-dateutil in /Library/Python/2.7/site-packages (from arrow<1->platformio) Requirement already up-to-date: six>=1.5 in /Library/Python/2.7/site-packages/six-1.10.0-py2.7.egg (from python-dateutil->arrow<1->platformio)

mitchy2233 avatar Jul 16 '17 07:07 mitchy2233

why the hell wouldn't you have the option of using arduino ied??????????????

mitchy2233 avatar Jul 16 '17 07:07 mitchy2233

if the buttons compile/flash disabled - you need to restart application you can use arduino also - just open the same folder from it

akaJes avatar Jul 16 '17 08:07 akaJes

Mitch, you're being rude while asking for help. If you want to use Arduino go right ahead.

NNygren avatar Jul 16 '17 15:07 NNygren

I'm also having this issue. I've installed platformio as described in the guilde and it's not seeing it's installed. The buttons are not disabled, but when you click on them a message pops up saying to install platformio.

Bazeone avatar Jul 17 '17 23:07 Bazeone

if you type in console pio or platformio and get an error - it means that PlatformIO not installed properly my application just checks it before - if not - shows poupup

akaJes avatar Jul 18 '17 06:07 akaJes

They both work via console, but still getting the popup.

Bazeone avatar Jul 18 '17 06:07 Bazeone

what OS do you use? it was tested on ubuntu and windows, i have no mac

akaJes avatar Jul 18 '17 09:07 akaJes

i'm on macOS Sierra 10.12.5

Bazeone avatar Jul 18 '17 20:07 Bazeone

This might be related to the pyserial bug in PlatformIO https://github.com/platformio/platformio-core/commit/a37eb9868f3b20e982d0c3cd1a742fcb8ab60efc

I suspect that, because PlatformIO is unable to be called while this bug exists, that's why Marlin-Config doesn't think it is installed.

NNygren avatar Jul 19 '17 01:07 NNygren

Downgrade pyserial and see if it works. Update: At least on my linux box, confirmed that downgrading from python2-pyserial 3.3.1 to 3.2 fixed the platformio not launching.

NNygren avatar Jul 19 '17 01:07 NNygren

I see another one simple solution: Try to upgrade to dev version

# uninstall existing version
pip uninstall platformio

# install the latest development version of PlatformIO
pip install -U https://github.com/platformio/platformio-core/archive/develop.zip

akaJes avatar Jul 19 '17 04:07 akaJes

I have build test release for macos with the console support and pio fixes

akaJes avatar Jul 20 '17 13:07 akaJes

Tested with OS X Sierra and working.

NNygren avatar Jul 20 '17 14:07 NNygren

Does the console work also? because i did it on ubuntu under vmware with pc-hackintosh

akaJes avatar Jul 20 '17 14:07 akaJes

I can't test it out; at the moment my printer is connected to my linux box.

NNygren avatar Jul 20 '17 15:07 NNygren