I'm trying to launch Application on Anaconda, but I have this application launch error:
Traceback (most recent call last):
File "C:\Users\emanu\anaconda3\Scripts\jupyter-notebook-script.py", line 6, in
from notebook.notebookapp import main
File "C:\Users\emanu\anaconda3\lib\site-packages\notebook\__init__.py", line 27, in
from .nbextensions import install_nbextension
File "C:\Users\emanu\anaconda3\lib\site-packages\notebook\nbextensions.py", line 26, in
from .config_manager import BaseJSONConfigManager
File "C:\Users\emanu\anaconda3\lib\site-packages\notebook\config_manager.py", line 14, in
from traitlets.config import LoggingConfigurable
File "C:\Users\emanu\AppData\Roaming\Python\Python38\site-packages\traitlets\__init__.py", line 1, in
from .traitlets import *
File "C:\Users\emanu\AppData\Roaming\Python\Python38\site-packages\traitlets\traitlets.py", line 61, in
from .utils.sentinel import Sentinel
ModuleNotFoundError: No module named 'traitlets.utils.sentinel'
I already update the PIP, but nothing works. How to solve?
Related
I've added "C:\Users\sj\anaconda3\Scripts" to System environment variable list, but I got the following result.
C:\Users\sj>jupyter-lab
Traceback (most recent call last):
File "C:\Users\sj\anaconda3\lib\site-packages\jupyter_server\services\sessions\sessionmanager.py", line 8, in <module>
import sqlite3
File "C:\Users\sj\anaconda3\lib\sqlite3\__init__.py", line 57, in <module>
from sqlite3.dbapi2 import *
File "C:\Users\sj\anaconda3\lib\sqlite3\dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: DLL load failed while importing _sqlite3: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\sj\anaconda3\Scripts\jupyter-lab-script.py", line 5, in <module>
from jupyterlab.labapp import main
File "C:\Users\sj\anaconda3\lib\site-packages\jupyterlab\labapp.py", line 13, in <module>
from jupyter_server.serverapp import flags
File "C:\Users\sj\anaconda3\lib\site-packages\jupyter_server\serverapp.py", line 83, in <module>
from jupyter_server.services.sessions.sessionmanager import SessionManager
File "C:\Users\sj\anaconda3\lib\site-packages\jupyter_server\services\sessions\sessionmanager.py", line 11, in <module>
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
Could anyone help me to fix this and make "jupyter-lab" and "jupyter-notebook" global?
When I execute jupyter notebook command I get
jupyter notebook
Traceback (most recent call last):
File "/usr/local/bin/jupyter-notebook", line 6, in <module>
from notebook.notebookapp import main
File "/usr/local/lib/python3.6/dist-packages/notebook/notebookapp.py", line 63, in <module>
from tornado import web
File "/usr/local/lib/python3.6/dist-packages/tornado/web.py", line 95, in <module>
from tornado.routing import (
ImportError: cannot import name '_RuleList'
(my_project_env)
I getting this error while running this project https://github.com/victordibia/skyfall
Traceback (most recent call last): File "app.py", line 19, in
from utils import web_socket_client File "C:\Users\anurag\Downloads\skyfall-master\utils\web_socket_client.py",
line 8, in
from websocket import WebSocketException, WebSocketConnectionClosedException ImportError: cannot import name
'WebSocketException'
While attempting to run jupyter notebook in python3.6.3 on my gnome terminal I get the following output, running on UBUNTU:
Traceback (most recent call last):
File "/home/willem/.local/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py", line 10, in <module>
import sqlite3
File "/usr/local/lib/python3.6/sqlite3/__init__.py", line 23, in <module>
from sqlite3.dbapi2 import *
File "/usr/local/lib/python3.6/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ModuleNotFoundError: No module named '_sqlite3'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/willem/.local/bin/jupyter-notebook", line 7, in <module>
from notebook.notebookapp import main
File "/home/willem/.local/lib/python3.6/site-packages/notebook/notebookapp.py", line 81, in <module>
from .services.sessions.sessionmanager import SessionManager
File "/home/willem/.local/lib/python3.6/site-packages/notebook/services/sessions/sessionmanager.py", line 13, in <module>
from pysqlite2 import dbapi2 as sqlite3
ModuleNotFoundError: No module named 'pysqlite2'
However, the module sqlite3 is present in my python3.6.3 directory. Which makes the problem rather vague.
Any suggestions for this problem to be fixed will be greatly appreciated
So when I try to launch tensorboard I got this error :
Traceback (most recent call last):
File "/usr/local/bin/tensorboard", line 7, in <module>
from tensorflow.tensorboard.tensorboard import main
File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/tensorboard.py", line 34, in <module>
from tensorflow.tensorboard.backend import server
File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/backend/server.py", line 38, in <module>
from tensorflow.tensorboard.plugins.projector import plugin as projector_plugin
File "/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/plugins/projector/plugin.py", line 27, in <module>
from tensorflow.contrib.tensorboard.plugins.projector import PROJECTOR_FILENAME
ImportError: cannot import name PROJECTOR_FILENAME
What's wrong ?
I've got this error when I've used following command to launch TB:
python -m tensorflow.tensorboard
When I've used another one it went ok:
tensorboard --logdir=path/to/log-directory