Answer the question
In order to leave comments, you need to log in
How to change workspace in jupyter lab?
There is no space in the directory in which everything is created. How to change to another?
jupyter-lab --port 8352 --ip 0.0.0.0 --notebook-dir=.
Traceback (most recent call last):
File "/var/anaconda/envs/env_vosk/bin/jupyter-lab", line 10, in <module>
sys.exit(main())
File "/var/anaconda/envs/env_vosk/lib/python3.7/site-packages/jupyter_server/extension/application.py", line 510, in launch_instance
serverapp = cls.initialize_server(argv=args)
File "/var/anaconda/envs/env_vosk/lib/python3.7/site-packages/jupyter_server/extension/application.py", line 482, in initialize_server
find_extensions=cls.load_other_extensions,
File "/var/anaconda/envs/env_vosk/lib/python3.7/site-packages/traitlets/config/application.py", line 87, in inner
return method(app, *args, **kwargs)
File "/var/anaconda/envs/env_vosk/lib/python3.7/site-packages/jupyter_server/serverapp.py", line 1804, in initialize
super(ServerApp, self).initialize(argv=argv)
File "/var/anaconda/envs/env_vosk/lib/python3.7/site-packages/traitlets/config/application.py", line 87, in inner
return method(app, *args, **kwargs)
File "/var/anaconda/envs/env_vosk/lib/python3.7/site-packages/jupyter_core/application.py", line 229, in initialize
self.migrate_config()
File "/var/anaconda/envs/env_vosk/lib/python3.7/site-packages/jupyter_core/application.py", line 155, in migrate_config
migrate()
File "/var/anaconda/envs/env_vosk/lib/python3.7/site-packages/jupyter_core/migrate.py", line 244, in migrate
ensure_dir_exists(env['jupyter_config'])
File "/var/anaconda/envs/env_vosk/lib/python3.7/site-packages/jupyter_core/utils/__init__.py", line 11, in ensure_dir_exists
os.makedirs(path, mode=mode)
File "/var/anaconda/envs/env_vosk/lib/python3.7/os.py", line 223, in makedirs
mkdir(name, mode)
OSError: [Errno 28] No space left on device:
Answer the question
In order to leave comments, you need to log in
You can change the configuration from the conda command line:
run the anaconda command line.
run jupyter notebook --generate-config in it.
The .jupyter/ directory should then be created in your home directory, the jupyter_notebook_config.py file should be inside. In it, uncomment and edit the c.NotebookApp.notebook_dir field.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question