I have installed Anconda promt in my D drive and when i try opening the jupyter notebook its not able to open. I think it is fetching from C drive. And it is throwing me this error:
(base) C:\Users\YEV>jupyter notebook --notebook-dir=D:\DataScience\Anaconda
Traceback (most recent call last):
File "D:\DataScience\Anaconda\Scripts\jupyter-notebook-script.py", line 6, in <module>
from notebook.notebookapp import main
File "C:\Users\YEV\AppData\Roaming\Python\Python37\site-packages\notebook\notebookapp.py", line 47, in <module>
from zmq.eventloop import ioloop
File "C:\Users\YEV\AppData\Roaming\Python\Python37\site-packages\zmq\__init__.py", line 47, in <module>
from zmq import backend
File "C:\Users\YEV\AppData\Roaming\Python\Python37\site-packages\zmq\backend\__init__.py", line 40, in <module>
reraise(*exc_info)
File "C:\Users\YEV\AppData\Roaming\Python\Python37\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
raise value
File "C:\Users\YEV\AppData\Roaming\Python\Python37\site-packages\zmq\backend\__init__.py", line 27, in <module>
_ns = select_backend(first)
File "C:\Users\YEV\AppData\Roaming\Python\Python37\site-packages\zmq\backend\select.py", line 28, in select_backend
mod = __import__(name, fromlist=public_api)
File "C:\Users\YEV\AppData\Roaming\Python\Python37\site-packages\zmq\backend\cython\__init__.py", line 6, in <module>
from . import (constants, error, message, context,
ImportError: cannot import name 'constants' from 'zmq.backend.cython' (C:\Users\YEV\AppData\Roaming\Python\Python37\site-packages\zmq\backend\cython\__init__.py)
When I track back and check, some files are been stored in my C drive and some in D drive. So I deleted all the files in C drive
base) C:\Users\YEV>jupyter --paths
config:
C:\Users\YEV\.jupyter
D:\DataScience\Anaconda\etc\jupyter
C:\ProgramData\jupyter
data:
C:\Users\YEV\AppData\Roaming\jupyter
D:\DataScience\Anaconda\share\jupyter
C:\ProgramData\jupyter
runtime:
C:\Users\YEV\AppData\Roaming\jupyter\runtime