Problem installing Cloud9 on AWS lightsail


#1

I am trying to install cloud9 on my lightsail to use with AWS. I keep having an error no matter what I do. This is the output of the AWS cloud9 installer. Any ideas what I can try? I am using ubuntu 16.04

Installation Started

Package Cloud9 IDE 1
--------------------

Installing Node.js
+ SOURCE=-1
+ TARGET=/home/ubuntu/.c9/node
+ URL=http://nodejs.org/dist/v4.4.6/node-v4.4.6-linux-x64.tar.gz
+ DIR=node-v4.4.6-linux-x64
+ '[' '!' -1 ']'
+ '[' '!' http://nodejs.org/dist/v4.4.6/node-v4.4.6-linux-x64.tar.gz ']'
+ '[' '!' /home/ubuntu/.c9/node ']'
+ '[' node-v4.4.6-linux-x64 ']'
+ set +e
+ rm -Rf /home/ubuntu/.c9/node
+ set -e
+ mkdir -p /home/ubuntu/.c9/node
+ cd /home/ubuntu/.c9/node
+ '[' http://nodejs.org/dist/v4.4.6/node-v4.4.6-linux-x64.tar.gz ']'
+ has wget
+ type wget
+ return 0
+ DOWNLOAD='wget --no-check-certificate -nc'
+ echo 'Downloading... http://nodejs.org/dist/v4.4.6/node-v4.4.6-linux-x64.tar.gz'
+ printf '\e[01;30m'
+ wget --no-check-certificate -nc http://nodejs.org/dist/v4.4.6/node-v4.4.6-linux-x64.tar.gz
Downloading... http://nodejs.org/dist/v4.4.6/node-v4.4.6-linux-x64.tar.gz
--2017-12-10 18:02:59--  http://nodejs.org/dist/v4.4.6/node-v4.4.6-linux-x64.tar.gz
Resolving nodejs.org (nodejs.org)... 104.20.22.46, 104.20.23.46, 2400:cb00:2048:1::6814:172e, ...
Connecting to nodejs.org (nodejs.org)|104.20.22.46|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 12174079 (12M) [application/gzip]
Saving to: ‘node-v4.4.6-linux-x64.tar.gz’

     0K .......... .......... .......... .......... ..........  0% 4.12M 3s
    50K .......... .......... .......... .......... ..........  0% 7.55M 2s
   100K .......... .......... .......... .......... ..........  1% 42.4M 2s
   150K .......... .......... .......... .......... ..........  1% 84.6M 1s
   200K .......... .......... .......... .......... ..........  2% 8.03M 1s
   250K .......... .......... .......... .......... ..........  2% 94.9M 1s
   300K .......... .......... .......... .......... ..........  2% 69.2M 1s
   350K .......... .......... .......... .......... ..........  3% 73.7M 1s
   400K .......... .......... .......... .......... ..........  3% 11.2M 1s
   450K .......... .......... .......... .......... ..........  4% 41.9M 1s
   500K .......... .......... .......... .......... ..........  4% 29.4M 1s
   550K .......... .......... .......... .......... ..........  5%  121M 1s
   600K .......... .......... .......... .......... ..........  5% 73.8M 1s
   650K .......... .......... .......... .......... ..........  5% 80.3M 1s
   700K .......... .......... .......... .......... ..........  6% 55.0M 1s
   750K .......... .......... .......... .......... ..........  6% 57.9M 1s
   800K .......... .......... .......... .......... ..........  7% 56.0M 1s
   850K .......... .......... .......... .......... ..........  7% 34.7M 0s
   900K .......... .......... .......... .......... ..........  7% 69.9M 0s
   950K .......... .......... .......... .......... ..........  8%  120M 0s
  1000K .......... .......... .......... .......... ..........  8% 56.6M 0s
  1050K .......... .......... .......... .......... ..........  9% 58.9M 0s
  1100K .......... .......... .......... .......... ..........  9% 69.8M 0s
  1150K .......... .......... .......... .......... .......... 10% 56.6M 0s
  1200K .......... .......... .......... .......... .......... 10% 60.2M 0s
  1250K .......... .......... .......... .......... .......... 10% 53.0M 0s
  1300K .......... .......... .......... .......... .......... 11% 63.0M 0s
  1350K .......... .......... .......... .......... .......... 11% 59.0M 0s
  1400K .......... .......... .......... .......... .......... 12% 15.4M 0s
  1450K .......... .......... .......... .......... .......... 12%  122M 0s
  1500K .......... .......... .......... .......... .......... 13%  108M 0s
  1550K .......... .......... .......... .......... .......... 13% 65.9M 0s
  1600K .......... .......... .......... .......... .......... 13% 57.7M 0s
  1650K .......... .......... .......... .......... .......... 14% 61.9M 0s
  1700K .......... .......... .......... .......... .......... 14% 18.9M 0s
  1750K .......... .......... .......... .......... .......... 15%  164M 0s
  1800K .......... .......... .......... .......... .......... 15% 63.9M 0s
  1850K .......... .......... .......... .......... .......... 15%  352M 0s
  1900K .......... .......... .......... .......... .......... 16%  110M 0s
  1950K .......... .......... .......... .......... .......... 16% 59.2M 0s
  2000K .......... .......... .......... .......... .......... 17% 60.0M 0s
  2050K .......... .......... .......... .......... .......... 17% 56.5M 0s
  2100K .......... .......... .......... .......... .......... 18% 58.1M 0s
  2150K .......... .......... .......... .......... .......... 18% 57.9M 0s
  2200K .......... .......... .......... .......... .......... 18% 60.7M 0s
  2250K .......... .......... .......... .......... .......... 19% 60.1M 0s
  2300K .......... .......... .......... .......... .......... 19% 60.3M 0s
  2350K .......... .......... .......... .......... .......... 20% 57.3M 0s
  2400K .......... .......... .......... .......... .......... 20% 56.2M 0s
  2450K .......... .......... .......... .......... .......... 21% 59.6M 0s
  2500K .......... .......... .......... .......... .......... 21% 59.1M 0s
  2550K .......... .......... .......... .......... .......... 21% 59.0M 0s
  2600K .......... .......... .......... .......... .......... 22% 55.0M 0s
  2650K .......... .......... .......... .......... .......... 22% 58.4M 0s
  2700K .......... .......... .......... .......... .......... 23% 59.5M 0s
  2750K .......... .......... .......... .......... .......... 23% 57.5M 0s
  2800K .......... .......... .......... .......... .......... 23% 62.5M 0s
  2850K .......... .......... .......... .......... .......... 24% 53.9M 0s
  2900K .......... .......... .......... .......... .......... 24% 63.0M 0s
  2950K .......... .......... .......... .......... .......... 25% 60.7M 0s
  3000K .......... .......... .......... .......... .......... 25% 58.7M 0s
  3050K .......... .......... .......... .......... .......... 26% 54.8M 0s
  3100K .......... .......... .......... .......... .......... 26% 60.2M 0s
  3150K .......... .......... .......... .......... .......... 26% 58.4M 0s
  3200K .......... .......... .......... .......... .......... 27% 59.8M 0s
  3250K .......... .......... .......... .......... .......... 27% 55.7M 0s
  3300K .......... .......... .......... .......... .......... 28% 59.4M 0s
  3350K .......... .......... .......... .......... .......... 28% 60.1M 0s
  3400K .......... .......... .......... .......... .......... 29% 58.9M 0s
  3450K .......... .......... .......... .......... .......... 29% 58.1M 0s
  3500K .......... .......... .......... .......... .......... 29% 57.1M 0s
  3550K .......... .......... .......... .......... .......... 30% 60.2M 0s
  3600K .......... .......... .......... .......... .......... 30% 57.9M 0s
  3650K .......... .......... .......... .......... .......... 31% 59.0M 0s
  3700K .......... .......... .......... .......... .......... 31% 56.7M 0s
  3750K .......... .......... .......... .......... .......... 31% 58.7M 0s
  3800K .......... .......... .......... .......... .......... 32% 59.7M 0s
  3850K .......... .......... .......... .......... .......... 32% 60.5M 0s
  3900K .......... .......... .......... .......... .......... 33% 55.0M 0s
  3950K .......... .......... .......... .......... .......... 33% 57.9M 0s
  4000K .......... .......... .......... .......... .......... 34% 60.2M 0s
  4050K .......... .......... .......... .......... .......... 34% 61.0M 0s
  4100K .......... .......... .......... .......... .......... 34% 59.7M 0s
  4150K .......... .......... .......... .......... .......... 35% 54.2M 0s
  4200K .......... .......... .......... .......... .......... 35% 59.6M 0s
  4250K .......... .......... .......... .......... .......... 36% 60.1M 0s
  4300K .......... .......... .......... .......... .......... 36% 60.9M 0s
  4350K .......... .......... .......... .......... .......... 37% 57.7M 0s
  4400K .......... .......... .......... .......... .......... 37% 58.4M 0s
  4450K .......... .......... .......... .......... .......... 37% 57.0M 0s
  4500K .......... .......... .......... .......... .......... 38% 58.8M 0s
  4550K .......... .......... .......... .......... .......... 38% 59.8M 0s
  4600K .......... .......... .......... .......... .......... 39% 59.1M 0s
  4650K .......... .......... .......... .......... .......... 39% 54.8M 0s
  4700K .......... .......... .......... .......... .......... 39% 62.1M 0s
  4750K .......... .......... .......... .......... .......... 40% 55.8M 0s
  4800K .......... .......... .......... .......... .......... 40% 56.0M 0s
  4850K .......... .......... .......... .......... .......... 41% 59.8M 0s
  4900K .......... .......... .......... .......... .......... 41% 60.0M 0s
  4950K .......... .......... .......... .......... .......... 42% 57.5M 0s
  5000K .......... .......... .......... .......... .......... 42% 59.3M 0s
  5050K .......... .......... .......... .......... .......... 42% 59.2M 0s
  5100K .......... .......... .......... .......... .......... 43% 59.4M 0s
  5150K .......... .......... .......... .......... .......... 43% 59.3M 0s
  5200K .......... .......... .......... .......... .......... 44% 56.0M 0s
  5250K .......... .......... .......... .......... .......... 44% 57.9M 0s
  5300K .......... .......... .......... .......... .......... 45% 61.8M 0s
  5350K .......... .......... .......... .......... .......... 45% 56.0M 0s
  5400K .......... .......... .......... .......... .......... 45% 59.6M 0s
  5450K .......... .......... .......... .......... .......... 46% 54.1M 0s
  5500K .......... .......... .......... .......... .......... 46% 60.8M 0s
  5550K .......... .......... .......... .......... .......... 47% 60.2M 0s
  5600K .......... .......... .......... .......... .......... 47% 53.1M 0s
  5650K .......... .......... .......... .......... .......... 47% 60.9M 0s
  5700K .......... .......... .......... .......... .......... 48% 61.0M 0s
  5750K .......... .......... .......... .......... .......... 48% 59.2M 0s
  5800K .......... .......... .......... .......... .......... 49% 58.6M 0s
  5850K .......... .......... .......... .......... .......... 49% 61.1M 0s
  5900K .......... .......... .......... .......... .......... 50% 59.2M 0s
  5950K .......... .......... .......... .......... .......... 50% 54.4M 0s
  6000K .......... .......... .......... .......... .......... 50% 59.5M 0s
  6050K .......... .......... .......... .......... .......... 51% 58.2M 0s
  6100K .......... .......... .......... .......... .......... 51% 60.6M 0s
  6150K .......... .......... .......... .......... .......... 52% 57.9M 0s
  6200K .......... .......... .......... .......... .......... 52% 58.3M 0s
  6250K .......... .......... .......... .......... .......... 52% 57.9M 0s
  6300K .......... .......... .......... .......... .......... 53% 20.5M 0s
  6350K .......... .......... .......... .......... .......... 53%  280M 0s
  6400K .......... .......... .......... .......... .......... 54%  289M 0s
  6450K .......... .......... .......... .......... .......... 54% 81.3M 0s
  6500K .......... .......... .......... .......... .......... 55% 59.4M 0s
  6550K .......... .......... .......... .......... .......... 55% 59.9M 0s
  6600K .......... .......... .......... .......... .......... 55% 59.2M 0s
  6650K .......... .......... .......... .......... .......... 56% 58.5M 0s
  6700K .......... .......... .......... .......... .......... 56% 58.3M 0s
  6750K .......... .......... .......... .......... .......... 57% 55.2M 0s
  6800K .......... .......... .......... .......... .......... 57% 59.0M 0s
  6850K .......... .......... .......... .......... .......... 58% 60.4M 0s
  6900K .......... .......... .......... .......... .......... 58% 57.3M 0s
  6950K .......... .......... .......... .......... .......... 58% 57.4M 0s
  7000K .......... .......... .......... .......... .......... 59% 59.5M 0s
  7050K .......... .......... .......... .......... .......... 59% 58.8M 0s
  7100K .......... .......... .......... .......... .......... 60% 58.0M 0s
  7150K .......... .......... .......... .......... .......... 60% 58.6M 0s
  7200K .......... .......... .......... .......... .......... 60% 59.1M 0s
  7250K .......... .......... .......... .......... .......... 61% 59.9M 0s
  7300K .......... .......... .......... .......... .......... 61% 59.2M 0s
  7350K .......... .......... .......... .......... .......... 62% 58.6M 0s
  7400K .......... .......... .......... .......... .......... 62% 55.5M 0s
  7450K .......... .......... .......... .......... .......... 63% 60.5M 0s
  7500K .......... .......... .......... .......... .......... 63% 58.5M 0s
  7550K .......... .......... .......... .......... .......... 63% 58.6M 0s
  7600K .......... .......... .......... .......... .......... 64% 46.7M 0s
  7650K .......... .......... .......... .......... .......... 64% 75.2M 0s
  7700K .......... .......... .......... .......... .......... 65% 60.2M 0s
  7750K .......... .......... .......... .......... .......... 65% 60.0M 0s
  7800K .......... .......... .......... .......... .......... 66% 57.6M 0s
  7850K .......... .......... .......... .......... .......... 66% 56.7M 0s
  7900K .......... .......... .......... .......... .......... 66% 58.4M 0s
  7950K .......... .......... .......... .......... .......... 67% 59.4M 0s
  8000K .......... .......... .......... .......... .......... 67% 59.2M 0s
  8050K .......... .......... .......... .......... .......... 68% 56.2M 0s
  8100K .......... .......... .......... .......... .......... 68% 59.6M 0s
  8150K .......... .......... .......... .......... .......... 68% 59.9M 0s
  8200K .......... .......... .......... .......... .......... 69% 59.8M 0s
  8250K .......... .......... .......... .......... .......... 69% 59.4M 0s
  8300K .......... .......... .......... .......... .......... 70% 54.4M 0s
  8350K .......... .......... .......... .......... .......... 70% 53.8M 0s
  8400K .......... .......... .......... .......... .......... 71% 59.7M 0s
  8450K .......... .......... .......... .......... .......... 71% 67.1M 0s
  8500K .......... .......... .......... .......... .......... 71% 54.8M 0s
  8550K .......... .......... .......... .......... .......... 72% 59.6M 0s
  8600K .......... .......... .......... .......... .......... 72% 57.8M 0s
  8650K .......... .......... .......... .......... .......... 73% 59.7M 0s
  8700K .......... .......... .......... .......... .......... 73% 57.0M 0s
  8750K .......... .......... .......... .......... .......... 74% 59.8M 0s
  8800K .......... .......... .......... .......... .......... 74% 59.6M 0s
  8850K .......... .......... .......... .......... .......... 74% 60.9M 0s
  8900K .......... .......... .......... .......... .......... 75% 57.1M 0s
  8950K .......... .......... .......... .......... .......... 75% 54.1M 0s
  9000K .......... .......... .......... .......... .......... 76% 60.6M 0s
  9050K .......... .......... .......... .......... .......... 76% 59.8M 0s
  9100K .......... .......... .......... .......... .......... 76% 61.5M 0s
  9150K .......... .......... .......... .......... .......... 77% 52.6M 0s
  9200K .......... .......... .......... .......... .......... 77% 60.5M 0s
  9250K .......... .......... .......... .......... .......... 78% 61.7M 0s
  9300K .......... .......... .......... .......... .......... 78% 56.8M 0s
  9350K .......... .......... .......... .......... .......... 79% 62.9M 0s
  9400K .......... .......... .......... .......... .......... 79% 56.0M 0s
  9450K .......... .......... .......... .......... .......... 79% 60.1M 0s
  9500K .......... .......... .......... .......... .......... 80% 55.5M 0s
  9550K .......... .......... .......... .......... .......... 80% 60.2M 0s
  9600K .......... .......... .......... .......... .......... 81% 58.5M 0s
  9650K .......... .......... .......... .......... .......... 81% 57.9M 0s
  9700K .......... .......... .......... .......... .......... 82% 59.9M 0s
  9750K .......... .......... .......... .......... .......... 82% 57.5M 0s
  9800K .......... .......... .......... .......... .......... 82% 60.3M 0s
  9850K .......... .......... .......... .......... .......... 83% 55.1M 0s
  9900K .......... .......... .......... .......... .......... 83% 56.5M 0s
  9950K .......... .......... .......... .......... .......... 84% 64.8M 0s
 10000K .......... .......... .......... .......... .......... 84% 55.0M 0s
 10050K .......... .......... .......... .......... .......... 84% 60.2M 0s
 10100K .......... .......... .......... .......... .......... 85% 53.8M 0s
 10150K .......... .......... .......... .......... .......... 85% 66.4M 0s
 10200K .......... .......... .......... .......... .......... 86% 56.7M 0s
 10250K .......... .......... .......... .......... .......... 86% 60.7M 0s
 10300K .......... .......... .......... .......... .......... 87% 55.7M 0s
 10350K .......... .......... .......... .......... .......... 87% 60.3M 0s
 10400K .......... .......... .......... .......... .......... 87% 57.6M 0s
 10450K .......... .......... .......... .......... .......... 88% 59.0M 0s
 10500K .......... .......... .......... .......... .......... 88% 58.5M 0s
 10550K .......... .......... .......... .......... .......... 89% 55.6M 0s
 10600K .......... .......... .......... .......... .......... 89% 59.4M 0s
 10650K .......... .......... .......... .......... .......... 90% 63.9M 0s
 10700K .......... .......... .......... .......... .......... 90% 56.6M 0s
 10750K .......... .......... .......... .......... .......... 90% 57.2M 0s
 10800K .......... .......... .......... .......... .......... 91% 60.0M 0s
 10850K .......... .......... .......... .......... .......... 91% 58.8M 0s
 10900K .......... .......... .......... .......... .......... 92% 59.4M 0s
 10950K .......... .......... .......... .......... .......... 92% 58.7M 0s
 11000K .......... .......... .......... .......... .......... 92% 57.8M 0s
 11050K .......... .......... .......... .......... .......... 93% 58.1M 0s
 11100K .......... .......... .......... .......... .......... 93% 59.0M 0s
 11150K .......... .......... .......... .......... .......... 94% 20.3M 0s
 11200K .......... .......... .......... .......... .......... 94%  305M 0s
 11250K .......... .......... .......... .......... .......... 95%  292M 0s
 11300K .......... .......... .......... .......... .......... 95% 81.9M 0s
 11350K .......... .......... .......... .......... .......... 95% 58.9M 0s
 11400K .......... .......... .......... .......... .......... 96% 59.1M 0s
 11450K .......... .......... .......... .......... .......... 96% 54.8M 0s
 11500K .......... .......... .......... .......... .......... 97% 59.7M 0s
 11550K .......... .......... .......... .......... .......... 97% 58.8M 0s
 11600K .......... .......... .......... .......... .......... 97% 60.3M 0s
 11650K .......... .......... .......... .......... .......... 98% 57.1M 0s
 11700K .......... .......... .......... .......... .......... 98% 57.8M 0s
 11750K .......... .......... .......... .......... .......... 99% 59.2M 0s
 11800K .......... .......... .......... .......... .......... 99% 59.3M 0s
 11850K .......... .......... .......... ........             100% 58.9M=0.2s

2017-12-10 18:02:59 (51.6 MB/s) - ‘node-v4.4.6-linux-x64.tar.gz’ saved [12174079/12174079]

+ printf '\e[0m'
++ basename http://nodejs.org/dist/v4.4.6/node-v4.4.6-linux-x64.tar.gz
+ SOURCE=/home/ubuntu/.c9/node/node-v4.4.6-linux-x64.tar.gz
++ dirname /home/ubuntu/.c9/node/node-v4.4.6-linux-x64.tar.gz
++ dirname /home/ubuntu/.c9/node/x
+ '[' /home/ubuntu/.c9/node '!=' /home/ubuntu/.c9/node ']'
+ echo 'Unpacking... /home/ubuntu/.c9/node/node-v4.4.6-linux-x64.tar.gz'
+ printf '\e[01;30m'
+ tar -U -zxf /home/ubuntu/.c9/node/node-v4.4.6-linux-x64.tar.gz
Unpacking... /home/ubuntu/.c9/node/node-v4.4.6-linux-x64.tar.gz
+ printf '\e[0m'
+ rm -Rf /home/ubuntu/.c9/node/node-v4.4.6-linux-x64.tar.gz
+ '[' node-v4.4.6-linux-x64 ']'
+ echo 'Merging... /home/ubuntu/.c9/node/node-v4.4.6-linux-x64 in /home/ubuntu/.c9/node'
+ printf '\e[01;30m'
+ merge
+ mkdir -p c9_tmp
Merging... /home/ubuntu/.c9/node/node-v4.4.6-linux-x64 in /home/ubuntu/.c9/node
+ rm -rf c9_tmp/node-v4.4.6-linux-x64
+ mv node-v4.4.6-linux-x64 c9_tmp/node-v4.4.6-linux-x64
+ mv c9_tmp/node-v4.4.6-linux-x64/bin c9_tmp/node-v4.4.6-linux-x64/CHANGELOG.md c9_tmp/node-v4.4.6-linux-x64/include c9_tmp/node-v4.4.6-linux-x64/lib c9_tmp/node-v4.4.6-linux-x64/LICENSE c9_tmp/node-v4.4.6-linux-x64/README.md c9_tmp/node-v4.4.6-linux-x64/share .
+ set +e
+ mv c9_tmp/node-v4.4.6-linux-x64/. c9_tmp/node-v4.4.6-linux-x64/.. .
+ set -e
+ rm -rf c9_tmp
+ printf '\e[0m'
+ echo 

You have a global gyp installed. Setting up VirtualEnv without global pakages
--2017-12-10 18:03:01--  https://pypi.python.org/packages/source/v/virtualenv/virtualenv-12.0.7.tar.gz
Resolving pypi.python.org (pypi.python.org)... 151.101.32.223, 2a04:4e42:8::223
Connecting to pypi.python.org (pypi.python.org)|151.101.32.223|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1829757 (1.7M) [application/octet-stream]
Saving to: ‘virtualenv-12.0.7.tar.gz’

     0K .......... .......... .......... .......... ..........  2% 17.8M 0s
    50K .......... .......... .......... .......... ..........  5%  271M 0s
   100K .......... .......... .......... .......... ..........  8% 38.0M 0s
   150K .......... .......... .......... .......... .......... 11% 62.3M 0s
   200K .......... .......... .......... .......... .......... 13% 37.1M 0s
   250K .......... .......... .......... .......... .......... 16% 77.7M 0s
   300K .......... .......... .......... .......... .......... 19% 52.4M 0s
   350K .......... .......... .......... .......... .......... 22% 55.2M 0s
   400K .......... .......... .......... .......... .......... 25% 55.7M 0s
   450K .......... .......... .......... .......... .......... 27% 77.9M 0s
   500K .......... .......... .......... .......... .......... 30% 79.2M 0s
   550K .......... .......... .......... .......... .......... 33% 68.5M 0s
   600K .......... .......... .......... .......... .......... 36% 60.1M 0s
   650K .......... .......... .......... .......... .......... 39% 70.8M 0s
   700K .......... .......... .......... .......... .......... 41% 76.7M 0s
   750K .......... .......... .......... .......... .......... 44% 49.2M 0s
   800K .......... .......... .......... .......... .......... 47% 40.5M 0s
   850K .......... .......... .......... .......... .......... 50% 86.9M 0s
   900K .......... .......... .......... .......... .......... 53% 70.7M 0s
   950K .......... .......... .......... .......... .......... 55% 56.7M 0s
  1000K .......... .......... .......... .......... .......... 58% 65.9M 0s
  1050K .......... .......... .......... .......... .......... 61% 61.1M 0s
  1100K .......... .......... .......... .......... .......... 64% 58.6M 0s
  1150K .......... .......... .......... .......... .......... 67% 50.6M 0s
  1200K .......... .......... .......... .......... .......... 69% 58.1M 0s
  1250K .......... .......... .......... .......... .......... 72% 60.8M 0s
  1300K .......... .......... .......... .......... .......... 75% 59.4M 0s
  1350K .... .......... 81% 24.4M 0s
  1450K .......... .......... .......... .......... .......... 83%  282M 0s
  1500K .......... .......... .......... .......... .......... 86% 65.2M 0s
  1550K .......... .......... .......... .......... .......... 89% 64.3M 0s
  1600K .......... .......... .......... .......... .......... 92% 71.8M 0s
  1650K .......... .......... .......... .......... .......... 95% 58.6M 0s
  1700K .......... .......... .......... .......... .......... 97% 68.3M 0s
  1750K .......... .......... .......... ......               100% 56.0M=0.03s

2017-12-10 18:03:01 (55.9 MB/s) - ‘virtualenv-12.0.7.tar.gz’ saved [1829757/1829757]

Already using interpreter /usr/bin/python2.7
New python executable in /home/ubuntu/.c9/python/bin/python2.7
Also creating executable in /home/ubuntu/.c9/python/bin/python
Installing setuptools, pip...done.

Installing Pty.js
npm WARN engine hawk@6.0.2: wanted: {"node":">=4.5.0"} (current: {"node":"4.4.6","npm":"2.15.5"})
node-gyp@3.6.2 node_modules/node-gyp
├── rimraf@2.6.2
├── graceful-fs@4.1.11
├── semver@5.3.0
├── osenv@0.1.4 (os-homedir@1.0.2, os-tmpdir@1.0.2)
├── nopt@3.0.6 (abbrev@1.1.1)
├── which@1.3.0 (isexe@2.0.0)
├── minimatch@3.0.4 (brace-expansion@1.1.8)
├── glob@7.1.2 (path-is-absolute@1.0.1, inherits@2.0.3, fs.realpath@1.0.0, once@1.4.0, inflight@1.0.6)
├── fstream@1.0.11 (inherits@2.0.3)
├── mkdirp@0.5.1 (minimist@0.0.8)
├── tar@2.2.1 (inherits@2.0.3, block-stream@0.0.9)
├── npmlog@4.1.2 (set-blocking@2.0.0, console-control-strings@1.1.0, gauge@2.7.4, are-we-there-yet@1.1.4)
└── request@2.83.0 (aws-sign2@0.7.0, forever-agent@0.6.1, oauth-sign@0.8.2, tunnel-agent@0.6.0, caseless@0.12.0, is-typedarray@1.0.0, safe-buffer@5.1.1, stringstream@0.0.5, aws4@1.6.0, isstream@0.1.2, json-stringify-safe@5.0.1, extend@3.0.1, performance-now@2.1.0, uuid@3.1.0, qs@6.5.1, combined-stream@1.0.5, mime-types@2.1.17, tough-cookie@2.3.3, form-data@2.3.1, hawk@6.0.2, http-signature@1.2.0, har-validator@5.0.3)


> pty.js@0.3.0 install /home/ubuntu/.c9/node_modules/pty.js
> node-gyp rebuild

make: Entering directory '/home/ubuntu/.c9/node_modules/pty.js/build'
  CXX(target) Release/obj.target/pty/src/unix/pty.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make: *** [Release/obj.target/pty/src/unix/pty.o] Error 4
pty.target.mk:90: recipe for target 'Release/obj.target/pty/src/unix/pty.o' failed
make: Leaving directory '/home/ubuntu/.c9/node_modules/pty.js/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/ubuntu/.c9/node/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.0-1043-aws
gyp ERR! command "/home/ubuntu/.c9/node/bin/node" "/home/ubuntu/.c9/node/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/ubuntu/.c9/node_modules/pty.js
gyp ERR! node -v v4.4.6
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok 
npm ERR! Linux 4.4.0-1043-aws
npm ERR! argv "/home/ubuntu/.c9/node/bin/node" "/home/ubuntu/.c9/node/bin/npm" "install" "--production" "pty.js@0.3.0"
npm ERR! node v4.4.6

#2

Looks like the issue is caused by the old version of gcc
Try running the manual installer from https://github.com/c9/install, it installs precompiled version of pty.js