platformio-docs icon indicating copy to clipboard operation
platformio-docs copied to clipboard

Documentation re platformIO in Codeanywhere is obsolete and needs an update

Open Theremingenieur opened this issue 3 years ago • 8 comments

The documentation https://github.com/platformio/platformio-docs/blob/develop/integration/ide/codeanywhere.rst is obviously obsolete. When connecting to Codeanywhere, the screens and container options are totally different, now. Obviously, there have been changes on the Codeanywhere side. Unfortunately, even when creating successfully a Python/Ubuntu container, step 4 of the tutorial sudo python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/develop/scripts/get-platformio.py)" fails with an error message and it is thus impossible to run platformio on Codeanywhere.

Theremingenieur avatar May 02 '22 15:05 Theremingenieur

Could you provide PR?

ivankravets avatar May 03 '22 08:05 ivankravets

As soon as I get it working, I'll provide a pull request.

Theremingenieur avatar May 03 '22 08:05 Theremingenieur

sudo python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/develop/scripts/get-platformio.py)"

Could you try just pip install platformio? Without sudo, etc.

ivankravets avatar May 03 '22 08:05 ivankravets

Thank you Ivan, that works, but with a small quirk: A new Python Container on CodeAnywhere comes with the outdated pip version 20.2.3. Thus, I needed to run pip install --upgrade pip first, and afterwards, I could install PlatformIO with pip install platformio.

Theremingenieur avatar May 06 '22 08:05 Theremingenieur

Now, I’ll have still to figure out how to get pio home running in that container. Actually getting a bunch of error messages…

Theremingenieur avatar May 06 '22 10:05 Theremingenieur

PIO Home will not work in Cloud-based IDE. This is a known issue.

ivankravets avatar May 06 '22 10:05 ivankravets

Ah ok, thank you! Will this be improved one day?

Theremingenieur avatar May 06 '22 10:05 Theremingenieur

Please subscribe to this issue https://github.com/platformio/platformio-core/issues/3681

ivankravets avatar May 06 '22 10:05 ivankravets