Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation re platformIO in Codeanywhere is obsolete and needs an update #241

Open
Theremingenieur opened this issue May 2, 2022 · 8 comments

Comments

@Theremingenieur
Copy link

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.

@ivankravets
Copy link
Member

Could you provide PR?

@Theremingenieur
Copy link
Author

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

@ivankravets
Copy link
Member

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.

@Theremingenieur
Copy link
Author

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
Copy link
Author

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

@ivankravets
Copy link
Member

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

@Theremingenieur
Copy link
Author

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

@ivankravets
Copy link
Member

Please subscribe to this issue platformio/platformio-core#3681

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants