voltron
voltron copied to clipboard
unable to install - python error?
Hi, I've been trying to install voltron for use of the binja_dynamics plugin for Binary Ninja.I have tried modifying the script to allow pypi.python.org as a 'trusted source'; however; this seems to do nothing.
I am running macOS 10.12.6. The relative details can be found below
+ '[' 1 -eq 1 ']'
++ /usr/local/bin/gdb -batch -q --nx -ex 'pi import platform; print(".".join(platform.python_version_tuple()[:2]))'
+ GDB_PYVER=2.7
++ /usr/local/bin/gdb -batch -q --nx -ex 'pi import sys; print(sys.executable)'
+ GDB_PYTHON=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python
+ GDB_PYTHON=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
+ install_packages
+ install_apt
+ '[' -n '' ']'
+ install_yum
+ local CMD=
+ '[' -n '' ']'
+ '[' -n '' ']'
+ '[' '' '!=' '' ']'
+ '[' -z --user ']'
++ /usr/local/bin/gdb -batch -q --nx -ex 'pi import site; print(site.getusersitepackages())'
+ GDB_SITE_PACKAGES=/Users/jogn/Library/Python/2.7/lib/python/site-packages
+ /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 -m pip install -U --user .
Processing /Users/jogn/Downloads/voltron
Could not fetch URL https://pypi.python.org/simple/scruffington/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Requirement already up-to-date: scruffington>=0.3.6 in /Library/Python/2.7/site-packages/scruffington-0.3.6-py2.7.egg (from voltron==0.1.7)
Collecting flask (from voltron==0.1.7)
Could not fetch URL https://pypi.python.org/simple/flask/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Could not find a version that satisfies the requirement flask (from voltron==0.1.7) (from versions: )
No matching distribution found for flask (from voltron==0.1.7)
You are using pip version 9.0.1, however version 9.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
$ sudo -H pip install --upgrade pip
Password:
Requirement already up-to-date: pip in /usr/local/lib/python2.7/site-packages
$ which python
/usr/local/bin/python
$ python -V
Python 2.7.14
$ brew upgrade openssl
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (caskroom/cask, homebrew/core).
==> New Formulae
patchelf
Error: openssl 1.0.2o_1 already installed
$ python -c "import ssl; print ssl.OPENSSL_VERSION"
OpenSSL 1.0.2o 27 Mar 2018
I am wondering how this may be fixed on my end. I have tried independently installing flask from the command line via pip, and that works. Moreover, I have tried simply running python setup.py
, and that works, too. I would appreciate any help if at all possible. Please let me know if you need more details.
Regards.
Of note is that my .gdbinit was edited successfully and from a Python console, I can successfully import voltron
. I will continue with updates as needed.
Voltron has to be installed into the system's Python installation, which is primarily why the install.sh
is included - it figures out which Python installation to use. When you are testing with the python
in your $PATH you're using brew's Python, which is not a valid test.
Try with /usr/bin/python
to debug your TLS issue.