Hi
I am running Ubuntu 16.04 and I installed python3.6 (which is not
officially supported for that Ubuntu version via
https://askubuntu.com/questions/865554/how-do-i-install-python-3-6-using-apt-get
I also installed
sudo -H python3.6 -m pip install jupyter
sudo -H python3.6 -m pip install pexpect
sudo -H python3.6 -m pip install matlab_kernel
Now however I cannot open even simple org files, I obtain errors I attach
and most of my keybinding and other things do not work.
Any help is strongly appreciated.
Regards
Uwe Brauer
Traceback (most recent call last):
File "/home/oub/.emacs.d/elpa/ob-ipython-20180224.153/client.py", line 1, in
<module>
import jupyter_client as client
File "/usr/local/lib/python3.6/dist-packages/jupyter_client/__init__.py",
line 6, in <module>
from .asynchronous import AsyncKernelClient # noqa
File
"/usr/local/lib/python3.6/dist-packages/jupyter_client/asynchronous/__init__.py",
line 1, in <module>
from .client import AsyncKernelClient # noqa
File
"/usr/local/lib/python3.6/dist-packages/jupyter_client/asynchronous/client.py",
line 6, in <module>
from jupyter_client.channels import HBChannel
File "/usr/local/lib/python3.6/dist-packages/jupyter_client/channels.py",
line 15, in <module>
from .session import Session
File "/usr/local/lib/python3.6/dist-packages/jupyter_client/session.py", line
52, in <module>
from jupyter_client.jsonutil import extract_dates
File "/usr/local/lib/python3.6/dist-packages/jupyter_client/jsonutil.py",
line 15, in <module>
from dateutil.parser import parse as _dateutil_parse # type: ignore
File "/usr/lib/python3/dist-packages/dateutil/parser.py", line 25, in <module>
from six import text_type, binary_type, integer_types
ModuleNotFoundError: No module named 'six'
Debugger entered--Lisp error: (json-readtable-error 84)
signal(json-readtable-error (84))
json-read()
json-read-from-string("Traceback (most recent call last):\n File
\"/usr/local/bin/jupyter-kernelspec\", line 7, in <module>\n from
jupyter_client.kernelspecapp import KernelSpecApp\n File
\"/usr/local/lib/python3.6/dist-packages/jupyter_client/__init__.py\", line 6,
in <module>\n from .asynchronous import AsyncKernelClient # noqa\n File
\"/usr/local/lib/python3.6/dist-packages/jupyter_client/asynchronous/__init__.py\",
line 1, in <module>\n from .client import AsyncKernelClient # noqa\n File
\"/usr/local/lib/python3.6/dist-packages/jupyter_client/asynchronous/client.py\",
line 6, in <module>\n from jupyter_client.channels import HBChannel\n File
\"/usr/local/lib/python3.6/dist-packages/jupyter_client/channels.py\", line 15,
in <module>\n from .session import Session\n File
\"/usr/local/lib/python3.6/dist-packages/jupyter_client/session.py\", line 52,
in <module>\n from jupyter_client.jsonutil import extract_dates\n File
\"/usr/local/lib/python3.6/dist-packages/jupyter_client/jsonutil.py\", line 15,
in <module>\n from dateutil.parser import parse as _dateutil_parse # type:
ignore\n File \"/usr/lib/python3/dist-packages/dateutil/parser.py\", line 25,
in <module>\n from six import text_type, binary_type,
integer_types\nModuleNotFoundError: No module named 'six'\n")
ob-ipython--get-kernels()
ob-ipython-auto-configure-kernels()
run-hooks(change-major-mode-after-body-hook text-mode-hook outline-mode-hook
org-mode-hook)
apply(run-hooks (change-major-mode-after-body-hook text-mode-hook
outline-mode-hook org-mode-hook))
run-mode-hooks(org-mode-hook)
org-mode()
set-auto-mode-0(org-mode nil)
set-auto-mode--apply-alist((("\\.odb\\'" . archive-mode) ("\\.oth\\'" .
archive-mode) ("\\.otf\\'" . archive-mode) ("\\.oti\\'" . archive-mode)
("\\.otc\\'" . archive-mode) ("\\.wiki\\'" . wikipedia-mode) ("\\.text\\'" .
markdown-mode) ("\\.tlc\\'" . tlc-mode) ("\\.m\\'" . matlab-mode) ("\\.org$" .
org-mode) ("\\.odc\\'" . archive-mode) ("\\.odf\\'" . archive-mode)
("\\.odi\\'" . archive-mode) ("\\.otp\\'" . archive-mode) ("\\.odp\\'" .
archive-mode) ("\\.otg\\'" . archive-mode) ("\\.odg\\'" . archive-mode)
("\\.ots\\'" . archive-mode) ("\\.ods\\'" . archive-mode) ("\\.odm\\'" .
archive-mode) ("\\.ott\\'" . archive-mode) ("\\.odt\\'" . archive-mode)
("\\.fqm$" . message-mode) ("\\.alda\\'" . alda-mode) ("\\.[Cc][Ss][Vv]\\'" .
csv-mode) ("\\.d[i]?\\'" . d-mode) ("\\.diffscuss\\'" . diffscuss-mode)
("\\.djvu\\'" . djvu-dummy-mode)
("[\\\\/]pentadactyl\\.\\(inbox\\|mail\\)\\.google\\..*\\.txt..." .
gmail-message-mode)
("[\\\\/]itsalltext[\\\\/]\\(inbox\\|mail\\)\\.google\\..*\\.t..." .
gmail-message-mode)
("[\\\\/]\\(inbox\\|mail\\)-google-com.*\\.\\(ckr\\|html?\\|t..." .
gmail-message-mode) ("hg-histedit-" . hg-histedit-mode) ("\\.hgignore\\'" .
hgignore-mode) ("/Mercurial\\.ini\\'" . hgrc-mode) ("/\\.hg/hgrc\\'" .
hgrc-mode) ("/\\.hgrc\\'" . hgrc-mode) ("\\.lean$" . lean-mode) ("\\.ledger\\'"
. ledger-mode) ("/git-rebase-todo\\'" . git-rebase-mode) ("\\.R$" . R-mode)
("\\.jl\\'" . julia-mode) ("\\.tlc$" . tlc-mode) ("\\.m$" . matlab-mode)
("\\.hva\\'" . latex-mode) ("\\.swift\\'" . swift-mode)
("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" nil epa-file) ("\\.elc\\'" .
elisp-byte-code-mode) ("\\.zst\\'" nil jka-compr) ("\\.dz\\'" nil jka-compr)
("\\.xz\\'" nil jka-compr) ...) nil nil)
set-auto-mode()
normal-mode(t)
after-find-file(nil t)
find-file-noselect-1(#<buffer matlab-python.org>
"~/Mail/Remember/matlab-python.org" nil nil
"~/ALLES/Mail/Remember/matlab-python.org" (14690076 47))
find-file-noselect("/home/oub/Mail/Remember/matlab-python.org" nil nil nil)
#f(compiled-function (filename &optional wildcards) "Edit file
FILENAME.\nSwitch to a buffer visiting file FILENAME,\ncreating one if none
already exists.\nInteractively, the default if you just type RET is the current
directory,\nbut the visited file name is available through the minibuffer
history:\ntype \\[next-history-element] to pull it into the minibuffer.\n\nThe
first time \\[next-history-element] is used after Emacs prompts for\nthe file
name, the result is affected by `file-name-at-point-functions',\nwhich by
default try to guess the file name by looking at point in the\ncurrent buffer.
Customize the value of `file-name-at-point-functions'\nor set it to nil, if you
want only the visited file name and the\ncurrent directory to be available on
first \\[next-history-element]\nrequest.\n\nYou can visit files on remote
machines by specifying something\nlike /ssh:SOME_REMOTE_MACHINE:FILE for the
file name. You can\nalso visit local files as a different user by
specifying\n/sudo::FILE for the file name.\nSee the Info node `(tramp)File name
Syntax' in the Tramp Info\nmanual, for more about this.\n\nInteractively, or if
WILDCARDS is non-nil in a call from Lisp,\nexpand wildcards (if any) and visit
multiple files. You can\nsuppress wildcard expansion by setting
`find-file-wildcards' to nil.\n\nTo visit a file without any kind of conversion
and without\nautomatically choosing a major mode, use \\[find-file-literally]."
(interactive #f(compiled-function () #<bytecode -0xa43fcb9897262f1>))
#<bytecode 0xb6206f70bd6defc>)("/home/oub/Mail/Remember/matlab-python.org" nil)
ad-Advice-find-file(#f(compiled-function (filename &optional wildcards) "Edit
file FILENAME.\nSwitch to a buffer visiting file FILENAME,\ncreating one if
none already exists.\nInteractively, the default if you just type RET is the
current directory,\nbut the visited file name is available through the
minibuffer history:\ntype \\[next-history-element] to pull it into the
minibuffer.\n\nThe first time \\[next-history-element] is used after Emacs
prompts for\nthe file name, the result is affected by
`file-name-at-point-functions',\nwhich by default try to guess the file name by
looking at point in the\ncurrent buffer. Customize the value of
`file-name-at-point-functions'\nor set it to nil, if you want only the visited
file name and the\ncurrent directory to be available on first
\\[next-history-element]\nrequest.\n\nYou can visit files on remote machines by
specifying something\nlike /ssh:SOME_REMOTE_MACHINE:FILE for the file name.
You can\nalso visit local files as a different user by specifying\n/sudo::FILE
for the file name.\nSee the Info node `(tramp)File name Syntax' in the Tramp
Info\nmanual, for more about this.\n\nInteractively, or if WILDCARDS is non-nil
in a call from Lisp,\nexpand wildcards (if any) and visit multiple files. You
can\nsuppress wildcard expansion by setting `find-file-wildcards' to nil.\n\nTo
visit a file without any kind of conversion and without\nautomatically choosing
a major mode, use \\[find-file-literally]." (interactive #f(compiled-function
() #<bytecode -0xa43fcb9897262f1>)) #<bytecode 0xb6206f70bd6defc>)
"/home/oub/Mail/Remember/matlab-python.org")
apply(ad-Advice-find-file #f(compiled-function (filename &optional wildcards)
"Edit file FILENAME.\nSwitch to a buffer visiting file FILENAME,\ncreating one
if none already exists.\nInteractively, the default if you just type RET is the
current directory,\nbut the visited file name is available through the
minibuffer history:\ntype \\[next-history-element] to pull it into the
minibuffer.\n\nThe first time \\[next-history-element] is used after Emacs
prompts for\nthe file name, the result is affected by
`file-name-at-point-functions',\nwhich by default try to guess the file name by
looking at point in the\ncurrent buffer. Customize the value of
`file-name-at-point-functions'\nor set it to nil, if you want only the visited
file name and the\ncurrent directory to be available on first
\\[next-history-element]\nrequest.\n\nYou can visit files on remote machines by
specifying something\nlike /ssh:SOME_REMOTE_MACHINE:FILE for the file name.
You can\nalso visit local files as a different user by specifying\n/sudo::FILE
for the file name.\nSee the Info node `(tramp)File name Syntax' in the Tramp
Info\nmanual, for more about this.\n\nInteractively, or if WILDCARDS is non-nil
in a call from Lisp,\nexpand wildcards (if any) and visit multiple files. You
can\nsuppress wildcard expansion by setting `find-file-wildcards' to nil.\n\nTo
visit a file without any kind of conversion and without\nautomatically choosing
a major mode, use \\[find-file-literally]." (interactive #f(compiled-function
() #<bytecode -0xa43fcb9897262f1>)) #<bytecode 0xb6206f70bd6defc>)
"/home/oub/Mail/Remember/matlab-python.org")
find-file("/home/oub/Mail/Remember/matlab-python.org")
dired--find-file(find-file "/home/oub/Mail/Remember/matlab-python.org")
dired--find-possibly-alternative-file("/home/oub/Mail/Remember/matlab-python.org")
dired-find-file()
funcall-interactively(dired-find-file)
call-interactively(dired-find-file nil nil)
command-execute(dired-find-file)