Skip to content

Instantly share code, notes, and snippets.

@tgamauf
Created June 27, 2019 07:33
Show Gist options
  • Save tgamauf/6da80cb4cfc57b6d4ffab231bff7f2c6 to your computer and use it in GitHub Desktop.
Save tgamauf/6da80cb4cfc57b6d4ffab231bff7f2c6 to your computer and use it in GitHub Desktop.
Install error
travis@travis-job-d41614e3-2c9f-46d4-8d17-620bfc4bee5a:~/build/mostly-ai/mostly-engine$ travis_run_before_install
$ sudo apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:5 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease
Reading package lists... Done
$ sudo apt-get install -y openjdk-8-jre-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
openjdk-8-jdk openjdk-8-jdk-headless openjdk-8-jre
Suggested packages:
openjdk-8-demo openjdk-8-source visualvm icedtea-8-plugin libnss-mdns fonts-dejavu-extra fonts-ipafont-gothic fonts-ipafont-mincho
fonts-wqy-microhei fonts-wqy-zenhei fonts-indic
Recommended packages:
fonts-dejavu-extra
The following packages will be upgraded:
openjdk-8-jdk openjdk-8-jdk-headless openjdk-8-jre openjdk-8-jre-headless
4 upgraded, 0 newly installed, 0 to remove and 162 not upgraded.
Need to get 36.6 MB of archives.
After this operation, 25.6 kB disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jdk amd64 8u212-b03-0ubuntu1.16.04.1 [1,339 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jdk-headless amd64 8u212-b03-0ubuntu1.16.04.1 [8,199 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jre amd64 8u212-b03-0ubuntu1.16.04.1 [69.0 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 openjdk-8-jre-headless amd64 8u212-b03-0ubuntu1.16.04.1 [27.0 MB]
Fetched 36.6 MB in 0s (55.6 MB/s)
(Reading database ... 124189 files and directories currently installed.)
Preparing to unpack .../openjdk-8-jdk_8u212-b03-0ubuntu1.16.04.1_amd64.deb ...
Unpacking openjdk-8-jdk:amd64 (8u212-b03-0ubuntu1.16.04.1) over (8u191-b12-2ubuntu0.16.04.1) ...
Preparing to unpack .../openjdk-8-jdk-headless_8u212-b03-0ubuntu1.16.04.1_amd64.deb ...
Unpacking openjdk-8-jdk-headless:amd64 (8u212-b03-0ubuntu1.16.04.1) over (8u191-b12-2ubuntu0.16.04.1) ...
Preparing to unpack .../openjdk-8-jre_8u212-b03-0ubuntu1.16.04.1_amd64.deb ...
Unpacking openjdk-8-jre:amd64 (8u212-b03-0ubuntu1.16.04.1) over (8u191-b12-2ubuntu0.16.04.1) ...
Preparing to unpack .../openjdk-8-jre-headless_8u212-b03-0ubuntu1.16.04.1_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u212-b03-0ubuntu1.16.04.1) over (8u191-b12-2ubuntu0.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up openjdk-8-jre-headless:amd64 (8u212-b03-0ubuntu1.16.04.1) ...
Installing new version of config file /etc/java-8-openjdk/calendars.properties ...
Installing new version of config file /etc/java-8-openjdk/security/java.security ...
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/clhsdb to provide /usr/bin/clhsdb (clhsdb) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/hsdb to provide /usr/bin/hsdb (hsdb) in auto mode
Setting up openjdk-8-jre:amd64 (8u212-b03-0ubuntu1.16.04.1) ...
Setting up openjdk-8-jdk-headless:amd64 (8u212-b03-0ubuntu1.16.04.1) ...
Setting up openjdk-8-jdk:amd64 (8u212-b03-0ubuntu1.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
travis@travis-job-d41614e3-2c9f-46d4-8d17-620bfc4bee5a:~/build/mostly-ai/mostly-engine$
travis@travis-job-d41614e3-2c9f-46d4-8d17-620bfc4bee5a:~/build/mostly-ai/mostly-engine$ pip install -e .
Obtaining file:///home/travis/build/mostly-ai/mostly-engine
Collecting score.init>=0.7 (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/02/e5/7a2b22643df21b10cacaac8a1031ce5b411aa1b6cc7ea0b877e4d962b6ce/score.init-0.8
.1-py3-none-any.whl
Collecting numpy==1.16.* (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/87/2d/e4656149cbadd3a8a0369fcd1a9c7d61cc7b87b3903b85389c70c989a696/numpy-1.16.4-c
p36-cp36m-manylinux1_x86_64.whl (17.3MB)
Collecting pandas==0.24.* (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/19/74/e50234bc82c553fecdbd566d8650801e3fe2d6d8c8d940638e3d8a7c5522/pandas-0.24.2-
cp36-cp36m-manylinux1_x86_64.whl (10.1MB)
Collecting tensorflow==1.12.0 (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/22/cc/ca70b78087015d21c5f3f93694107f34ebccb3be9624385a911d4b52ecef/tensorflow-1.1
2.0-cp36-cp36m-manylinux1_x86_64.whl (83.1MB)
Collecting scikit-learn>=0.19 (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/85/04/49633f490f726da6e454fddc8e938bbb5bfed2001681118d3814c219b723/scikit_learn-0
.21.2-cp36-cp36m-manylinux1_x86_64.whl (6.7MB)
Collecting scipy>=1.1 (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/72/4c/5f81e7264b0a7a8bd570810f48cd346ba36faedbd2ba255c873ad556de76/scipy-1.3.0-cp
36-cp36m-manylinux1_x86_64.whl (25.2MB)
Collecting statsmodels>=0.9 (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/81/3f/574a6cad83e1b5f2b00eb377b9f420892826072043047058cab4c0a26693/statsmodels-0.
10.0-cp36-cp36m-manylinux1_x86_64.whl (8.1MB)
Collecting tables>=3.4 (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/87/f7/bb0ec32a3f3dd74143a3108fbf737e6dcfd47f0ffd61b52af7106ab7a38a/tables-3.5.2-c
p36-cp36m-manylinux1_x86_64.whl (4.3MB)
Collecting xxhash>=1.3 (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/df/db/abd8ecd1753b60e5b527365676482bda272d71eaab0ad732a8be5f11d2d8/xxhash-1.3.0-c
p36-cp36m-manylinux1_x86_64.whl (46kB)
Collecting pyarrow==0.11.* (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/36/94/23135312f97b20d6457294606fb70fad43ef93b7bffe567088ebe3623703/pyarrow-0.11.1
-cp36-cp36m-manylinux1_x86_64.whl (11.6MB)
Collecting pyspark==2.4.* (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/37/98/244399c0daa7894cdf387e7007d5e8b3710a79b67f3fd991c0b0b644822d/pyspark-2.4.3.
tar.gz (215.6MB)
Collecting google-cloud-storage>=1.14 (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/e2/4e/aee59b19321eb1063317c2e6fa4c2f3cfe21740586de78578eedbd2bed3d/google_cloud_s
torage-1.16.1-py2.py3-none-any.whl (65kB)
Collecting psutil>=5.6.2 (from mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/1c/ca/5b8c1fe032a458c2c4bcbe509d1401dca9dda35c7fc46b36bb81c2834740/psutil-5.6.3.t
ar.gz (435kB)
Collecting python-dateutil>=2.5.0 (from pandas==0.24.*->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateuti
l-2.8.0-py2.py3-none-any.whl (226kB)
Collecting pytz>=2011k (from pandas==0.24.*->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/3d/73/fe30c2daaaa0713420d0382b16fbb761409f532c56b
dcc514bf7b6262bb6/pytz-2019.1-py2.py3-none-any.whl (510kB)
Collecting protobuf>=3.6.1 (from tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/d2/fb/29de8d08967f0cce1bb10b39846d836b0f3bf6776ddc36aed7c73498ca7e/protobuf-3.8.0
-cp36-cp36m-manylinux1_x86_64.whl (1.2MB)
Collecting wheel>=0.26 (from tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/bb/10/44230dd6bf3563b8f227dbf344c908d412ad2ff48066476672f3a72e174e/wheel-0.33.4-p
y2.py3-none-any.whl
Collecting termcolor>=1.1.0 (from tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.
0.tar.gz
Collecting gast>=0.2.0 (from tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/4e/35/11749bf99b2d4e3cceb4d55ca22590b0d7c2c62b9de38ac4a4a7f4687421/gast-0.2.2.tar
.gz
Collecting absl-py>=0.1.6 (from tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/da/3f/9b0355080b81b15ba6a9ffcf1f5ea39e307a2778b2f
2dc8694724e8abd5b/absl-py-0.7.1.tar.gz (99kB)
Collecting keras-preprocessing>=1.0.5 (from tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/28/6a/8c1f62c37212d9fc441a7e26736df51ce6f0e38455816445471f10da4f0a/Keras_Preproce
ssing-1.1.0-py2.py3-none-any.whl (41kB)
Collecting astor>=0.6.0 (from tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/d1/4f/950dfae467b384fc96bc6469de25d832534f6b4441033c39f914efd13418/astor-0.8.0-py
2.py3-none-any.whl
Collecting six>=1.10.0 (from tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2
.py3-none-any.whl
Collecting tensorboard<1.13.0,>=1.12.0 (from tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/07/53/8d32ce9471c18f8d99028b7cef2e5b39ea8765bd7ef250ca05b490880971/tensorboard-1.
12.2-py3-none-any.whl (3.0MB)
Collecting grpcio>=1.8.6 (from tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/99/83/18f374294bf
34128a448ee2fae37651f943b0b5fa473b5b3aff262c15bf8/grpcio-1.21.1-cp36-cp36m-manylinux1_x86_64.whl (2.2MB)
Collecting keras-applications>=1.0.6 (from tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/71/e3/19762fdfc62877ae9102edf6342d71b28fbfd9dea3d2f96a882ce099b03f/Keras_Applicat
ions-1.0.8-py3-none-any.whl (50kB)
Collecting joblib>=0.11 (from scikit-learn>=0.19->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/cd/c1/50a758e8247561e58cb87305b1e90b171b8c767b15b12a1734001f41d356/joblib-0.13.2-
py2.py3-none-any.whl (278kB)
Collecting patsy>=0.4.0 (from statsmodels>=0.9->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/ea/0c/5f61f1a3d4385d6bf83b83ea495068857ff8dfb89e74824c6e9eb63286d8/patsy-0.5.1-py
2.py3-none-any.whl (231kB)
Collecting mock>=2.0 (from tables>=3.4->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/05/d2/f94e68be6b17f46d2c353564da56e6fb89ef09faeeff3313a046cb810ca9/mock-3.0.5-py2
.py3-none-any.whl
Collecting numexpr>=2.6.2 (from tables>=3.4->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/0e/13/d38d56c4c49e50b35b6912c80d89f856d50aff605c9e3a4dbba91fc3df44/numexpr-2.6.9-
cp36-cp36m-manylinux1_x86_64.whl (163kB)
Collecting py4j==0.10.7 (from pyspark==2.4.*->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/e3/53/c737818eb9a7dc32a7cd4f1396e787bd94200c3997c72c1dbe028587bd76/py4j-0.10.7-py
2.py3-none-any.whl (197kB)
Collecting google-cloud-core<2.0dev,>=1.0.0 (from google-cloud-storage>=1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/98/7f/ff56aec313787577e262d5a2e306c04aef61c5c274699ff9fb40095e6691/google_cloud_c
ore-1.0.2-py2.py3-none-any.whl
Collecting google-auth>=1.2.0 (from google-cloud-storage>=1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/c5/9b/ed0516cc1f7609fb0217e3057ff4f0f9f3e3ce79a369c6af4a6c5ca25664/google_auth-1.
6.3-py2.py3-none-any.whl (73kB)
Collecting google-resumable-media>=0.3.1 (from google-cloud-storage>=1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/e2/5d/4bc5c28c252a62efe69ed1a1561da92bd5af8eca0cdcdf8e60354fae9b29/google_resumab
le_media-0.3.2-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /opt/python/3.6.8/lib/python3.6/site-packages (from protobuf>=3.6.1->tensorflow==1.12.0->m
ostly-engine==2019.6.26) (40.6.2)
Collecting markdown>=2.6.8 (from tensorboard<1.13.0,>=1.12.0->tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/c0/4e/fd492e91abdc2d2fcb70ef453064d980688762079397f779758e055f6575/Markdown-3.1.1
-py2.py3-none-any.whl (87kB)
Collecting werkzeug>=0.11.10 (from tensorboard<1.13.0,>=1.12.0->tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/9f/57/92a497e38161ce40606c27a86759c6b92dd34fcdb33f64171ec559257c02/Werkzeug-0.15.
4-py2.py3-none-any.whl (327kB)
Collecting h5py (from keras-applications>=1.0.6->tensorflow==1.12.0->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/30/99/d7d4fbf2d02bb30fb76179911a250074b55b852d34e98dd452a9f394ac06/h5py-2.9.0-cp3
6-cp36m-manylinux1_x86_64.whl (2.8MB)
Collecting google-api-core<2.0.0dev,>=1.11.0 (from google-cloud-core<2.0dev,>=1.0.0->google-cloud-storage>=1.14->mostly-engine==2019.6.
26)
Downloading https://files.pythonhosted.org/packages/a2/78/bbd685dda48a291b4cc81568ed3e1a89af7a61958dc88a3d52a819b1919d/google_api_cor
e-1.13.0-py2.py3-none-any.whl (68kB)
Collecting pyasn1-modules>=0.2.1 (from google-auth>=1.2.0->google-cloud-storage>=1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/91/f0/b03e00ce9fddf4827c42df1c3ce10c74eadebfb706231e8d6d1c356a4062/pyasn1_modules
-0.2.5-py2.py3-none-any.whl (74kB)
Collecting rsa>=3.1.4 (from google-auth>=1.2.0->google-cloud-storage>=1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py
3-none-any.whl
Collecting cachetools>=2.0.0 (from google-auth>=1.2.0->google-cloud-storage>=1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/2f/a6/30b0a0bef12283e83e58c1d6e7b5aabc7acfc4110df81a4471655d33e704/cachetools-3.1
.1-py2.py3-none-any.whl
Collecting requests<3.0.0dev,>=2.18.0 (from google-api-core<2.0.0dev,>=1.11.0->google-cloud-core<2.0dev,>=1.0.0->google-cloud-storage>=
1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/51/bd/23c926cd341ea6b7dd0b2a00aba99ae0f828be89d72b2190f27c11d4b7fb/requests-2.22.
0-py2.py3-none-any.whl (57kB)
Collecting googleapis-common-protos!=1.5.4,<2.0dev,>=1.5.3 (from google-api-core<2.0.0dev,>=1.11.0->google-cloud-core<2.0dev,>=1.0.0->g
oogle-cloud-storage>=1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/eb/ee/e59e74ecac678a14d6abefb9054f0bbcb318a6452a30df3776f133886d7d/googleapis-com
mon-protos-1.6.0.tar.gz
Collecting pyasn1<0.5.0,>=0.4.1 (from pyasn1-modules>=0.2.1->google-auth>=1.2.0->google-cloud-storage>=1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/7b/7c/c9386b82a25115cccf1903441bba3cbadcfae7b678a20167347fa8ded34c/pyasn1-0.4.5-p
y2.py3-none-any.whl (73kB)
Collecting certifi>=2017.4.17 (from requests<3.0.0dev,>=2.18.0->google-api-core<2.0.0dev,>=1.11.0->google-cloud-core<2.0dev,>=1.0.0->go
ogle-cloud-storage>=1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/69/1b/b853c7a9d4f6a6d00749e94eb6f3a041e342a885b87340b79c1ef73e3a78/certifi-2019.6
.16-py2.py3-none-any.whl (157kB)
Collecting idna<2.9,>=2.5 (from requests<3.0.0dev,>=2.18.0->google-api-core<2.0.0dev,>=1.11.0->google-cloud-core<2.0dev,>=1.0.0->google
-cloud-storage>=1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.p
y3-none-any.whl (58kB)
Collecting chardet<3.1.0,>=3.0.2 (from requests<3.0.0dev,>=2.18.0->google-api-core<2.0.0dev,>=1.11.0->google-cloud-core<2.0dev,>=1.0.0-
>google-cloud-storage>=1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-
py2.py3-none-any.whl (133kB)
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 (from requests<3.0.0dev,>=2.18.0->google-api-core<2.0.0dev,>=1.11.0->google-cloud-co
re<2.0dev,>=1.0.0->google-cloud-storage>=1.14->mostly-engine==2019.6.26)
Downloading https://files.pythonhosted.org/packages/e6/60/247f23a7121ae632d62811ba7f273d0e58972d75e58a94d329d51550a47d/urllib3-1.25.3
-py2.py3-none-any.whl (150kB)
Installing collected packages: score.init, numpy, six, python-dateutil, pytz, pandas, protobuf, wheel, termcolor, gast, absl-py, keras-
preprocessing, astor, markdown, grpcio, werkzeug, tensorboard, h5py, keras-applications, tensorflow, joblib, scipy, scikit-learn, patsy
, statsmodels, mock, numexpr, tables, xxhash, pyarrow, py4j, pyspark, certifi, idna, chardet, urllib3, requests, googleapis-common-prot
os, pyasn1, pyasn1-modules, rsa, cachetools, google-auth, google-api-core, google-cloud-core, google-resumable-media, google-cloud-stor
age, psutil, mostly-engine
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/opt/python/3.6.8/lib/python3.6/site-packages/sco
re.init-0.8.1-py3.4-nspkg.pth'
Consider using the `--user` option or check the permissions.
travis@travis-job-d41614e3-2c9f-46d4-8d17-620bfc4bee5a:~/build/mostly-ai/mostly-engine$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment