kayagoban / shadowlands

A Dapp platform and Ethereum terminal, entirely in Python.
MIT License
143 stars 10 forks source link

Installation error #11

Open miguelmota opened 5 years ago

miguelmota commented 5 years ago

output:

┌─[mota:~/Downloads]
│  2019-06-21T22:01:43Z
└─❯❯❯ brew install shadowlands
Updating Homebrew...
==> Auto-updated Homebrew!
Updated Homebrew from 0b8ad710e to 3cef10889.
Updated 3 taps (homebrew/core, homebrew/cask and osgeo/osgeo4mac).
==> New Formulae
antibody            cxxopts             k6                  yapf
contentful-cli      k3d                 mariadb@10.3
==> Updated Formulae
harfbuzz ✔                               juju
kubernetes-cli ✔                         kibana
libssh2 ✔                                kops
neovim ✔                                 kotlin
youtube-dl ✔                             libmpdclient
agda                                     libxlsxwriter
aliyun-cli                               mariadb
alot                                     maxwell
amqp-cpp                                 metricbeat
angle-grinder                            mikutter
ansible                                  minio
asciidoctor                              minio-mc
ask-cli                                  nethack
auditbeat                                notmuch
bind                                     openapi-generator
byobu                                    osgeo/osgeo4mac/osgeo-postgis
cfn-lint                                 osgeo/osgeo4mac/osgeo-postgis@2.4
clozure-cl                               osgeo/osgeo4mac/osgeo-postgresql
convox                                   osgeo/osgeo4mac/osgeo-postgresql@10
diff-pdf                                 pdfpc
elasticsearch                            pdftoipe
erlang                                   poppler
expat                                    postgresql@10
exploitdb                                postgresql@9.4
f3                                       postgresql@9.5
firebase-cli                             postgresql@9.6
flow                                     pulumi
gawk                                     sceptre
git-recent                               skaffold
gmic                                     sn0int
gromacs                                  terrahub
h3                                       triton
hadolint                                 webpack
helmfile                                 xmake
jhipster                                 xonsh
Error: Failed to import: /usr/local/Homebrew/Library/Taps/wysenynja/homebrew-bitcoin/Formula/bitcoinxt.rb
bitcoinxt: unknown version :lion
Error: Failed to import: /usr/local/Homebrew/Library/Taps/wysenynja/homebrew-bitcoin/Formula/bitcoinclassic.rb
bitcoinclassic: unknown version :lion
Error: Failed to import: /usr/local/Homebrew/Library/Taps/wysenynja/homebrew-bitcoin/Formula/armory.rb
armory: Unsupported special dependency :python
Error: Failed to import: /usr/local/Homebrew/Library/Taps/wysenynja/homebrew-bitcoin/Formula/bitcoind.rb
bitcoind: unknown version :lion
Warning: Aleth (formerly cpp-ethereum) has been removed from Homebrew. Please install binary releases from https://github.com/ethereum/aleth/releases.

==> Installing shadowlands from kayagoban/shadowlands
==> Installing dependencies for kayagoban/shadowlands/shadowlands: openssl
==> Installing kayagoban/shadowlands/shadowlands dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2s.mojave.bottl
==> Downloading from https://akamai.bintray.com/c4/c4a762d719c2be74ac686f1aafabb
######################################################################## 100.0%
==> Pouring openssl-1.0.2s.mojave.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl/include"

For pkg-config to find openssl you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"

==> Summary
🍺  /usr/local/Cellar/openssl/1.0.2s: 1,795 files, 12.0MB
==> Installing kayagoban/shadowlands/shadowlands
==> Downloading https://github.com/kayagoban/shadowlands/archive/1.1.0.tar.gz
==> Downloading from https://codeload.github.com/kayagoban/shadowlands/tar.gz/1.
######################################################################## 100.0%
🍺  /usr/local/Cellar/shadowlands/1.1.0: 124 files, 14MB, built in 8 seconds
==> `brew cleanup` has not been run in 30 days, running now...
Removing: /usr/local/Cellar/openssl/1.0.2r... (1,795 files, 12.1MB)
Pruned 0 symbolic links and 4 directories from /usr/local
==> Caveats
==> openssl
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl/include"

For pkg-config to find openssl you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"

┌─[mota:~/Downloads]
│  2019-06-21T22:02:59Z
└─❯❯❯ shadowlands 
Detected darwin18
Found a usable python binary at Python 3.6.0a1
Making a virtual python env for Shadowlands in ~/.shadowlands
Collecting git+https://github.com/kayagoban/asciimatics (from -r /usr/local/opt/shadowlands/lib/shadowlands/requirements.txt (line 1))
  Cloning https://github.com/kayagoban/asciimatics to /var/folders/k1/m2rmftgd48q97pj0xf9csdb00000gn/T/pip-h3lbn3x7-build
    Complete output from command python setup.py egg_info:
    Download error on https://pypi.python.org/simple/setuptools_scm/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) -- Some packages may not be found!
    Download error on https://pypi.python.org/simple/setuptools-scm/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) -- Some packages may not be found!
    Couldn't find index page for 'setuptools_scm' (maybe misspelled?)
    Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) -- Some packages may not be found!
    No local packages or download links found for setuptools_scm
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/var/folders/k1/m2rmftgd48q97pj0xf9csdb00000gn/T/pip-h3lbn3x7-build/setup.py", line 78, in <module>
        test_suite='nose.collector',
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/setuptools/dist.py", line 269, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
        replace_conflicting=True,
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/pkg_resources/__init__.py", line 826, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1092, in best_match
        return self.obtain(req, installer)
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1104, in obtain
        return installer(requirement)
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/setuptools/dist.py", line 380, in fetch_build_egg
        return cmd.easy_install(req)
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 634, in easy_install
        raise DistutilsError(msg)
    distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools_scm')

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /var/folders/k1/m2rmftgd48q97pj0xf9csdb00000gn/T/pip-h3lbn3x7-build/
Activating Shadowlands virtual environment
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/opt/shadowlands/lib/shadowlands/__main__.py", line 5, in <module>
    from shadowlands.credstick import Credstick
  File "/usr/local/opt/shadowlands/lib/shadowlands/credstick/__init__.py", line 1, in <module>
    import hid, threading, time
ImportError: No module named 'hid'

┌─[mota:~/Downloads]
│  2019-06-21T22:03:12Z
└─❯❯❯ uname -a
Darwin computer.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64

┌─[mota:~/Downloads]
│  2019-06-21T22:03:54Z
└─❯❯❯ brew -v
Homebrew 2.1.6-22-g3cef108
Homebrew/homebrew-core (git revision c0915; last commit 2019-06-21)
Homebrew/homebrew-cask (git revision 8bf047; last commit 2019-06-21)

┌─[mota:~/Downloads]
│  2019-06-21T22:06:18Z
└─❯❯❯ python --version
Python 3.6.0a1
kayagoban commented 5 years ago

I would install the official python distro from python.org - it has a script to fix the ssl certificates.

C Thomas Soykaf Digital Systems LLC ph. +14798568793 cthomas@soykaf.digital

On Jun 21, 2019, at 5:05 PM, Miguel Mota notifications@github.com wrote:

output:

┌─[mota:~/Downloads] │ 2019-06-21T22:01:43Z └─❯❯❯ brew install shadowlands Updating Homebrew... ==> Auto-updated Homebrew! Updated Homebrew from 0b8ad710e to 3cef10889. Updated 3 taps (homebrew/core, homebrew/cask and osgeo/osgeo4mac). ==> New Formulae antibody cxxopts k6 yapf contentful-cli k3d mariadb@10.3 ==> Updated Formulae harfbuzz ✔ juju kubernetes-cli ✔ kibana libssh2 ✔ kops neovim ✔ kotlin youtube-dl ✔ libmpdclient agda libxlsxwriter aliyun-cli mariadb alot maxwell amqp-cpp metricbeat angle-grinder mikutter ansible minio asciidoctor minio-mc ask-cli nethack auditbeat notmuch bind openapi-generator byobu osgeo/osgeo4mac/osgeo-postgis cfn-lint osgeo/osgeo4mac/osgeo-postgis@2.4 clozure-cl osgeo/osgeo4mac/osgeo-postgresql convox osgeo/osgeo4mac/osgeo-postgresql@10 diff-pdf pdfpc elasticsearch pdftoipe erlang poppler expat postgresql@10 exploitdb postgresql@9.4 f3 postgresql@9.5 firebase-cli postgresql@9.6 flow pulumi gawk sceptre git-recent skaffold gmic sn0int gromacs terrahub h3 triton hadolint webpack helmfile xmake jhipster xonsh Error: Failed to import: /usr/local/Homebrew/Library/Taps/wysenynja/homebrew-bitcoin/Formula/bitcoinxt.rb bitcoinxt: unknown version :lion Error: Failed to import: /usr/local/Homebrew/Library/Taps/wysenynja/homebrew-bitcoin/Formula/bitcoinclassic.rb bitcoinclassic: unknown version :lion Error: Failed to import: /usr/local/Homebrew/Library/Taps/wysenynja/homebrew-bitcoin/Formula/armory.rb armory: Unsupported special dependency :python Error: Failed to import: /usr/local/Homebrew/Library/Taps/wysenynja/homebrew-bitcoin/Formula/bitcoind.rb bitcoind: unknown version :lion Warning: Aleth (formerly cpp-ethereum) has been removed from Homebrew. Please install binary releases from https://github.com/ethereum/aleth/releases.

==> Installing shadowlands from kayagoban/shadowlands ==> Installing dependencies for kayagoban/shadowlands/shadowlands: openssl ==> Installing kayagoban/shadowlands/shadowlands dependency: openssl ==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2s.mojave.bottl ==> Downloading from https://akamai.bintray.com/c4/c4a762d719c2be74ac686f1aafabb ######################################################################## 100.0% ==> Pouring openssl-1.0.2s.mojave.bottle.tar.gz ==> Caveats A CA file has been bootstrapped using certificates from the SystemRoots keychain. To add additional certificates (e.g. the certificates added in the System keychain), place .pem files in /usr/local/etc/openssl/certs

and run /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local, because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run: echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find openssl you may need to set: export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include"

For pkg-config to find openssl you may need to set: export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"

==> Summary 🍺 /usr/local/Cellar/openssl/1.0.2s: 1,795 files, 12.0MB ==> Installing kayagoban/shadowlands/shadowlands ==> Downloading https://github.com/kayagoban/shadowlands/archive/1.1.0.tar.gz ==> Downloading from https://codeload.github.com/kayagoban/shadowlands/tar.gz/1. ######################################################################## 100.0% 🍺 /usr/local/Cellar/shadowlands/1.1.0: 124 files, 14MB, built in 8 seconds ==> brew cleanup has not been run in 30 days, running now... Removing: /usr/local/Cellar/openssl/1.0.2r... (1,795 files, 12.1MB) Removing: /Users/mota/Library/Logs/Homebrew/rubberband... (64B) Removing: /Users/mota/Library/Logs/Homebrew/sl... (64B) Removing: /Users/mota/Library/Logs/Homebrew/tig... (64B) Removing: /Users/mota/Library/Logs/Homebrew/z3... (64B) Removing: /Users/mota/Library/Logs/Homebrew/vim... (64B) Removing: /Users/mota/Library/Logs/Homebrew/tree... (64B) Removing: /Users/mota/Library/Logs/Homebrew/libtiff... (64B) Removing: /Users/mota/Library/Logs/Homebrew/coreutils... (64B) Removing: /Users/mota/Library/Logs/Homebrew/jansson... (64B) Removing: /Users/mota/Library/Logs/Homebrew/postgresql... (64B) Removing: /Users/mota/Library/Logs/Homebrew/ffmpeg... (64B) Removing: /Users/mota/Library/Logs/Homebrew/vapoursynth... (64B) Removing: /Users/mota/Library/Logs/Homebrew/go... (64B) Removing: /Users/mota/Library/Logs/Homebrew/squashfs... (64B) Removing: /Users/mota/Library/Logs/Homebrew/libpng... (64B) Removing: /Users/mota/Library/Logs/Homebrew/frei0r... (64B) Removing: /Users/mota/Library/Logs/Homebrew/nettle... (64B) Removing: /Users/mota/Library/Logs/Homebrew/pixman... (64B) Removing: /Users/mota/Library/Logs/Homebrew/opus... (64B) Removing: /Users/mota/Library/Logs/Homebrew/freetype... (64B) Removing: /Users/mota/Library/Logs/Homebrew/rtmpdump... (64B) Removing: /Users/mota/Library/Logs/Homebrew/python... (3 files, 132.2KB) Removing: /Users/mota/Library/Logs/Homebrew/libsamplerate... (64B) Removing: /Users/mota/Library/Logs/Homebrew/openjpeg... (64B) Removing: /Users/mota/Library/Logs/Homebrew/libyaml... (64B) Removing: /Users/mota/Library/Logs/Homebrew/zimg... (64B) Removing: /Users/mota/Library/Logs/Homebrew/speex... (64B) Removing: /Users/mota/Library/Logs/Homebrew/icu4c... (64B) Removing: /Users/mota/Library/Logs/Homebrew/perl... (64B) Removing: /Users/mota/Library/Logs/Homebrew/harfbuzz... (64B) Removing: /Users/mota/Library/Logs/Homebrew/lua@5.1... (64B) Removing: /Users/mota/Library/Logs/Homebrew/libbluray... (64B) Removing: /Users/mota/Library/Logs/Homebrew/glib... (64B) Removing: /Users/mota/Library/Logs/Homebrew/readline... (64B) Removing: /Users/mota/Library/Logs/Homebrew/potrace... (64B) Removing: /Users/mota/Library/Logs/Homebrew/aom... (64B) Removing: /Users/mota/Library/Logs/Homebrew/lz4... (64B) Removing: /Users/mota/Library/Logs/Homebrew/tmate... (64B) Removing: /Users/mota/Library/Logs/Homebrew/graphite2... (64B) Removing: /Users/mota/Library/Logs/Homebrew/libarchive... (64B) Removing: /Users/mota/Library/Logs/Homebrew/mujs... (64B) Removing: /Users/mota/Library/Logs/Homebrew/tesseract... (64B) Removing: /Users/mota/Library/Logs/Homebrew/cairo... (64B) Removing: /Users/mota/Library/Logs/Homebrew/webp... (64B) Removing: /Users/mota/Library/Logs/Homebrew/sqlite... (64B) Removing: /Users/mota/Library/Logs/Homebrew/fribidi... (64B) Removing: /Users/mota/Library/Logs/Homebrew/cointop... (2 files, 219B) Removing: /Users/mota/Library/Logs/Homebrew/fontconfig... (9KB) Removing: /Users/mota/Library/Logs/Homebrew/lxc... (64B) Removing: /Users/mota/Library/Logs/Homebrew/giflib... (64B) Removing: /Users/mota/Library/Logs/Homebrew/libvpx... (64B) Removing: /Users/mota/Library/Logs/Homebrew/snappy... (64B) Removing: /Users/mota/Library/Logs/Homebrew/flac... (64B) Removing: /Users/mota/Library/Logs/Homebrew/nginx... (64B) Removing: /Users/mota/Library/Logs/Homebrew/libsodium... (64B) Removing: /Users/mota/Library/Logs/Homebrew/mpv... (64B) Removing: /Users/mota/Library/Logs/Homebrew/opencore-amr... (64B) Removing: /Users/mota/Library/Logs/Homebrew/websocat... (64B) Removing: /Users/mota/Library/Logs/Homebrew/libssh... (64B) Removing: /Users/mota/Library/Logs/Homebrew/youtube-dl... (106B) Removing: /Users/mota/Library/Logs/Homebrew/e2fsprogs... (64B) Removing: /Users/mota/Library/Logs/Homebrew/openssl@1.1... (64B) Removing: /Users/mota/Library/Logs/Homebrew/leptonica... (64B) Removing: /Users/mota/Library/Logs/Homebrew/pcre... (64B) Removing: /Users/mota/Library/Logs/Homebrew/x264... (64B) Removing: /Users/mota/Library/Logs/Homebrew/x265... (64B) Removing: /Users/mota/Library/Logs/Homebrew/libsoxr... (64B) Removing: /Users/mota/Library/Logs/Homebrew/theora... (64B) Removing: /Users/mota/Library/Logs/Homebrew/uchardet... (64B) Removing: /Users/mota/Library/Logs/Homebrew/sdl2... (64B) Removing: /Users/mota/Library/Logs/Homebrew/openssl... (64B) Removing: /Users/mota/Library/Logs/Homebrew/mongodb-community-shell... (132B) Removing: /Users/mota/Library/Logs/Homebrew/libass... (64B) Removing: /Users/mota/Library/Logs/Homebrew/xdelta... (64B) Removing: /Users/mota/Library/Logs/Homebrew/libsndfile... (64B) Removing: /Users/mota/Library/Logs/Homebrew/p11-kit... (64B) Removing: /Users/mota/Library/Logs/Homebrew/snapcraft... (64B) Removing: /Users/mota/Library/Logs/Homebrew/ruby... (64B) Removing: /Users/mota/Library/Logs/Homebrew/ethereum... (64B) Removing: /Users/mota/Library/Logs/Homebrew/libmpc... (64B) Removing: /Users/mota/Library/Logs/Homebrew/gnutls... (64B) Removing: /Users/mota/Library/Logs/Homebrew/cliclick... (64B) Removing: /Users/mota/Library/Logs/Homebrew/gotty... (113B) Pruned 0 symbolic links and 4 directories from /usr/local ==> Caveats ==> openssl A CA file has been bootstrapped using certificates from the SystemRoots keychain. To add additional certificates (e.g. the certificates added in the System keychain), place .pem files in /usr/local/etc/openssl/certs

and run /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local, because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run: echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find openssl you may need to set: export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include"

For pkg-config to find openssl you may need to set: export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"

┌─[mota:~/Downloads] │ 2019-06-21T22:02:59Z └─❯❯❯ shadowlands Detected darwin18 Found a usable python binary at Python 3.6.0a1 Making a virtual python env for Shadowlands in ~/.shadowlands Collecting git+https://github.com/kayagoban/asciimatics (from -r /usr/local/opt/shadowlands/lib/shadowlands/requirements.txt (line 1)) Cloning https://github.com/kayagoban/asciimatics to /var/folders/k1/m2rmftgd48q97pj0xf9csdb00000gn/T/pip-h3lbn3x7-build Complete output from command python setup.py egg_info: Download error on https://pypi.python.org/simple/setuptools_scm/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) -- Some packages may not be found! Download error on https://pypi.python.org/simple/setuptools-scm/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) -- Some packages may not be found! Couldn't find index page for 'setuptools_scm' (maybe misspelled?) Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) -- Some packages may not be found! No local packages or download links found for setuptools_scm Traceback (most recent call last): File "", line 1, in File "/var/folders/k1/m2rmftgd48q97pj0xf9csdb00000gn/T/pip-h3lbn3x7-build/setup.py", line 78, in test_suite='nose.collector', File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 108, in setup _setup_distribution = dist = klass(attrs) File "/Users/mota/.shadowlands/lib/python3.6/site-packages/setuptools/dist.py", line 269, in init self.fetch_build_eggs(attrs['setup_requires']) File "/Users/mota/.shadowlands/lib/python3.6/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs replace_conflicting=True, File "/Users/mota/.shadowlands/lib/python3.6/site-packages/pkg_resources/init.py", line 826, in resolve dist = best[req.key] = env.best_match(req, ws, installer) File "/Users/mota/.shadowlands/lib/python3.6/site-packages/pkg_resources/init.py", line 1092, in best_match return self.obtain(req, installer) File "/Users/mota/.shadowlands/lib/python3.6/site-packages/pkg_resources/init.py", line 1104, in obtain return installer(requirement) File "/Users/mota/.shadowlands/lib/python3.6/site-packages/setuptools/dist.py", line 380, in fetch_build_egg return cmd.easy_install(req) File "/Users/mota/.shadowlands/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 634, in easy_install raise DistutilsError(msg) distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools_scm')

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /var/folders/k1/m2rmftgd48q97pj0xf9csdb00000gn/T/pip-h3lbn3x7-build/ Activating Shadowlands virtual environment Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 184, in _run_module_as_main "main", mod_spec) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/opt/shadowlands/lib/shadowlands/main.py", line 5, in from shadowlands.credstick import Credstick File "/usr/local/opt/shadowlands/lib/shadowlands/credstick/init.py", line 1, in import hid, threading, time ImportError: No module named 'hid'

┌─[mota:~/Downloads] │ 2019-06-21T22:03:12Z └─❯❯❯ uname -a Darwin computer.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_64

┌─[mota:~/Downloads] │ 2019-06-21T22:03:54Z └─❯❯❯ brew -v Homebrew 2.1.6-22-g3cef108 Homebrew/homebrew-core (git revision c0915; last commit 2019-06-21) Homebrew/homebrew-cask (git revision 8bf047; last commit 2019-06-21) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

miguelmota commented 5 years ago

Installed python from the official source which seems to have taken care of the SSL errors but still getting ImportError: No module named 'hid'

┌─[mota:/Volumes/hd2/Sandbox]
│  2019-06-22T00:41:35Z
└─❯❯❯ python --version
Python 3.7.3

┌─[mota:/Volumes/hd2/Sandbox]
│  2019-06-22T00:41:39Z
└─❯❯❯ brew reinstall shadowlands
==> Reinstalling kayagoban/shadowlands/shadowlands 
==> Downloading https://github.com/kayagoban/shadowlands/archive/1.1.0.tar.gz
Already downloaded: /Users/mota/Library/Caches/Homebrew/downloads/d89a4f52e261b2739d327f708062e7d304d8399aa638e425c523f0c1fdf0c345--shadowlands-1.1.0.tar.gz
🍺  /usr/local/Cellar/shadowlands/1.1.0: 124 files, 14MB, built in 4 seconds

┌─[mota:/Volumes/hd2/Sandbox]
│  2019-06-22T00:41:47Z
└─❯❯❯ shadowlands
Detected darwin18
Activating Shadowlands virtual environment
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/opt/shadowlands/lib/shadowlands/__main__.py", line 5, in <module>
    from shadowlands.credstick import Credstick
  File "/usr/local/opt/shadowlands/lib/shadowlands/credstick/__init__.py", line 1, in <module>
    import hid, threading, time
ImportError: No module named 'hid'
kayagoban commented 5 years ago

try running “shadowlands —clean” and then “shadowlands” again?

C Thomas Soykaf Digital Systems LLC ph. +14798568793 cthomas@soykaf.digital

On Jun 21, 2019, at 7:44 PM, Miguel Mota notifications@github.com wrote:

Installed python from the official source which seems to have taken care of the SSL errors but still getting ImportError: No module named 'hid'

┌─[mota:/Volumes/hd2/Sandbox] │ 2019-06-22T00:41:35Z └─❯❯❯ python --version Python 3.7.3

┌─[mota:/Volumes/hd2/Sandbox] │ 2019-06-22T00:41:39Z └─❯❯❯ brew reinstall shadowlands ==> Reinstalling kayagoban/shadowlands/shadowlands ==> Downloading https://github.com/kayagoban/shadowlands/archive/1.1.0.tar.gz Already downloaded: /Users/mota/Library/Caches/Homebrew/downloads/d89a4f52e261b2739d327f708062e7d304d8399aa638e425c523f0c1fdf0c345--shadowlands-1.1.0.tar.gz 🍺 /usr/local/Cellar/shadowlands/1.1.0: 124 files, 14MB, built in 4 seconds

┌─[mota:/Volumes/hd2/Sandbox] │ 2019-06-22T00:41:47Z └─❯❯❯ shadowlands Detected darwin18 Activating Shadowlands virtual environment Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 184, in _run_module_as_main "main", mod_spec) File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/opt/shadowlands/lib/shadowlands/main.py", line 5, in from shadowlands.credstick import Credstick File "/usr/local/opt/shadowlands/lib/shadowlands/credstick/init.py", line 1, in import hid, threading, time ImportError: No module named 'hid' — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

miguelmota commented 5 years ago
┌─[mota:/Volumes/hd2/Sandbox]
│  2019-06-22T01:32:52Z
└─❯❯❯ shadowlands --clean
Detected darwin18
Removing virtual python environment at ~/.shadowlands

┌─[mota:/Volumes/hd2/Sandbox]
│  2019-06-22T01:32:58Z
└─❯❯❯ shadowlands 
Detected darwin18
Found a usable python binary at Python 3.6.0a1
Making a virtual python env for Shadowlands in ~/.shadowlands
Collecting git+https://github.com/kayagoban/asciimatics (from -r /usr/local/opt/shadowlands/lib/shadowlands/requirements.txt (line 1))
  Cloning https://github.com/kayagoban/asciimatics to /var/folders/k1/m2rmftgd48q97pj0xf9csdb00000gn/T/pip-dpnvlwb4-build
    Complete output from command python setup.py egg_info:
    Download error on https://pypi.python.org/simple/setuptools_scm/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) -- Some packages may not be found!
    Download error on https://pypi.python.org/simple/setuptools-scm/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) -- Some packages may not be found!
    Couldn't find index page for 'setuptools_scm' (maybe misspelled?)
    Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) -- Some packages may not be found!
    No local packages or download links found for setuptools_scm
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/var/folders/k1/m2rmftgd48q97pj0xf9csdb00000gn/T/pip-dpnvlwb4-build/setup.py", line 78, in <module>
        test_suite='nose.collector',
      File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/distutils/core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/setuptools/dist.py", line 269, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
        replace_conflicting=True,
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/pkg_resources/__init__.py", line 826, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1092, in best_match
        return self.obtain(req, installer)
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1104, in obtain
        return installer(requirement)
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/setuptools/dist.py", line 380, in fetch_build_egg
        return cmd.easy_install(req)
      File "/Users/mota/.shadowlands/lib/python3.6/site-packages/setuptools/command/easy_install.py", line 634, in easy_install
        raise DistutilsError(msg)
    distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('setuptools_scm')

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /var/folders/k1/m2rmftgd48q97pj0xf9csdb00000gn/T/pip-dpnvlwb4-build/
Activating Shadowlands virtual environment
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/local/opt/shadowlands/lib/shadowlands/__main__.py", line 5, in <module>
    from shadowlands.credstick import Credstick
  File "/usr/local/opt/shadowlands/lib/shadowlands/credstick/__init__.py", line 1, in <module>
    import hid, threading, time
ImportError: No module named 'hid'

is my python version screwed up?

kayagoban commented 5 years ago

Pip isn't working at all because the SSL certs are hosed, looks like. Some questions to help me: What's your MacOS version? Can you show me the output of "which python3" and "which python3.6"? What was the version of the official Python you installed from python.org?

I appreciate this bug report, btw. When we fix this, it will help many.

miguelmota commented 5 years ago

@kayagoban here's the request info:

Screen Shot 2019-07-01 at 11 24 51 AM
┌─[mota:/Volumes/hd2/Sandbox]
│  2019-07-01T18:24:59Z
└─❯❯❯ which python3
/Library/Frameworks/Python.framework/Versions/3.7/bin/python3

┌─[mota:/Volumes/hd2/Sandbox]
│  2019-07-01T18:25:02Z
└─❯❯❯ which python3.6
/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6

I installed the latest python version from python.org which was 3.7.3