jupyter / jupyter/notebook

Jupyter latest version crashes when installing with conda

Open
#1,632 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

Going to repost here as there seems to be more activity.

The most recent release of jupyter seems to have some library linking issues.

After a clean install of anaconda, and
`conda create -n test jupyter`

then

`jupyter notebook`

gives me

File "/Users/fonz/anaconda/envs/test/bin/jupyter-notebook", line 4, in
import notebook.notebookapp
File "/Users/fonz/anaconda/envs/test/lib/python2.7/site-packages/notebook/notebookapp.py", line 31, in
from zmq.eventloop import ioloop
File "/Users/fonz/anaconda/envs/test/lib/python2.7/site-packages/zmq/init.py", line 49, in
from zmq import backend
File "/Users/fonz/anaconda/envs/test/lib/python2.7/site-packages/zmq/backend/init.py", line 41, in
reraise(*exc_info)
File "/Users/fonz/anaconda/envs/test/lib/python2.7/site-packages/zmq/backend/init.py", line 29, in
ns = select_backend(first)
File "/Users/fonz/anaconda/envs/test/lib/python2.7/site-packages/zmq/backend/select.py", line 27, in select_backend
mod = __import_(name, fromlist=public_api)
File "/Users/fonz/anaconda/envs/test/lib/python2.7/site-packages/zmq/backend/cython/init.py", line 6, in
from . import (constants, error, message, context,
ImportError: dlopen(/Users/fonz/anaconda/envs/test/lib/python2.7/site-packages/zmq/backend/cython/constants.so, 2): Library not loaded: @rpath/libsodium.4.dylib
Referenced from: /Users/fonz/anaconda/envs/test/lib/libzmq.4.dylib
Reason: image not found

Thanks in advance!

https://github.com/jupyter/jupyter/issues/184

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with `conda create -n test jupyter` followed by `jupyter notebook`, then trace the reported import failure through notebook, pyzmq, and the missing `libsodium.4.dylib` dependency. Done means a clean Anaconda environment can launch Jupyter Notebook without the library-loading error.

Written by the indexing model from the issue text.

Assessment

Tech stack
anaconda, jupyter-notebook, python
Domain
build-system, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.