nteract / hydrogen

:atom: Run code interactively, inspect data, and plot. All the power of Jupyter kernels, inside your favorite text editor.
https://nteract.gitbooks.io/hydrogen/
MIT License
3.93k stars 334 forks source link

Installing “Hydrogen@2.12.0” failed #1766

Closed maihao14 closed 5 years ago

maihao14 commented 5 years ago

I try to install with apm or inside Atom Package. But neither of them worked. I put the complete error report as follows. I appreciate you can help me fix this.

zeromq@5.1.0 install /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild)

prebuild-install WARN install unexpected end of file

Building libzmq for darwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... config/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '501' is supported by ustar format... yes checking whether GID '20' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking whether C compiler accepts -std=gnu11... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether g++ supports C++11 features by default... no checking whether g++ supports C++11 features with -std=gnu++11... yes checking for a sed that does not truncate output... /usr/bin/sed checking whether to build with code coverage support... no checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for gawk... (cached) awk checking for pkg-config... /opt/local/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for xmlto... no checking for asciidoc... no checking build system type... x86_64-apple-darwin18.7.0 checking host system type... x86_64-apple-darwin18.7.0 checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B checking the name lister (/opt/local/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-apple-darwin18.7.0 file names to x86_64-apple-darwin18.7.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin18.7.0 file names to toolchain format... func_convert_file_noop checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... dlltool checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /opt/local/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... no checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -std=gnu++11 -E checking for ld used by g++ -std=gnu++11... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no checking whether the g++ -std=gnu++11 linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking for g++ -std=gnu++11 option to produce PIC... -fno-common -DPIC checking if g++ -std=gnu++11 PIC flag -fno-common -DPIC works... yes checking if g++ -std=gnu++11 static flag -static works... no checking if g++ -std=gnu++11 supports -c -o file.o... yes checking if g++ -std=gnu++11 supports -c -o file.o... (cached) yes checking whether the g++ -std=gnu++11 linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin18.7.0 dyld checking how to hardcode library paths into programs... immediate checking for valgrind... no checking whether the C compiler works... yes checking whether we are using Intel C compiler... no checking whether we are using Sun Studio C compiler... no checking whether we are using clang C compiler... yes checking whether we are using gcc >= 4 C compiler... yes checking whether the C++ compiler works... yes checking whether we are using Intel C++ compiler... no checking whether we are using Sun Studio C++ compiler... no checking whether we are using clang C++ compiler... yes checking whether we are using gcc >= 4 C++ compiler... yes checking whether to enable debugging information... no checking whether to enable code coverage... no checking if TIPC is available and supports nonblocking connect... no checking whether C++ compiler supports -Wno-uninitialized... yes checking for pthread_create in -lpthread... yes checking for clock_gettime in -lrt... no checking whether C++ compiler supports -fvisibility=hidden... yes checking whether C++ compiler supports dso visibility... yes checking whether to build documentation... no checking whether to install manpages... no configure: Choosing polling system from 'kqueue epoll devpoll pollset poll select'... configure: Using 'kqueue' polling system checking for ANSI C header files... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes

checking for unistd.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/eventfd.h usability... no checking sys/eventfd.h presence... no checking for sys/eventfd.h... no checking whether SO_PEERCRED is declared... no checking whether LOCAL_PEERCRED is declared... no checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for ssize_t... yes checking whether time.h and sys/time.h may both be included... yes checking for uint32_t... yes checking for working volatile... yes configure: Using tweetnacl for CURVE security checking "with_norm_ext = no"... no checking how to enable additional warnings for C++ compiler... -Wall checking whether compiler supports __atomic_Xxx intrinsics... yes checking return type of signal handlers... void checking for perror... yes checking for gettimeofday... yes checking for clock_gettime... yes checking for memset... yes checking for socket... yes checking for getifaddrs... yes checking for freeifaddrs... yes checking for fork... yes checking for posix_memalign... yes checking for mkdtemp... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking whether SOCK_CLOEXEC is supported... no checking whether SO_KEEPALIVE is supported... yes checking whether TCP_KEEPCNT is supported... yes checking whether TCP_KEEPIDLE is supported... no checking whether TCP_KEEPINTVL is supported... yes checking whether TCP_KEEPALIVE is supported... yes checking for ./.git... no configure: Building stable and legacy API (no draft API) checking for LIBUNWIND... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/libzmq.pc config.status: creating doc/Makefile config.status: creating builds/Makefile config.status: creating builds/msvc/Makefile config.status: creating src/platform.hpp config.status: executing depfiles commands config.status: executing libtool commands Making all in doc make[1]: Nothing to be done for all'. CXX src/src_libzmq_la-address.lo CXX src/src_libzmq_la-client.lo CXX src/src_libzmq_la-clock.lo CXX src/src_libzmq_la-ctx.lo CXX src/src_libzmq_la-curve_client.lo CXX src/src_libzmq_la-curve_server.lo CXX src/src_libzmq_la-dealer.lo CXX src/src_libzmq_la-devpoll.lo CXX src/src_libzmq_la-dgram.lo CXX src/src_libzmq_la-dish.lo CXX src/src_libzmq_la-dist.lo CXX src/src_libzmq_la-epoll.lo CXX src/src_libzmq_la-err.lo CXX src/src_libzmq_la-fq.lo CXX src/src_libzmq_la-gather.lo CXX src/src_libzmq_la-gssapi_mechanism_base.lo CXX src/src_libzmq_la-gssapi_client.lo CXX src/src_libzmq_la-gssapi_server.lo CXX src/src_libzmq_la-io_object.lo CXX src/src_libzmq_la-io_thread.lo CXX src/src_libzmq_la-ip.lo CXX src/src_libzmq_la-ipc_address.lo CXX src/src_libzmq_la-ipc_connecter.lo CXX src/src_libzmq_la-ipc_listener.lo CXX src/src_libzmq_la-kqueue.lo CXX src/src_libzmq_la-lb.lo CXX src/src_libzmq_la-mailbox.lo CXX src/src_libzmq_la-mailbox_safe.lo CXX src/src_libzmq_la-mechanism.lo CXX src/src_libzmq_la-metadata.lo CXX src/src_libzmq_la-msg.lo CXX src/src_libzmq_la-mtrie.lo CXX src/src_libzmq_la-norm_engine.lo CXX src/src_libzmq_la-null_mechanism.lo CXX src/src_libzmq_la-object.lo CXX src/src_libzmq_la-options.lo CXX src/src_libzmq_la-own.lo CXX src/src_libzmq_la-pair.lo CXX src/src_libzmq_la-pgm_receiver.lo CXX src/src_libzmq_la-pgm_sender.lo CXX src/src_libzmq_la-pgm_socket.lo CXX src/src_libzmq_la-pipe.lo CXX src/src_libzmq_la-plain_client.lo CXX src/src_libzmq_la-plain_server.lo CXX src/src_libzmq_la-poll.lo CXX src/src_libzmq_la-poller_base.lo CXX src/src_libzmq_la-pollset.lo CXX src/src_libzmq_la-precompiled.lo CXX src/src_libzmq_la-proxy.lo CXX src/src_libzmq_la-pub.lo CXX src/src_libzmq_la-pull.lo CXX src/src_libzmq_la-push.lo CXX src/src_libzmq_la-radio.lo CXX src/src_libzmq_la-random.lo CXX src/src_libzmq_la-raw_decoder.lo CXX src/src_libzmq_la-raw_encoder.lo CXX src/src_libzmq_la-reaper.lo CXX src/src_libzmq_la-rep.lo CXX src/src_libzmq_la-req.lo CXX src/src_libzmq_la-router.lo CXX src/src_libzmq_la-scatter.lo CXX src/src_libzmq_la-select.lo CXX src/src_libzmq_la-server.lo CXX src/src_libzmq_la-session_base.lo CXX src/src_libzmq_la-signaler.lo CXX src/src_libzmq_la-socket_base.lo CXX src/src_libzmq_la-socks.lo CXX src/src_libzmq_la-socks_connecter.lo CXX src/src_libzmq_la-stream.lo CXX src/src_libzmq_la-stream_engine.lo CXX src/src_libzmq_la-sub.lo CXX src/src_libzmq_la-tcp.lo CXX src/src_libzmq_la-tcp_address.lo CXX src/src_libzmq_la-tcp_connecter.lo CXX src/src_libzmq_la-tcp_listener.lo CXX src/src_libzmq_la-thread.lo CXX src/src_libzmq_la-timers.lo CXX src/src_libzmq_la-tipc_address.lo CXX src/src_libzmq_la-tipc_connecter.lo CXX src/src_libzmq_la-tipc_listener.lo CXX src/src_libzmq_la-trie.lo CXX src/src_libzmq_la-udp_address.lo CXX src/src_libzmq_la-udp_engine.lo CXX src/src_libzmq_la-v1_decoder.lo CXX src/src_libzmq_la-v2_decoder.lo CXX src/src_libzmq_la-v1_encoder.lo CXX src/src_libzmq_la-v2_encoder.lo CXX src/src_libzmq_la-vmci.lo CXX src/src_libzmq_la-vmci_address.lo CXX src/src_libzmq_la-vmci_connecter.lo CXX src/src_libzmq_la-vmci_listener.lo CXX src/src_libzmq_la-xpub.lo CXX src/src_libzmq_la-xsub.lo CXX src/src_libzmq_la-zmq.lo CXX src/src_libzmq_la-zmq_utils.lo CXX src/src_libzmq_la-decoder_allocators.lo CXX src/src_libzmq_la-socket_poller.lo CC src/src_libzmq_la-tweetnacl.lo CXX tools/curve_keygen.o CXX perf/local_lat.o CXX perf/remote_lat.o CXX perf/local_thr.o CXX perf/remote_thr.o CXX perf/inproc_lat.o CXX perf/inproc_thr.o CXXLD src/libzmq.la CXXLD tools/curve_keygen CXXLD perf/local_lat CXXLD perf/remote_lat CXXLD perf/local_thr CXXLD perf/remote_thr CXXLD perf/inproc_lat CXXLD perf/inproc_thr Making install in doc make[2]: Nothing to be done forinstall-exec-am'. config/install-sh -c -d '/private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c src/libzmq.la '/private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib'

libtool: install: /usr/bin/install -c src/.libs/libzmq.lai /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.la libtool: install: /usr/bin/install -c src/.libs/libzmq.a /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a libtool: install: chmod 644 /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a libtool: install: ranlib /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a config/install-sh -c -d '/private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/bin' /bin/sh ./libtool --mode=install /usr/bin/install -c tools/curve_keygen '/private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/bin' libtool: install: /usr/bin/install -c tools/curve_keygen /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/bin/curve_keygen config/install-sh -c -d '/private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/include' /usr/bin/install -c -m 644 include/zmq.h include/zmq_utils.h '/private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/include' config/install-sh -c -d '/private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/pkgconfig' /usr/bin/install -c -m 644 src/libzmq.pc '/private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/pkgconfig' Succesfully build libzmq on Wed Sep 04 2019 17:24:26 GMT-0400 (EDT)

npm WARN deprecated json-parser@1.1.5: json-parser is deprecated. Please use comment-json instead configure: WARNING: Cannot find libunwind /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-devpoll.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-epoll.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-gssapi_mechanism_base.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-gssapi_client.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-gssapi_server.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-norm_engine.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pgm_receiver.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pgm_sender.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pgm_socket.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-poll.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pollset.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-precompiled.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-select.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-tipc_address.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-tipc_connecter.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-tipc_listener.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci_address.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci_connecter.o) has no symbols /opt/local/bin/ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci_listener.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-devpoll.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-epoll.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-gssapi_mechanism_base.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-gssapi_client.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-gssapi_server.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-norm_engine.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pgm_receiver.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pgm_sender.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pgm_socket.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-poll.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-pollset.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-precompiled.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-select.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-tipc_address.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-tipc_connecter.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-tipc_listener.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci_address.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci_connecter.o) has no symbols ranlib: file: src/.libs/libzmq.a(src_libzmq_la-vmci_listener.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-devpoll.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-epoll.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-gssapi_mechanism_base.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-gssapi_client.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-gssapi_server.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-norm_engine.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-pgm_receiver.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-pgm_sender.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-pgm_socket.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-poll.o) has no symbols

ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-pollset.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-precompiled.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-select.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-tipc_address.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-tipc_connecter.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-tipc_listener.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-vmci.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-vmci_address.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-vmci_connecter.o) has no symbols ranlib: file: /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq/scripts/../zmq/lib/libzmq.a(src_libzmq_la-vmci_listener.o) has no symbols gyp ERR! configure error gyp ERR! stack Error: Python executable "/Applications/Atom.app/Contents/Resources/app/apm/bin/python-interceptor.sh" is v3.6.7, which is not supported by gyp. gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0. gyp ERR! stack at PythonFinder.failPythonVersion (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:501:19) gyp ERR! stack at PythonFinder. (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/configure.js:483:14) gyp ERR! stack at ChildProcess.exithandler (child_process.js:282:7) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at maybeClose (internal/child_process.js:961:16) gyp ERR! stack at Socket.stream.socket.on (internal/child_process.js:380:11) gyp ERR! stack at Socket.emit (events.js:182:13) gyp ERR! stack at Pipe._handle.close [as _onclose] (net.js:596:12) gyp ERR! System Darwin 18.7.0 gyp ERR! command "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/node_modules/Hydrogen/node_modules/zeromq gyp ERR! node -v v10.2.1 gyp ERR! node-gyp -v v3.7.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open '/private/var/folders/y1/0j5dbp_n5zqgfm3fc8rj7npc0000gn/T/apm-install-dir-11984-37628-rktlep.etj/package.json' npm WARN react-rangeslider@2.2.0 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. npm WARN apm-install-dir-11984-37628-rktlep.etj No description npm WARN apm-install-dir-11984-37628-rktlep.etj No repository field. npm WARN apm-install-dir-11984-37628-rktlep.etj No README data npm WARN apm-install-dir-11984-37628-rktlep.etj No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! zeromq@5.1.0 install: node scripts/prebuild-install.js || (node scripts/preinstall.js && node-gyp rebuild) npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the zeromq@5.1.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/maihao/.atom/.apm/_logs/2019-09-04T21_24_27_905Z-debug.log

wadethestealth commented 5 years ago

gyp ERR! stack Error: Python executable "/Applications/Atom.app/Contents/Resources/app/apm/bin/python-interceptor.sh" is v3.6.7, which is not supported by gyp. gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.

You must have python 2 installed. See here for other related issues with similar or the same error.

maihao14 commented 5 years ago

So I cannot use Python 3 with Hydrogen?

wadethestealth commented 5 years ago

No you can you just need python 2 for installation

maihao14 commented 5 years ago

Can you give a more detail about the installation? I found that many users have the same issues. I use Mac OS . It seems has default python2 installed. But now my python version is 3.6. Could you tell me what should I do exactly?

wadethestealth commented 5 years ago

If you have python 2, you must use that during the installation not python 3. By default, installation uses your python env var to find your python, which normally points to the most recent installed version. In the linked issue filter above there are plenty of fixes to this issue. you could change your python env var or set flag or uninstall py3 and install py2 again with env var install then install py3 again. Just browse the old issues there are plenty of solutions. Even if they are using Windows it should still work for Mac with subtle differences in the cmds you type.