Mac - failed to install snappy


#1

Hello there,

I ran into a prob while trying to install snappy. I am thankful for any help.

Preinstalled:

  • macOS Mojave 10.14.1
  • miniconda3 (conda 4.5.11) (environment: python3.4)
  • maven 3.6.0

Approach:
download and install snap
source activate py34
$ ./snappy-conf /Users/myname/miniconda3/envs/py34/bin/python

    Configuring SNAP-Python interface...
    java.io.IOException: Python configuration failed.
    Command [/Users/martinthoma/miniconda3/envs/py34/bin/python ./snappyutil.py --snap_home /Applications/snap --java_module /Applications/snap/snap/modules/org-esa-snap-snap-python.jar --force --log_file ./snappyutil.log --jvm_max_mem 11G --java_home /Applications/snap/.install4j/jre.bundle/Contents/Home/jre --req_arch x86_64]
    failed with return code 10.
    Please check the log file '/Users/martinthoma/.snap/snap-python/snappy/snappyutil.log'.
    	at org.esa.snap.python.PyBridge.configureJpy(PyBridge.java:232)
    	at org.esa.snap.python.PyBridge.installPythonModule(PyBridge.java:149)
    	at org.esa.snap.rcp.cli.SnapArgsProcessor.processPython(SnapArgsProcessor.java:103)
    	at org.esa.snap.rcp.cli.SnapArgsProcessor.process(SnapArgsProcessor.java:49)
    	at org.netbeans.modules.sendopts.DefaultProcessor.process(DefaultProcessor.java:202)
    	at org.netbeans.spi.sendopts.Option$1.process(Option.java:387)
    	at org.netbeans.api.sendopts.CommandLine.process(CommandLine.java:317)
    	at org.netbeans.modules.sendopts.HandlerImpl.execute(HandlerImpl.java:62)
    	at org.netbeans.modules.sendopts.Handler.cli(Handler.java:69)
    	at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:234)
    	at org.netbeans.core.startup.CLICoreBridge.cli(CLICoreBridge.java:82)
    	at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:234)
    	at org.netbeans.CLIHandler$1.exec(CLIHandler.java:268)
    	at org.netbeans.CLIHandler.finishInitialization(CLIHandler.java:447)
    	at org.netbeans.MainImpl.finishInitialization(MainImpl.java:256)
    	at org.netbeans.Main.finishInitialization(Main.java:92)
    	at org.netbeans.core.startup.Main.start(Main.java:316)
    	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
    	at java.lang.Thread.run(Thread.java:745)
    Python configuration error: Python configuration failed.
    Command [/Users/martinthoma/miniconda3/envs/py34/bin/python ./snappyutil.py --snap_home /Applications/snap --java_module /Applications/snap/snap/modules/org-esa-snap-snap-python.jar --force --log_file ./snappyutil.log --jvm_max_mem 11G --java_home /Applications/snap/.install4j/jre.bundle/Contents/Home/jre --req_arch x86_64]
    failed with return code 10.
    Please check the log file '/Users/martinthoma/.snap/snap-python/snappy/snappyutil.log'.

snappyutil.log told me to install jpy, so…

$ export JDK_HOME=/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home
$ export JAVA_HOME=$JDK_HOME
$ python get-pip.py
Requirement already up-to-date: pip in /Users/martinthoma/miniconda3/envs/py34/lib/python3.4/site-packages
(from previous installation I reckon)
$ python setup.py --maven bdist_wheel

running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-x86_64-3.4
copying jpyutil.py -> build/lib.macosx-10.6-x86_64-3.4
running build_ext
building 'jpy' extension
creating build/temp.macosx-10.6-x86_64-3.4
creating build/temp.macosx-10.6-x86_64-3.4/src
creating build/temp.macosx-10.6-x86_64-3.4/src/main
creating build/temp.macosx-10.6-x86_64-3.4/src/main/c
creating build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni
/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_module.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_module.o
/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_diag.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_diag.o
/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_verboseexcept.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_verboseexcept.o
/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_conv.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_conv.o
/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_compat.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_compat.o
/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jtype.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jtype.o
/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jarray.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jarray.o
/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jobj.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jobj.o
/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jmethod.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jmethod.o
/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jfield.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jfield.o
/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jni/org_jpy_PyLib.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni/org_jpy_PyLib.o
src/main/c/jni/org_jpy_PyLib.c:331:9: warning: implicit declaration of function 'JPy_free' is invalid in C99 [-Wimplicit-function-declaration]
        JPy_free();
        ^
src/main/c/jni/org_jpy_PyLib.c:331:9: warning: this function declaration is not a prototype [-Wstrict-prototypes]
src/main/c/jni/org_jpy_PyLib.c:329:26: warning: unused variable 'state' [-Wunused-variable]
        PyGILState_STATE state = PyGILState_Ensure();
                         ^
src/main/c/jni/org_jpy_PyLib.c:791:16: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'jlong'
      (aka 'long') [-Wint-conversion]
        return NULL;
               ^~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.0/include/stddef.h:105:16: note: expanded from macro
      'NULL'
#  define NULL ((void*)0)
               ^~~~~~~~~~
src/main/c/jni/org_jpy_PyLib.c:796:101: warning: passing 'const char *' to parameter of type 'void *' discards qualifiers
      [-Wincompatible-pointer-types-discards-qualifiers]
    result = executeInternal(jenv, jLibClass, jStart, jGlobals, jLocals, (DoRun)pyRunStringWrapper, codeChars);
                                                                                                    ^~~~~~~~~
src/main/c/jni/org_jpy_PyLib.c:657:128: note: passing argument to parameter 'runArg' here
jlong executeInternal(JNIEnv* jenv, jclass jLibClass, jint jStart, jobject jGlobals, jobject jLocals, DoRun runFunction, void *runArg) {
                                                                                                                               ^
src/main/c/jni/org_jpy_PyLib.c:1076:14: warning: incompatible pointer types assigning to 'PyObject *' (aka 'struct _object *') from 'struct _typeobject *'
      [-Wincompatible-pointer-types]
    pyObject = ((PyObject*) objId)->ob_type;
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
/usr/bin/clang -bundle -undefined dynamic_lookup -L/Users/martinthoma/miniconda3/envs/py34/lib -arch x86_64 build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_module.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_diag.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_verboseexcept.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_conv.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_compat.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jtype.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jarray.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jobj.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jmethod.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jfield.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni/org_jpy_PyLib.o -L/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server -L/Users/martinthoma/miniconda3/envs/py34/lib -L/Users/martinthoma/miniconda3/envs/py34/lib -ljvm -o build/lib.macosx-10.6-x86_64-3.4/jpy.so -Xlinker -rpath /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server
building 'jdl' extension
/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jni/org_jpy_DL.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni/org_jpy_DL.o
/usr/bin/clang -bundle -undefined dynamic_lookup -L/Users/martinthoma/miniconda3/envs/py34/lib -arch x86_64 build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni/org_jpy_DL.o -L/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server -L/Users/martinthoma/miniconda3/envs/py34/lib -L/Users/martinthoma/miniconda3/envs/py34/lib -ljvm -o build/lib.macosx-10.6-x86_64-3.4/jdl.so -Xlinker -rpath /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server
installing to build/bdist.macosx-10.6-x86_64/wheel
running install
running maven
Executing Maven goal 'package'
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------------< org.jpy:jpy >-----------------------------
[INFO] Building Java-Python Bridge 0.10.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jpy ---
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jpy ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/martinthoma/jpy/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jpy ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to /Users/martinthoma/jpy/target/classes
[WARNING] /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java: /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java uses or overrides a deprecated API.
[WARNING] /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java: Recompile with -Xlint:deprecation for details.
[WARNING] /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java: Some input files use unchecked or unsafe operations.
[WARNING] /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jpy ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ jpy ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 24 source files to /Users/martinthoma/jpy/target/test-classes
[WARNING] /Users/martinthoma/jpy/src/test/java/org/jpy/PyObjectTest.java: Some input files use or override a deprecated API.
[WARNING] /Users/martinthoma/jpy/src/test/java/org/jpy/PyObjectTest.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ jpy ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jpy ---
[INFO] Building jar: /Users/martinthoma/jpy/target/jpy-0.10.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.908 s
[INFO] Finished at: 2018-11-21T09:24:54+01:00
[INFO] ------------------------------------------------------------------------
Copying target/jpy-0.10.0-SNAPSHOT.jar -> build/lib.macosx-10.6-x86_64-3.4
Copying jpyutil.py to build/lib.macosx-10.6-x86_64-3.4
Writing jpy configuration to build/lib.macosx-10.6-x86_64-3.4 using install_dir None
Traceback (most recent call last):
  File "build/lib.macosx-10.6-x86_64-3.4/jpyutil.py", line 653, in <module>
    _main()
  File "build/lib.macosx-10.6-x86_64-3.4/jpyutil.py", line 626, in _main
    raise ValueError('Invalid log level: %s' % log_level)
ValueError: Invalid log level: None
running install_lib
Writing jpy configuration to build/lib.macosx-10.6-x86_64-3.4 using install_dir build/bdist.macosx-10.6-x86_64/wheel/
Traceback (most recent call last):
  File "build/lib.macosx-10.6-x86_64-3.4/jpyutil.py", line 653, in <module>
    _main()
  File "build/lib.macosx-10.6-x86_64-3.4/jpyutil.py", line 626, in _main
    raise ValueError('Invalid log level: %s' % log_level)
ValueError: Invalid log level: None
creating build/bdist.macosx-10.6-x86_64
creating build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jpyutil.py -> build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jdl.so -> build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jpy-0.10.0-SNAPSHOT.jar -> build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jpy.so -> build/bdist.macosx-10.6-x86_64/wheel
running install_egg_info
running egg_info
creating jpy.egg-info
writing jpy.egg-info/PKG-INFO
writing top-level names to jpy.egg-info/top_level.txt
writing dependency_links to jpy.egg-info/dependency_links.txt
writing manifest file 'jpy.egg-info/SOURCES.txt'
reading manifest file 'jpy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'lib/*.jar'
writing manifest file 'jpy.egg-info/SOURCES.txt'
Copying jpy.egg-info to build/bdist.macosx-10.6-x86_64/wheel/jpy-0.10.0.dev1-py3.4.egg-info
running install_scripts
writing list of installed files to 'setup.out'
creating build/bdist.macosx-10.6-x86_64/wheel/jpy-0.10.0.dev1.dist-info/WHEEL

there was a .whl file created so I continued…

$ cp dist/*.whl ~/.snap/snap-python/snappy
$ cd /Applications/snap/bin/
$ ./snappy-conf /Users/myname/miniconda3/envs/py34/bin/python

Configuring SNAP-Python interface...

java.io.IOException: Python configuration failed.

Command [/Users/martinthoma/miniconda3/envs/py34/bin/python ./snappyutil.py --snap_home /Applications/snap --java_module /Applications/snap/snap/modules/org-esa-snap-snap-python.jar --force --log_file ./snappyutil.log --jvm_max_mem 11G --java_home /Applications/snap/.install4j/jre.bundle/Contents/Home/jre --req_arch x86_64]

failed with return code 97.

Please check the log file '/Users/martinthoma/.snap/snap-python/snappy/snappyutil.log'.

at org.esa.snap.python.PyBridge.configureJpy(PyBridge.java:232)
at org.esa.snap.python.PyBridge.installPythonModule(PyBridge.java:149)
at org.esa.snap.rcp.cli.SnapArgsProcessor.processPython(SnapArgsProcessor.java:103)
at org.esa.snap.rcp.cli.SnapArgsProcessor.process(SnapArgsProcessor.java:49)
at org.netbeans.modules.sendopts.DefaultProcessor.process(DefaultProcessor.java:202)
at org.netbeans.spi.sendopts.Option$1.process(Option.java:387)
at org.netbeans.api.sendopts.CommandLine.process(CommandLine.java:317)
at org.netbeans.modules.sendopts.HandlerImpl.execute(HandlerImpl.java:62)
at org.netbeans.modules.sendopts.Handler.cli(Handler.java:69)
at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:234)
at org.netbeans.core.startup.CLICoreBridge.cli(CLICoreBridge.java:82)
at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:234)
at org.netbeans.CLIHandler$1.exec(CLIHandler.java:268)
at org.netbeans.CLIHandler.finishInitialization(CLIHandler.java:447)
at org.netbeans.MainImpl.finishInitialization(MainImpl.java:256)
at org.netbeans.Main.finishInitialization(Main.java:92)
at org.netbeans.core.startup.Main.start(Main.java:316)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)

at java.lang.Thread.run(Thread.java:745)

Python configuration error: Python configuration failed.

Command [/Users/martinthoma/miniconda3/envs/py34/bin/python ./snappyutil.py --snap_home /Applications/snap --java_module /Applications/snap/snap/modules/org-esa-snap-snap-python.jar --force --log_file ./snappyutil.log --jvm_max_mem 11G --java_home /Applications/snap/.install4j/jre.bundle/Contents/Home/jre --req_arch x86_64]

failed with return code 97.

Please check the log file '/Users/martinthoma/.snap/snap-python/snappy/snappyutil.log'.

snappyutil.log file:

INFO: Installing from Java module '/Applications/snap/snap/modules/org-esa-snap-snap-python.jar'
INFO: Installing jpy...
INFO: Unzipping '/Users/martinthoma/.snap/snap-python/snappy/jpy-0.10.0.dev1-cp34-cp34m-macosx_10_6_x86_64.whl'
INFO: Configuring jpy...
INFO: jpy Python API configuration written to '/Users/martinthoma/.snap/snap-python/snappy/jpyconfig.py'
INFO: jpy Java API configuration written to '/Users/martinthoma/.snap/snap-python/snappy/jpyconfig.properties'
INFO: Configuring snappy...
INFO: snappy configuration written to '/Users/martinthoma/.snap/snap-python/snappy/snappy.ini'
INFO: Importing snappy for final test...

The following issue is quite similar to mine but did not help:

I hope anyone understands the mistake happening here.
Thanks in advance!


#2

You are using the development snapshot of jpy. I don’t know if this is working with SNAP. I haven’t tried it yet. You could switch to the branch [0.9.x](https://github.com/bcdev/jpy/tree/0.9.x or to the tag 0.9.0. ). This should work.


#3

Hi marpet,

thanks for your reply. Actually I removed the jpy foldern and worked through the process again, facing another issue as mentioned:

(py34)$ git clone https://github.com/bcdev/jpy.git

Cloning into 'jpy'...
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 6093 (delta 2), reused 6 (delta 2), pack-reused 6086
Receiving objects: 100% (6093/6093), 2.18 MiB | 390.00 KiB/s, done.
Resolving deltas: 100% (3424/3424), done.

(py34) $ cd jpy/
(py34) $ git tag -l

0.7.1
0.7.2
0.7.3
0.7.4
0.7.5
0.8
0.9.0
v0.7

(py34) $ git checkout tags/0.9.0

Note: checking out 'tags/0.9.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b &lt;new-branch-name&gt;
HEAD is now at e93fd2f... fixed style

(py34) $ export JDK_HOME=/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home
(py34) $ export JAVA_HOME=$JDK_HOME
(py34) $ python get-pip.py

Requirement already up-to-date: pip in /Users/martinthoma/miniconda3/envs/py34/lib/python3.4/site-packages

(py34) $ python setup.py --maven bdist_wheel

running bdist_wheel
running build
running build_py
copying jpyutil.py -&gt; build/lib.macosx-10.6-x86_64-3.4
running build_ext
building 'jpy' extension

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_module.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_module.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_diag.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_diag.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_conv.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_conv.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_compat.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_compat.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jtype.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jtype.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jarray.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jarray.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jobj.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jobj.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jmethod.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jmethod.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jfield.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jfield.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jni/org_jpy_PyLib.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni/org_jpy_PyLib.o

src/main/c/jni/org_jpy_PyLib.c:256:9: warning: implicit declaration of function 'JPy_free' is invalid in C99 [-Wimplicit-function-declaration]

JPy_free();
^
src/main/c/jni/org_jpy_PyLib.c:256:9: warning: this function declaration is not a prototype [-Wstrict-prototypes]
src/main/c/jni/org_jpy_PyLib.c:254:26: warning: unused variable 'state' [-Wunused-variable]
PyGILState_STATE state = PyGILState_Ensure();
^
3 warnings generated.

/usr/bin/clang -bundle -undefined dynamic_lookup -L/Users/martinthoma/miniconda3/envs/py34/lib -arch x86_64 build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_module.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_diag.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_conv.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_compat.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jtype.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jarray.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jobj.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jmethod.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jfield.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni/org_jpy_PyLib.o -L/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server -L/Users/martinthoma/miniconda3/envs/py34/lib -L/Users/martinthoma/miniconda3/envs/py34/lib -ljvm -o build/lib.macosx-10.6-x86_64-3.4/jpy.so -Xlinker -rpath /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server

building 'jdl' extension

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jni/org_jpy_DL.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni/org_jpy_DL.o

/usr/bin/clang -bundle -undefined dynamic_lookup -L/Users/martinthoma/miniconda3/envs/py34/lib -arch x86_64 build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni/org_jpy_DL.o -L/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server -L/Users/martinthoma/miniconda3/envs/py34/lib -L/Users/martinthoma/miniconda3/envs/py34/lib -ljvm -o build/lib.macosx-10.6-x86_64-3.4/jdl.so -Xlinker -rpath /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server

installing to build/bdist.macosx-10.6-x86_64/wheel

running install
running maven
Executing Maven goal 'package'
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------------&lt; org.jpy:jpy &gt;-----------------------------
[INFO] Building Java-Python Bridge 0.9.0
[INFO] -------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jpy ---
[INFO] Deleting /Users/martinthoma/jpy/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jpy ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/martinthoma/jpy/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jpy ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to /Users/martinthoma/jpy/target/classes

[WARNING] /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java: /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java uses or overrides a deprecated API.
[WARNING] /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java: Recompile with -Xlint:deprecation for details.
[WARNING] /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java: Some input files use unchecked or unsafe operations.
[WARNING] /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java: Recompile with -Xlint:unchecked for details.

[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jpy ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ jpy ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 20 source files to /Users/martinthoma/jpy/target/test-classes

[WARNING] /Users/martinthoma/jpy/src/test/java/org/jpy/PyObjectTest.java: Some input files use or override a deprecated API.
[WARNING] /Users/martinthoma/jpy/src/test/java/org/jpy/PyObjectTest.java: Recompile with -Xlint:deprecation for details.

[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ jpy ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jpy ---
[INFO] Building jar: /Users/martinthoma/jpy/target/jpy-0.9.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.339 s
[INFO] Finished at: 2018-11-21T10:31:57+01:00
[INFO] ------------------------------------------------------------------------

Copying target/jpy-0.9.0.jar -&gt; build/lib.macosx-10.6-x86_64-3.4

Copying jpyutil.py to build/lib.macosx-10.6-x86_64-3.4

Writing jpy configuration to build/lib.macosx-10.6-x86_64-3.4 using install_dir None

INFO: jpy Python API configuration written to '/Users/martinthoma/jpy/build/lib.macosx-10.6-x86_64-3.4/jpyconfig.py'

DEBUG: Searching for Python shared library file

DEBUG: Potential Python shared library search dirs: ['/Users/martinthoma/miniconda3/envs/py34', '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m', '/Users/martinthoma/miniconda3/envs/py34/bin', '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4', '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload', '/Users/martinthoma/miniconda3/envs/py34/lib']

DEBUG: Potential Python shared library file names: ['libpython3.4.dylib', 'libpython3.dylib', 'libpython.dylib', 'libpython3.4.so', 'libpython3.so', 'libpython.so']

DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython.so'? no
ERROR: Error while writing Java API configuration

Traceback (most recent call last):

File "build/lib.macosx-10.6-x86_64-3.4/jpyutil.py", line 571, in write_config_files
java_api_properties = _get_java_api_properties(fail=req_java_api_conf, path=install_dir)
File "build/lib.macosx-10.6-x86_64-3.4/jpyutil.py", line 116, in _get_java_api_properties
jpy_config.set_property('jpy.pythonLib', _find_python_dll_file(fail=fail))
File "build/lib.macosx-10.6-x86_64-3.4/jpyutil.py", line 292, in _find_python_dll_file
raise RuntimeError("can't find any Python shared library")
RuntimeError: can't find any Python shared library

running install_lib

Writing jpy configuration to build/lib.macosx-10.6-x86_64-3.4 using install_dir build/bdist.macosx-10.6-x86_64/wheel/
INFO: jpy Python API configuration written to '/Users/martinthoma/jpy/build/lib.macosx-10.6-x86_64-3.4/jpyconfig.py'
DEBUG: Searching for Python shared library file
DEBUG: Potential Python shared library search dirs: ['/Users/martinthoma/miniconda3/envs/py34', '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m', '/Users/martinthoma/miniconda3/envs/py34/bin', '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4', '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload', '/Users/martinthoma/miniconda3/envs/py34/lib']

DEBUG: Potential Python shared library file names: ['libpython3.4.dylib', 'libpython3.dylib', 'libpython.dylib', 'libpython3.4.so', 'libpython3.so', 'libpython.so']

DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython.so'? no
ERROR: Error while writing Java API configuration

Traceback (most recent call last):

File "build/lib.macosx-10.6-x86_64-3.4/jpyutil.py", line 571, in write_config_files
java_api_properties = _get_java_api_properties(fail=req_java_api_conf, path=install_dir)
File "build/lib.macosx-10.6-x86_64-3.4/jpyutil.py", line 116, in _get_java_api_properties
jpy_config.set_property('jpy.pythonLib', _find_python_dll_file(fail=fail))
File "build/lib.macosx-10.6-x86_64-3.4/jpyutil.py", line 292, in _find_python_dll_file
raise RuntimeError("can't find any Python shared library")
RuntimeError: can't find any Python shared library
creating build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jpyconfig.py -&gt; build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jpyutil.py -&gt; build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jdl.so -&gt; build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jpy-0.9.0.jar -&gt; build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jpy.so -&gt; build/bdist.macosx-10.6-x86_64/wheel

running install_egg_info
running egg_info
writing top-level names to jpy.egg-info/top_level.txt
writing jpy.egg-info/PKG-INFO
writing dependency_links to jpy.egg-info/dependency_links.txt
reading manifest file 'jpy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'lib/*.jar'
writing manifest file 'jpy.egg-info/SOURCES.txt'
Copying jpy.egg-info to build/bdist.macosx-10.6-x86_64/wheel/jpy-0.9.0-py3.4.egg-info
running install_scripts
writing list of installed files to 'setup.out'
creating build/bdist.macosx-10.6-x86_64/wheel/jpy-0.9.0.dist-info/WHEEL

So, I had a look at the following issue which is similar to mine:

I tried to solve this issue the way to define the DYLD_LIBRARY_PATH like:

(py34) $ export DYLD_LIBRARY_PATH=/Users/martinthoma/miniconda3/envs/py34/lib
(py34) $ python setup.py --maven bdist_wheel

running bdist_wheel
running build
running build_py
copying jpyutil.py -&gt; build/lib.macosx-10.6-x86_64-3.4
running build_ext
building 'jpy' extension

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_module.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_module.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_diag.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_diag.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_conv.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_conv.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_compat.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_compat.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jtype.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jtype.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jarray.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jarray.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jobj.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jobj.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jmethod.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jmethod.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jpy_jfield.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jfield.o

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jni/org_jpy_PyLib.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni/org_jpy_PyLib.o

src/main/c/jni/org_jpy_PyLib.c:256:9: warning: implicit declaration of function 'JPy_free' is invalid in C99 [-Wimplicit-function-declaration]

JPy_free();
^
src/main/c/jni/org_jpy_PyLib.c:256:9: warning: this function declaration is not a prototype [-Wstrict-prototypes]
src/main/c/jni/org_jpy_PyLib.c:254:26: warning: unused variable 'state' [-Wunused-variable]

PyGILState_STATE state = PyGILState_Ensure();
^
3 warnings generated.

/usr/bin/clang -bundle -undefined dynamic_lookup -L/Users/martinthoma/miniconda3/envs/py34/lib -arch x86_64 build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_module.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_diag.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_conv.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_compat.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jtype.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jarray.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jobj.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jmethod.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jpy_jfield.o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni/org_jpy_PyLib.o -L/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server -L/Users/martinthoma/miniconda3/envs/py34/lib -L/Users/martinthoma/miniconda3/envs/py34/lib -ljvm -o build/lib.macosx-10.6-x86_64-3.4/jpy.so -Xlinker -rpath /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server

building 'jdl' extension

/usr/bin/clang -Wno-unused-result -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/martinthoma/miniconda3/envs/py34/include -arch x86_64 -Isrc/main/c -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/include/darwin -I/Users/martinthoma/miniconda3/envs/py34/include/python3.4m -c src/main/c/jni/org_jpy_DL.c -o build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni/org_jpy_DL.o

/usr/bin/clang -bundle -undefined dynamic_lookup -L/Users/martinthoma/miniconda3/envs/py34/lib -arch x86_64 build/temp.macosx-10.6-x86_64-3.4/src/main/c/jni/org_jpy_DL.o -L/Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server -L/Users/martinthoma/miniconda3/envs/py34/lib -L/Users/martinthoma/miniconda3/envs/py34/lib -ljvm -o build/lib.macosx-10.6-x86_64-3.4/jdl.so -Xlinker -rpath /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/lib/server

installing to build/bdist.macosx-10.6-x86_64/wheel
running instal
running maven
Executing Maven goal 'package'
[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------------------&lt; org.jpy:jpy &gt;-----------------------------
[INFO] Building Java-Python Bridge 0.9.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jpy ---
[INFO] Deleting /Users/martinthoma/jpy/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jpy ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/martinthoma/jpy/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jpy ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 13 source files to /Users/martinthoma/jpy/target/classes
[WARNING] /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java: /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java uses or overrides a deprecated API.

[WARNING] /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java: Recompile with -Xlint:deprecation for details.
[WARNING] /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java: Some input files use unchecked or unsafe operations.
[WARNING] /Users/martinthoma/jpy/src/main/java/org/jpy/PyObject.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ jpy ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ jpy ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 20 source files to /Users/martinthoma/jpy/target/test-classes
[WARNING] /Users/martinthoma/jpy/src/test/java/org/jpy/PyObjectTest.java: Some input files use or override a deprecated API.
[WARNING] /Users/martinthoma/jpy/src/test/java/org/jpy/PyObjectTest.java: Recompile with -Xlint:deprecation for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ jpy ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ jpy ---
[INFO] Building jar: /Users/martinthoma/jpy/target/jpy-0.9.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.180 s
[INFO] Finished at: 2018-11-21T10:43:42+01:00
[INFO] ------------------------------------------------------------------------

Copying target/jpy-0.9.0.jar -&gt; build/lib.macosx-10.6-x86_64-3.4
Copying jpyutil.py to build/lib.macosx-10.6-x86_64-3.4
Writing jpy configuration to build/lib.macosx-10.6-x86_64-3.4 using install_dir None
INFO: jpy Python API configuration written to '/Users/martinthoma/jpy/build/lib.macosx-10.6-x86_64-3.4/jpyconfig.py'
DEBUG: Searching for Python shared library file
DEBUG: Potential Python shared library search dirs: ['/Users/martinthoma/miniconda3/envs/py34', '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m', '/Users/martinthoma/miniconda3/envs/py34/bin', '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4', '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload', '/Users/martinthoma/miniconda3/envs/py34/lib']

DEBUG: Potential Python shared library file names: ['libpython3.4.dylib', 'libpython3.dylib', 'libpython.dylib', 'libpython3.4.so', 'libpython3.so', 'libpython.so']
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython.so'? no
DEBUG: No Python shared library file found in all search paths. Using fallback '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.4m.dylib'

INFO: jpy Java API configuration written to '/Users/martinthoma/jpy/build/lib.macosx-10.6-x86_64-3.4/jpyconfig.properties'
INFO: Configuration completed successfully
running install_lib

Writing jpy configuration to build/lib.macosx-10.6-x86_64-3.4 using install_dir build/bdist.macosx-10.6-x86_64/wheel/
INFO: jpy Python API configuration written to '/Users/martinthoma/jpy/build/lib.macosx-10.6-x86_64-3.4/jpyconfig.py'
DEBUG: Searching for Python shared library file
DEBUG: Potential Python shared library search dirs: ['/Users/martinthoma/miniconda3/envs/py34', '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m', '/Users/martinthoma/miniconda3/envs/py34/bin', '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4', '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload', '/Users/martinthoma/miniconda3/envs/py34/lib']
DEBUG: Potential Python shared library file names: ['libpython3.4.dylib', 'libpython3.dylib', 'libpython.dylib', 'libpython3.4.so', 'libpython3.so', 'libpython.so']
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.4.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython.dylib'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.4.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/config-3.4m/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/bin/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/libpython.so'? no
DEBUG: Exists '/Users/martinthoma/miniconda3/envs/py34/lib/libpython.so'? no
DEBUG: No Python shared library file found in all search paths. Using fallback '/Users/martinthoma/miniconda3/envs/py34/lib/libpython3.4m.dylib'
INFO: jpy Java API configuration written to '/Users/martinthoma/jpy/build/lib.macosx-10.6-x86_64-3.4/jpyconfig.properties'
INFO: Configuration completed successfully

creating build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jpyconfig.py -&gt; build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jpyutil.py -&gt; build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jdl.so -&gt; build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jpyconfig.properties -&gt; build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jpy-0.9.0.jar -&gt; build/bdist.macosx-10.6-x86_64/wheel
copying build/lib.macosx-10.6-x86_64-3.4/jpy.so -&gt; build/bdist.macosx-10.6-x86_64/wheel
running install_egg_info
running egg_info
writing jpy.egg-info/PKG-INFO
writing dependency_links to jpy.egg-info/dependency_links.txt
writing top-level names to jpy.egg-info/top_level.txt
reading manifest file 'jpy.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'lib/*.jar'
writing manifest file 'jpy.egg-info/SOURCES.txt'
Copying jpy.egg-info to build/bdist.macosx-10.6-x86_64/wheel/jpy-0.9.0-py3.4.egg-info
running install_scripts
Traceback (most recent call last):

File "setup.py", line 361, in &lt;module&gt;
'Programming Language :: Python :: 3.5'])
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/site-packages/wheel/bdist_wheel.py", line 215, in run
self.run_command('install')
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 305, in run
install.run(self)
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/setuptools/command/install.py", line 61, in run
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/distutils/command/install.py", line 551, in run
self.run_command(cmd_name)
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/setuptools/command/install_scripts.py", line 17, in run
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/setuptools/command/easy_install.py", line 52, in &lt;module&gt;
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/setuptools/package_index.py", line 26, in &lt;module&gt;
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/setuptools/ssl_support.py", line 33, in &lt;module&gt;
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/_vendor/six.py", line 92, in __get__
result = self._resolve()
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/_vendor/six.py", line 160, in _resolve
module = _import_module(self.mod)
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/_vendor/six.py", line 82, in _import_module
__import__(name)
File "/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/urllib/request.py", line 2426, in &lt;module&gt;
from _scproxy import _get_proxy_settings, _get_proxie
ImportError: dlopen(/Users/martinthoma/miniconda3/envs/py34/lib/python3.4/lib-dynload/_scproxy.so, 2): Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /Users/martinthoma/miniconda3/envs/py34/lib/libJPEG.dylib
 in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO

Unfortunately this did not work either but I hope it brought us closer to the solution…