Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't open jupyter notebook in Ubuntu16.04 #7509

Closed
ztfmars opened this issue Jul 9, 2018 · 4 comments
Closed

can't open jupyter notebook in Ubuntu16.04 #7509

ztfmars opened this issue Jul 9, 2018 · 4 comments
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity

Comments

@ztfmars
Copy link

ztfmars commented Jul 9, 2018

**at the beginning, I want to use to install tensorflow +opencv with anaconda in Ubuntu 16.04 **
i have install anaconda and build a virtual environment named tensorflow36( because i chose python3.6),then i install tensorflow 1.3 and opencv 3.1. at last i install jupyter notebook .
But when i use anaconda navigator to open jupyter under tensorflow36, it showed some errors and can't open the jupyter.
i tried to reinstall the anaconda, but it still showed the same errors.
but when i open jupyter notebook in the enviroments of base(root), the notebook could be opened in chrome broswer. that is so strange

Does anyone know how to handle this situation and solve the problems?
look forward to your helps, thanks for the guides !!

Current Behavior

Steps to Reproduce

the errors could be seen as followings:
Traceback (most recent call last):
File "/home/ztf/anaconda3/envs/tensorflow36/bin/jupyter-notebook", line 7, in 
from notebook.notebookapp import main
File "/home/ztf/anaconda3/envs/tensorflow36/lib/python3.6/site-packages/notebook/notebookapp.py", line 45, in 
from zmq.eventloop import ioloop
File "/home/ztf/anaconda3/envs/tensorflow36/lib/python3.6/site-packages/zmq/__init__.py", line 47, in 
from zmq import backend
File "/home/ztf/anaconda3/envs/tensorflow36/lib/python3.6/site-packages/zmq/backend/__init__.py", line 40, in 
reraise(*exc_info)
File "/home/ztf/anaconda3/envs/tensorflow36/lib/python3.6/site-packages/zmq/utils/sixcerpt.py", line 34, in reraise
raise value
File "/home/ztf/anaconda3/envs/tensorflow36/lib/python3.6/site-packages/zmq/backend/__init__.py", line 27, in 
_ns = select_backend(first)
File "/home/ztf/anaconda3/envs/tensorflow36/lib/python3.6/site-packages/zmq/backend/select.py", line 26, in select_backend
mod = __import__(name, fromlist=public_api)
File "/home/ztf/anaconda3/envs/tensorflow36/lib/python3.6/site-packages/zmq/backend/cython/__init__.py", line 6, in 
from . import (constants, error, message, context,
ImportError: libsodium.so.23: cannot open shared object file: No such file or directory

Expected Behavior

Environment Information

`conda info`

Current conda install:

               platform : linux-64
          conda version : 4.3.30
       conda is private : False
      conda-env version : 4.3.30
    conda-build version : 3.10.5
         python version : 3.6.5.final.0
       requests version : 2.18.4
       root environment : /home/ztf/anaconda3  (writable)
    default environment : /home/ztf/anaconda3
       envs directories : /home/ztf/anaconda3/envs
                          /home/ztf/.conda/envs
          package cache : /home/ztf/anaconda3/pkgs
                          /home/ztf/.conda/pkgs
           channel URLs : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64
                          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch
                          https://repo.continuum.io/pkgs/main/linux-64
                          https://repo.continuum.io/pkgs/main/noarch
                          https://repo.continuum.io/pkgs/free/linux-64
                          https://repo.continuum.io/pkgs/free/noarch
                          https://repo.continuum.io/pkgs/r/linux-64
                          https://repo.continuum.io/pkgs/r/noarch
                          https://repo.continuum.io/pkgs/pro/linux-64
                          https://repo.continuum.io/pkgs/pro/noarch
            config file : /home/ztf/.condarc
             netrc file : None
           offline mode : False
             user-agent : conda/4.3.30 requests/2.18.4 CPython/3.6.5 Linux/4.13.0-45-generic debian/stretch/sid glibc/2.23    
                UID:GID : 1000:1000

`conda config --show-sources`

==> /home/ztf/.condarc <==
ssl_verify: True
channels:
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
  - defaults
show_channel_urls: True


`conda list --show-channel-urls`

# packages in environment at /home/ztf/anaconda3/envs/tensorflow36:
#
backports                 1.0                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
backports.weakref         1.0rc1                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
bleach                    1.5.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
certifi                   2016.2.28                py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
decorator                 4.1.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
entrypoints               0.2.3                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
hdf5                      1.8.17                        2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
html5lib                  0.9999999                py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
ipykernel                 4.6.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
ipython                   6.1.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
ipython_genutils          0.2.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jbig                      2.1                           0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jedi                      0.10.2                   py36_2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jinja2                    2.9.6                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jpeg                      8d                            2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jsonschema                2.6.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
jupyter_client            5.2.3                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
jupyter_core              4.4.0            py36h7c827e3_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libgcc-ng                 7.2.0                hdf63c60_3    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libpng                    1.6.30                        1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
libprotobuf               3.4.0                         0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
libsodium                 1.0.10                        0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
libstdcxx-ng              7.2.0                hdf63c60_3    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libtiff                   4.0.6                         2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
markdown                  2.6.9                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
markupsafe                1.0                      py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
mistune                   0.7.4                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
mkl                       2017.0.3                      0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
nbconvert                 5.2.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
nbformat                  4.4.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
notebook                  5.5.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
numpy                     1.12.1                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
opencv                    3.1.0               np112py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
openssl                   1.0.2l                        0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pandocfilters             1.4.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
path.py                   10.3.1                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pexpect                   4.2.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pickleshare               0.7.4                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pip                       9.0.1                    py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
prompt_toolkit            1.0.15                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
protobuf                  3.4.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
ptyprocess                0.5.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pygments                  2.2.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
python                    3.6.2                         0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
python-dateutil           2.6.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
pyzmq                     17.0.0           py36h14c3975_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
readline                  6.2                           2    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
send2trash                1.5.0                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
setuptools                36.4.0                   py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
simplegeneric             0.8.1                    py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
six                       1.10.0                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
sqlite                    3.13.0                        0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
tensorflow                1.3.0                         0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
tensorflow-base           1.3.0            py36h5293eaa_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
tensorflow-tensorboard    0.1.5                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
terminado                 0.8.1                    py36_1    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
testpath                  0.3.1                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
tk                        8.5.18                        0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
tornado                   4.5.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
traitlets                 4.3.2                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
wcwidth                   0.1.7                    py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
werkzeug                  0.12.2                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
wheel                     0.29.0                   py36_0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
xz                        5.2.3                         0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
zeromq                    4.2.3                h439df22_3    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
zlib                      1.2.11                        0    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free


@michaelaye
Copy link

I think you need to open an issue here https://github.com/ContinuumIO/anaconda-issues/issues because this repository is only about issues with the workings of the conda tool itself, not about problems within the anaconda distribution.

@imnasnainaec
Copy link

I had this issue and found the solution by chapmanb (bcbio/bcbio-nextgen#2274) worked: conda install -c conda-forge libsodium

@github-actions
Copy link

Hi there, thank you for your contribution to Conda!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue in the latest version of Conda

  2. Comment that the issue is still reproducible and include:

  • What version of Conda you reproduced the issue on
  • What OS and version you reproduced the issue on
  • What steps you followed to reproduce the issue
  1. It would also be helpful to have the output of the following commands available:
  • conda info
  • conda config --show-sources
  • conda list --show-channel-urls

NOTE: If this issue was closed prematurely, please leave a comment and we will gladly reopen the issue.

In case this issue was originally about a project that is covered by the Anaconda issue tracker (e.g. Anaconda, Miniconda, packages built by Anaconda, Inc. like Anaconda Navigator etc), please reopen the issue there again.

Thanks!

@github-actions github-actions bot added the stale [bot] marked as stale due to inactivity label Nov 22, 2021
@github-actions
Copy link

Hi again!

This issue has been closed since it has not had recent activity.
Please don't hesitate to leave a comment if that was done prematurely.

Thank you for your contribution.

@github-actions github-actions bot added the stale::closed [bot] closed after being marked as stale label Feb 21, 2022
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Feb 27, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity stale::closed [bot] closed after being marked as stale stale [bot] marked as stale due to inactivity
Projects
None yet
Development

No branches or pull requests

3 participants