Cannot Setup Cloud9 Environment. Script fails to recognize Python at all?

0

(I am SSHing onto an existing compute, macOS 13 Ventura)

Here is the full error message from installer script.


Python version 2.7 is required to install pty.js. Please install Python 2.7 and try again. You can find more information on how to install Python in the docs: http://docs.aws.amazon.com/console/cloud9/python-ssh exiting with 100

Failed Bash. Exit code 100.


I have installed/reinstalled Python2.7 via mac ports. The below commands work as well.


python --version Python 2.7.18 python3 --version Python 3.8.3


There is an option that says "Can I install this manually?" which seems to download the .sh script. I have done that and run it without hitting this error message, yet whenever I click to open the IDE from Cloud9, I cannot escape the prompt to Install and Setup my Cloud9 Environment, so it seems I have to go through this automated script running?

Any ideas here? I am very lost! Thank you! -K

asked a year ago493 views
1 Answer
0

@Layhooo2

Since you have the required python version installed already and yet you could run the installation script, I think you may do a restart of the cloud9 environment and then try again

To restart your Cloud9 environment, click on the "Wrench" icon in the top right corner of the Cloud9 IDE. In the "Wrench" menu, select "Restart".

Once your Cloud9 environment has restarted, you can try to install your script. Let me know if helps.

profile picture
answered a year ago
  • Thank you for attempting to help me. @Aravind Vadamalaimuthu

    So, when I click "Open in Cloud9" it just gives me the unescapable "AWS Cloud9 Installer" prompt box, and never actually loads Cloud9. I am assuming there is a wrench if cloud9 actually loads? I cannot access this wrench it seems. If I run the installer script manually it runs for a very long time and installs a lot of items.

    Do you mean to erase and recreate the environment with my SSH settings?

    So far whether I run the script manually or automatically, the "AWS Cloud9 Installer" prompt appears regardless when I click "Open in Cloud9".

    Here are the final lines of running the script manually:


    :Compiling tmux... :Configuring Tmux checking for a BSD-compatible install... /opt/local/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-apple-darwin22.1.0 checking host system type... x86_64-apple-darwin22.1.0 checking for gcc... gcc checking whether the C compiler works... no configure: error: in `/Users/<Name>/.c9/tmux-2.2'.

    configure: error: C compiler cannot create executables.

    See `config.log' for more details


You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions