OutlierVentures / ANVIL

Agent Negotiation Verifiable Interaction Layer – an app in the Convergence Stack.
https://anvil.outlierventures.io
Apache License 2.0
18 stars 6 forks source link

Error on "site-packages" from install.sh #4

Closed AronVanAmmers closed 5 years ago

AronVanAmmers commented 5 years ago

While triaging #3 I'm getting the below on Ubuntu 18.04.1:

Last part of output of ./install.sh:

Installing Sovrin...
Cloning into 'indy-sdk'...
remote: Enumerating objects: 62, done.
remote: Counting objects: 100% (62/62), done.
remote: Compressing objects: 100% (44/44), done.
remote: Total 88305 (delta 19), reused 30 (delta 18), pack-reused 88243
Receiving objects: 100% (88305/88305), 261.21 MiB | 5.80 MiB/s, done.
Resolving deltas: 100% (60013/60013), done.
Executing: /tmp/apt-key-gpghome.UuOVUa1Sh4/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 68DB5E88
gpg: key CE7709D068DB5E88: "Sovrin-Repo-Master (Master key for repo.sovring.org) <repo@sovrin.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                                                                          
Hit:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease                                                                                                                            
Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                                                                       
Hit:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                                                                     
Hit:6 https://download.docker.com/linux/ubuntu bionic InRelease                                                                                                                                       
Hit:7 https://deb.nodesource.com/node_10.x bionic InRelease                                                             
Hit:8 https://repo.sovrin.org/sdk/deb xenial InRelease                                            
Reading package lists... Done                      
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease                                                                                                                                              
Hit:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease                                                                                                                                          
Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                                                                                
Hit:5 https://download.docker.com/linux/ubuntu bionic InRelease                                                                                                         
Hit:6 https://deb.nodesource.com/node_10.x bionic InRelease                                                                                  
Hit:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease                                                      
Hit:8 https://repo.sovrin.org/sdk/deb xenial InRelease                                           
Reading package lists... Done                      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-attr python-funcsigs python-pkg-resources python-pluggy python-py python-six
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  libindy
1 upgraded, 0 newly installed, 0 to remove and 214 not upgraded.
Need to get 2,805 kB of archives.
After this operation, 106 kB of additional disk space will be used.
Get:1 https://repo.sovrin.org/sdk/deb xenial/master amd64 libindy amd64 1.8.1~1040 [2,805 kB]
Fetched 2,805 kB in 2s (1,852 kB/s)
(Reading database ... 229981 files and directories currently installed.)
Preparing to unpack .../libindy_1.8.1~1040_amd64.deb ...
Unpacking libindy (1.8.1~1040) over (1.8.1~980) ...
Setting up libindy (1.8.1~1040) ...
Collecting base58
  Using cached https://files.pythonhosted.org/packages/09/b2/21ac9591f055acc145afead895edeb73bbd69d95cf366fc5c2233f2434cb/base58-1.0.3-py3-none-any.whl
Installing collected packages: base58
Successfully installed base58-1.0.3
Collecting python3-indy
Collecting quart
  Using cached https://files.pythonhosted.org/packages/62/3f/29831574b0136fce80c77638b7b544a28541cd6329722e6fe4c79f4b70f6/Quart-0.6.12-py3-none-any.whl
Collecting base58 (from python3-indy)
  Using cached https://files.pythonhosted.org/packages/09/b2/21ac9591f055acc145afead895edeb73bbd69d95cf366fc5c2233f2434cb/base58-1.0.3-py3-none-any.whl
Collecting pytest-asyncio (from python3-indy)
  Using cached https://files.pythonhosted.org/packages/55/8e/c45f87e42c2e905082e98753d4cb6b71e6da086c71bf15899a6aee285304/pytest_asyncio-0.10.0-py3-none-any.whl
Collecting pytest<3.7 (from python3-indy)
  Using cached https://files.pythonhosted.org/packages/d8/e9/73246a565c34c5f203dd78bc2382e0e93aa7a249cdaeba709099eb1bc701/pytest-3.6.4-py2.py3-none-any.whl
Collecting blinker (from quart)
Collecting sortedcontainers (from quart)
  Using cached https://files.pythonhosted.org/packages/13/f3/cf85f7c3a2dbd1a515d51e1f1676d971abe41bba6f4ab5443240d9a78e5b/sortedcontainers-2.1.0-py2.py3-none-any.whl
Collecting hypercorn<0.6,>=0.4 (from quart)
  Downloading https://files.pythonhosted.org/packages/ab/22/60624d6a2f21bf41f285f4229e610aa7a290e9a72d73adb840c38cc64779/Hypercorn-0.5.3-py3-none-any.whl (42kB)
    100% |████████████████████████████████| 51kB 3.0MB/s 
Collecting click (from quart)
  Using cached https://files.pythonhosted.org/packages/fa/37/45185cb5abbc30d7257104c434fe0b07e5a195a6847506c074527aa599ec/Click-7.0-py2.py3-none-any.whl
Collecting aiofiles (from quart)
  Using cached https://files.pythonhosted.org/packages/cf/f2/a67a23bc0bb61d88f82aa7fb84a2fb5f278becfbdc038c5cbb36c31feaf1/aiofiles-0.4.0-py3-none-any.whl
Collecting multidict (from quart)
  Using cached https://files.pythonhosted.org/packages/71/cc/ceb5b8c76e7a23212b9e0353053cc35a9d86c763d852a76d9b941fe81fbc/multidict-4.5.2-cp36-cp36m-manylinux1_x86_64.whl
Collecting jinja2 (from quart)
  Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
Collecting itsdangerous (from quart)
  Using cached https://files.pythonhosted.org/packages/76/ae/44b03b253d6fade317f32c24d100b3b35c2239807046a4c953c7b89fa49e/itsdangerous-1.1.0-py2.py3-none-any.whl
Collecting setuptools (from pytest<3.7->python3-indy)
  Using cached https://files.pythonhosted.org/packages/d1/6a/4b2fcefd2ea0868810e92d519dacac1ddc64a2e53ba9e3422c3b62b378a6/setuptools-40.8.0-py2.py3-none-any.whl
Collecting six>=1.10.0 (from pytest<3.7->python3-indy)
  Using cached https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting atomicwrites>=1.0 (from pytest<3.7->python3-indy)
  Using cached https://files.pythonhosted.org/packages/52/90/6155aa926f43f2b2a22b01be7241be3bfd1ceaf7d0b3267213e8127d41f4/atomicwrites-1.3.0-py2.py3-none-any.whl
Collecting pluggy<0.8,>=0.5 (from pytest<3.7->python3-indy)
  Using cached https://files.pythonhosted.org/packages/f5/f1/5a93c118663896d83f7bcbfb7f657ce1d0c0d617e6b4a443a53abcc658ca/pluggy-0.7.1-py2.py3-none-any.whl
Collecting py>=1.5.0 (from pytest<3.7->python3-indy)
  Downloading https://files.pythonhosted.org/packages/76/bc/394ad449851729244a97857ee14d7cba61ddb268dce3db538ba2f2ba1f0f/py-1.8.0-py2.py3-none-any.whl (83kB)
    100% |████████████████████████████████| 92kB 4.6MB/s 
Collecting attrs>=17.4.0 (from pytest<3.7->python3-indy)
  Downloading https://files.pythonhosted.org/packages/23/96/d828354fa2dbdf216eaa7b7de0db692f12c234f7ef888cc14980ef40d1d2/attrs-19.1.0-py2.py3-none-any.whl
Collecting more-itertools>=4.0.0 (from pytest<3.7->python3-indy)
  Using cached https://files.pythonhosted.org/packages/ae/d4/d6bad4844831943dd667510947712750004525c5807711982f4ec390da2b/more_itertools-6.0.0-py3-none-any.whl
Collecting h2>=3.1.0 (from hypercorn<0.6,>=0.4->quart)
  Using cached https://files.pythonhosted.org/packages/a6/b2/0348a08cce9980b15ef8607adc7f0534193fe25b9269daa0c327dc74f026/h2-3.1.0-py2.py3-none-any.whl
Collecting h11 (from hypercorn<0.6,>=0.4->quart)
  Using cached https://files.pythonhosted.org/packages/f9/f3/8e4cf5fa1a3d8bda942a0b1cf92f87815494216fd439f82eb99073141ba0/h11-0.8.1-py2.py3-none-any.whl
Collecting wsproto>=0.13.0 (from hypercorn<0.6,>=0.4->quart)
  Using cached https://files.pythonhosted.org/packages/74/18/92f1c6b570ac322d5cfdc9dd10c6ba863b153a38c664d7bc50df719b5815/wsproto-0.13.0-py2.py3-none-any.whl
Collecting pytoml (from hypercorn<0.6,>=0.4->quart)
Collecting typing-extensions (from hypercorn<0.6,>=0.4->quart)
  Using cached https://files.pythonhosted.org/packages/0f/62/c66e553258c37c33f9939abb2dd8d2481803d860ff68e635466f12aa7efa/typing_extensions-3.7.2-py3-none-any.whl
Collecting MarkupSafe>=0.23 (from jinja2->quart)
  Downloading https://files.pythonhosted.org/packages/b2/5f/23e0023be6bb885d00ffbefad2942bc51a620328ee910f64abe5a8d18dd1/MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting hpack<4,>=2.3 (from h2>=3.1.0->hypercorn<0.6,>=0.4->quart)
  Using cached https://files.pythonhosted.org/packages/8a/cc/e53517f4a1e13f74776ca93271caef378dadec14d71c61c949d759d3db69/hpack-3.0.0-py2.py3-none-any.whl
Collecting hyperframe<6,>=5.2.0 (from h2>=3.1.0->hypercorn<0.6,>=0.4->quart)
  Using cached https://files.pythonhosted.org/packages/19/0c/bf88182bcb5dce3094e2f3e4fe20db28a9928cb7bd5b08024030e4b140db/hyperframe-5.2.0-py2.py3-none-any.whl
Installing collected packages: base58, setuptools, six, atomicwrites, pluggy, py, attrs, more-itertools, pytest, pytest-asyncio, python3-indy, blinker, sortedcontainers, hpack, hyperframe, h2, h11, wsproto, pytoml, typing-extensions, hypercorn, click, aiofiles, multidict, MarkupSafe, jinja2, itsdangerous, quart
Successfully installed MarkupSafe-1.1.1 aiofiles-0.4.0 atomicwrites-1.3.0 attrs-19.1.0 base58-1.0.3 blinker-1.4 click-7.0 h11-0.8.1 h2-3.1.0 hpack-3.0.0 hypercorn-0.5.3 hyperframe-5.2.0 itsdangerous-1.1.0 jinja2-2.10 more-itertools-6.0.0 multidict-4.5.2 pluggy-0.7.1 py-1.8.0 pytest-3.6.4 pytest-asyncio-0.10.0 python3-indy-1.8.1 pytoml-0.1.20 quart-0.6.12 setuptools-40.8.0 six-1.12.0 sortedcontainers-2.1.0 typing-extensions-3.7.2 wsproto-0.13.0
./install.sh: line 109: cd: /usr/local/lib/python3.7/site-packages: No such file or directory
./install.sh: line 109: cd: /usr/local/lib/python3.6/site-packages: No such file or directory
Error: failed on line 109.
AronVanAmmers commented 5 years ago

Triggered by: https://github.com/OutlierVentures/ANVIL/blob/5687107f49e62e1a1bceeeff356f6f9ebcf03890/scripts/install.sh#L109

I only have dist-packages folders, no site-packages:

$ ls /usr/local/lib/python3.6/
dist-packages
$ ls /usr/local/lib/python3.7/
dist-packages

The oef egg file ended up in python3.6/dist-packages:

$ ls /usr/local/lib/python3.6/dist-packages/oef* -la
-rw-r--r-- 1 root staff  79999 Jan 31 09:23 /usr/local/lib/python3.6/dist-packages/oef-0.1.0-py3.6.egg
-rw-r--r-- 1 root staff 103500 Mar 25 10:34 /usr/local/lib/python3.6/dist-packages/oef-0.2.0-py3.6.egg
theoturner commented 5 years ago

@AronVanAmmers please have a go with the installer in the issue-4 branch

AronVanAmmers commented 5 years ago

@theoturner tried, slight change but no success:

./install.sh: line 111: cd: /usr/local/lib/python3.7/site-packages: No such file or directory
unzip:  cannot find or open oef-0.2.0-py3.7.egg, oef-0.2.0-py3.7.egg.zip or oef-0.2.0-py3.7.egg.ZIP.
Error: failed on line 111.

Adapting it now so that it detects correctly ⌛️