Краткая справка: я устанавливаю pyspark с помощью AWS EC2 Ubuntu на моем компьютере с Windows.Прямо сейчас мы пытаемся открыть ноутбук Jupyter, но он не может установить соединение.
Я новичок в этой области, поэтому дайте мне знать, если другие детали необходимы для решения этого дела
[E 05:55:49.371 NotebookApp] Exception while loading config file /home/ubuntu/.jupyter/jupyter_notebook_config.py
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.6/site-packages/traitlets/config/application.py", line 562, in _load_config_files
config = loader.load_config()
File "/home/ubuntu/.local/lib/python3.6/site-packages/traitlets/config/loader.py", line 457, in load_config
self._read_file_as_dict()
File "/home/ubuntu/.local/lib/python3.6/site-packages/traitlets/config/loader.py", line 489, in _read_file_as_dict
py3compat.execfile(conf_filename, namespace)
File "/home/ubuntu/.local/lib/python3.6/site-packages/ipython_genutils/py3compat.py", line 198, in execfile
exec(compiler(f.read(), fname, 'exec'), glob, loc)
File "/home/ubuntu/.jupyter/jupyter_notebook_config.py", line 678
E492: Not an editor command: wg!:wq!
^
SyntaxError: invalid syntax
[I 05:55:49.382 NotebookApp] Writing notebook server cookie secret to /run/user/1000/jupyter/notebook_cookie_secret
[I 05:55:49.815 NotebookApp] Serving notebooks from local directory: /home/ubuntu
[I 05:55:49.816 NotebookApp] The Jupyter Notebook is running at:
[I 05:55:49.816 NotebookApp] http://localhost:8888/?token=47f04d67c7ad0fb4a744c809cf8ba05bb90891b111abxxxx
[I 05:55:49.816 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 05:55:49.820 NotebookApp] No web browser found: could not locate runnable browser.
[C 05:55:49.820 NotebookApp]