Unable to install snappy - jpy problem?

Dear All,

I’ve just set up snap for the first time on a clean OS X Sierra computer with the following commands. Homebrew and Anaconda python were already installed, and the Mac OS X JDK (jdk-8u144-macosx-x64.dmg) from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html , then:

conda create -n SNAP python=3.4
source activate SNAP

# install maven
brew install maven

# install jpy
cd local/src/
git clone https://github.com/bcdev/jpy.git
cd jpy/
python setup.py bdist_wheel
cp dist/*.whl ~/.snap/snap-python/snappy

# set up snappy
# NOTE: customize paths here to where SNAP and Anaconda are installed
~/Applications/snap/bin/snappy-conf ~/local/anaconda/envs/SNAP/bin/python

cd ~/.snap/snap-python/snappy
python setup.py install

# I think here OS X told me it needed a legacy java and sent me to a webpage. I installed:
# https://support.apple.com/kb/DL1572?locale=en_US

# test
python
import snappy # no error message = works.
2 Likes