-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation error #11
Comments
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
[email protected]
… On Jun 21, 2019, at 5:05 PM, Miguel Mota ***@***.***> 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 ***@***.***
==> 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 ***@***.***
clozure-cl osgeo/osgeo4mac/osgeo-postgresql
convox ***@***.***
diff-pdf pdfpc
elasticsearch pdftoipe
erlang poppler
expat ***@***.***
exploitdb ***@***.***
f3 ***@***.***
firebase-cli ***@***.***
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: ***@***.*** (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: ***@***.*** (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 "<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)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Installed python from the official source which seems to have taken care of the SSL errors but still getting ┌─[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' |
try running “shadowlands —clean” and then “shadowlands” again?
C Thomas
Soykaf Digital Systems LLC
ph. +14798568793
[email protected]
… On Jun 21, 2019, at 7:44 PM, Miguel Mota ***@***.***> 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 <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'
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
is my python version screwed up? |
Pip isn't working at all because the SSL certs are hosed, looks like. I appreciate this bug report, btw. When we fix this, it will help many. |
@kayagoban here's the request info: ┌─[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 |
output:
The text was updated successfully, but these errors were encountered: