Last active
September 7, 2016 21:06
-
-
Save x10an14/e21c871861dd62994734586505d20981 to your computer and use it in GitHub Desktop.
Another Coconut console attempt, but now with polluting global space of machine (no virtualenv involved) on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x10an14@x10Desktop2016:~$ pip3 freeze | |
apturl==0.5.2 | |
beautifulsoup4==4.4.1 | |
blinker==1.3 | |
Brlapi==0.6.4 | |
chardet==2.3.0 | |
checkbox-support==0.22 | |
command-not-found==0.3 | |
cryptography==1.2.3 | |
defer==1.0.6 | |
feedparser==5.1.3 | |
guacamole==0.9.2 | |
html5lib==0.999 | |
httplib2==0.9.1 | |
idna==2.0 | |
Jinja2==2.8 | |
language-selector==0.1 | |
louis==2.6.4 | |
lxml==3.5.0 | |
Mako==1.0.3 | |
MarkupSafe==0.23 | |
oauthlib==1.0.3 | |
onboard==1.2.0 | |
padme==1.1.1 | |
pexpect==4.0.1 | |
Pillow==3.1.2 | |
plainbox==0.25 | |
ptyprocess==0.5 | |
pyasn1==0.1.9 | |
pycups==1.9.73 | |
pycurl==7.43.0 | |
pygobject==3.20.0 | |
PyJWT==1.3.0 | |
pyparsing==2.0.3 | |
python-apt==1.1.0b1 | |
python-debian==0.1.27 | |
python-systemd==231 | |
pyxdg==0.25 | |
reportlab==3.3.0 | |
requests==2.9.1 | |
screen-resolution-extra==0.0.0 | |
sessioninstaller==0.0.0 | |
six==1.10.0 | |
system-service==0.3 | |
ubuntu-drivers-common==0.0.0 | |
ufw==0.35 | |
unattended-upgrades==0.1 | |
unity-scope-calculator==0.1 | |
unity-scope-chromiumbookmarks==0.1 | |
unity-scope-colourlovers==0.1 | |
unity-scope-devhelp==0.1 | |
unity-scope-firefoxbookmarks==0.1 | |
unity-scope-gdrive==0.7 | |
unity-scope-manpages==0.1 | |
unity-scope-openclipart==0.1 | |
unity-scope-texdoc==0.1 | |
unity-scope-tomboy==0.1 | |
unity-scope-virtualbox==0.1 | |
unity-scope-yelp==0.1 | |
unity-scope-zotero==0.1 | |
urllib3==1.13.1 | |
usb-creator==0.3.0 | |
virtualenv==15.0.1 | |
xdiagnose==3.8.4.1 | |
xkit==0.0.0 | |
XlsxWriter==0.7.3 | |
x10an14@x10Desktop2016:~$ pip3 install coconut[jupyter] | |
Collecting coconut[jupyter] | |
Using cached coconut-1.1.1-py2.py3-none-any.whl | |
coconut 1.1.1 does not provide the extra 'jupyter' | |
Collecting pyparsing==2.1.5 (from coconut[jupyter]) | |
Using cached pyparsing-2.1.5-py2.py3-none-any.whl | |
Installing collected packages: pyparsing, coconut | |
Found existing installation: pyparsing 2.0.3 | |
Uninstalling pyparsing-2.0.3: | |
Exception: | |
Traceback (most recent call last): | |
File "/usr/lib/python3.5/shutil.py", line 538, in move | |
os.rename(src, real_dst) | |
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/__pycache__/pyparsing.cpython-35.pyc' -> '/tmp/pip-cjao08kc-uninstall/usr/lib/python3/dist-packages/__pycache__/pyparsing.cpython-35.pyc' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/home/x10an14/.local/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main | |
status = self.run(options, args) | |
File "/home/x10an14/.local/lib/python3.5/site-packages/pip/commands/install.py", line 317, in run | |
prefix=options.prefix_path, | |
File "/home/x10an14/.local/lib/python3.5/site-packages/pip/req/req_set.py", line 736, in install | |
requirement.uninstall(auto_confirm=True) | |
File "/home/x10an14/.local/lib/python3.5/site-packages/pip/req/req_install.py", line 742, in uninstall | |
paths_to_remove.remove(auto_confirm) | |
File "/home/x10an14/.local/lib/python3.5/site-packages/pip/req/req_uninstall.py", line 115, in remove | |
renames(path, new_path) | |
File "/home/x10an14/.local/lib/python3.5/site-packages/pip/utils/__init__.py", line 267, in renames | |
shutil.move(old, new) | |
File "/usr/lib/python3.5/shutil.py", line 553, in move | |
os.unlink(src) | |
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3/dist-packages/__pycache__/pyparsing.cpython-35.pyc' | |
x10an14@x10Desktop2016:~$ sudo pip3 install coconut[jupyter] | |
The directory '/home/x10an14/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
The directory '/home/x10an14/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
Collecting coconut[jupyter] | |
Downloading coconut-1.1.1-py2.py3-none-any.whl (46kB) | |
100% |████████████████████████████████| 51kB 951kB/s | |
coconut 1.1.1 does not provide the extra 'jupyter' | |
Collecting pyparsing==2.1.5 (from coconut[jupyter]) | |
Downloading pyparsing-2.1.5-py2.py3-none-any.whl (42kB) | |
100% |████████████████████████████████| 51kB 12.1MB/s | |
Installing collected packages: pyparsing, coconut | |
Found existing installation: pyparsing 2.0.3 | |
Uninstalling pyparsing-2.0.3: | |
Successfully uninstalled pyparsing-2.0.3 | |
Successfully installed coconut-1.1.1 pyparsing-2.1.5 | |
x10an14@x10Desktop2016:~$ pip3 freeze | grep jupyt | |
x10an14@x10Desktop2016:~$ sudo pip3 install jupyter==4.1.1 | |
The directory '/home/x10an14/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
The directory '/home/x10an14/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
Collecting jupyter==4.1.1 | |
Could not find a version that satisfies the requirement jupyter==4.1.1 (from versions: 1.0.0) | |
No matching distribution found for jupyter==4.1.1 | |
x10an14@x10Desktop2016:~$ sudo pip3 install -U jupyter==4.1.1 | |
The directory '/home/x10an14/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
The directory '/home/x10an14/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
Collecting jupyter==4.1.1 | |
Could not find a version that satisfies the requirement jupyter==4.1.1 (from versions: 1.0.0) | |
No matching distribution found for jupyter==4.1.1 | |
x10an14@x10Desktop2016:~$ sudo pip3 install -U jupyter-console==4.1.1 | |
The directory '/home/x10an14/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
The directory '/home/x10an14/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
Collecting jupyter-console==4.1.1 | |
Downloading jupyter_console-4.1.1-py2.py3-none-any.whl | |
Collecting jupyter-client (from jupyter-console==4.1.1) | |
Downloading jupyter_client-4.4.0-py2.py3-none-any.whl (76kB) | |
100% |████████████████████████████████| 81kB 2.5MB/s | |
Collecting ipython (from jupyter-console==4.1.1) | |
Downloading ipython-5.1.0-py3-none-any.whl (747kB) | |
100% |████████████████████████████████| 747kB 1.7MB/s | |
Collecting ipykernel (from jupyter-console==4.1.1) | |
Downloading ipykernel-4.5.0-py2.py3-none-any.whl (97kB) | |
100% |████████████████████████████████| 102kB 7.7MB/s | |
Collecting traitlets (from jupyter-client->jupyter-console==4.1.1) | |
Downloading traitlets-4.2.2-py2.py3-none-any.whl (68kB) | |
100% |████████████████████████████████| 71kB 8.8MB/s | |
Collecting jupyter-core (from jupyter-client->jupyter-console==4.1.1) | |
Downloading jupyter_core-4.1.1-py2.py3-none-any.whl (76kB) | |
100% |████████████████████████████████| 81kB 8.5MB/s | |
Collecting pyzmq>=13 (from jupyter-client->jupyter-console==4.1.1) | |
Downloading pyzmq-15.4.0-cp35-cp35m-manylinux1_x86_64.whl (2.9MB) | |
100% |████████████████████████████████| 2.9MB 655kB/s | |
Collecting pygments (from ipython->jupyter-console==4.1.1) | |
Downloading Pygments-2.1.3-py2.py3-none-any.whl (755kB) | |
100% |████████████████████████████████| 757kB 2.6MB/s | |
Collecting simplegeneric>0.8 (from ipython->jupyter-console==4.1.1) | |
Collecting pickleshare (from ipython->jupyter-console==4.1.1) | |
Downloading pickleshare-0.7.4-py2.py3-none-any.whl | |
Collecting prompt-toolkit<2.0.0,>=1.0.3 (from ipython->jupyter-console==4.1.1) | |
Downloading prompt_toolkit-1.0.7-py3-none-any.whl (237kB) | |
100% |████████████████████████████████| 245kB 3.7MB/s | |
Collecting pexpect; sys_platform != "win32" (from ipython->jupyter-console==4.1.1) | |
Downloading pexpect-4.2.1-py2.py3-none-any.whl (55kB) | |
100% |████████████████████████████████| 61kB 9.4MB/s | |
Collecting setuptools>=18.5 (from ipython->jupyter-console==4.1.1) | |
Downloading setuptools-26.1.1-py2.py3-none-any.whl (464kB) | |
100% |████████████████████████████████| 471kB 3.1MB/s | |
Collecting decorator (from ipython->jupyter-console==4.1.1) | |
Downloading decorator-4.0.10-py2.py3-none-any.whl | |
Collecting tornado>=4.0 (from ipykernel->jupyter-console==4.1.1) | |
Collecting ipython-genutils (from traitlets->jupyter-client->jupyter-console==4.1.1) | |
Downloading ipython_genutils-0.1.0-py2.py3-none-any.whl | |
Requirement already up-to-date: six>=1.9.0 in /usr/lib/python3/dist-packages (from prompt-toolkit<2.0.0,>=1.0.3->ipython->jupyter-console==4.1.1) | |
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.3->ipython->jupyter-console==4.1.1) | |
Downloading wcwidth-0.1.7-py2.py3-none-any.whl | |
Collecting ptyprocess>=0.5 (from pexpect; sys_platform != "win32"->ipython->jupyter-console==4.1.1) | |
Downloading ptyprocess-0.5.1-py2.py3-none-any.whl | |
Installing collected packages: ipython-genutils, decorator, traitlets, jupyter-core, pyzmq, jupyter-client, pygments, simplegeneric, pickleshare, wcwidth, prompt-toolkit, ptyprocess, pexpect, setuptools, ipython, tornado, ipykernel, jupyter-console | |
Found existing installation: ptyprocess 0.5 | |
DEPRECATION: Uninstalling a distutils installed project (ptyprocess) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project. | |
Uninstalling ptyprocess-0.5: | |
Successfully uninstalled ptyprocess-0.5 | |
Found existing installation: pexpect 4.0.1 | |
DEPRECATION: Uninstalling a distutils installed project (pexpect) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project. | |
Uninstalling pexpect-4.0.1: | |
Successfully uninstalled pexpect-4.0.1 | |
Found existing installation: setuptools 20.7.0 | |
Uninstalling setuptools-20.7.0: | |
Successfully uninstalled setuptools-20.7.0 | |
Successfully installed decorator-4.0.10 ipykernel-4.5.0 ipython-5.1.0 ipython-genutils-0.1.0 jupyter-client-4.4.0 jupyter-console-4.1.1 jupyter-core-4.1.1 pexpect-4.2.1 pickleshare-0.7.4 prompt-toolkit-1.0.7 ptyprocess-0.5.1 pygments-2.1.3 pyzmq-15.4.0 setuptools-26.1.1 simplegeneric-0.8.1 tornado-4.4.1 traitlets-4.2.2 wcwidth-0.1.7 | |
x10an14@x10Desktop2016:~$ coconut --verbose --jupyter console | |
> jupyter --version | |
4.1.1 | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut --replace | |
[Errno 13] Permission denied: '/usr/local/share/jupyter' | |
Perhaps you want to install with `sudo` or `--user`? | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut --replace --user | |
[InstallKernelSpec] Removing existing kernelspec in /home/x10an14/.local/share/jupyter/kernels/coconut | |
[InstallKernelSpec] Installed kernelspec coconut in /home/x10an14/.local/share/jupyter/kernels/coconut | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut2 --replace | |
[Errno 13] Permission denied: '/usr/local/share/jupyter' | |
Perhaps you want to install with `sudo` or `--user`? | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut2 --replace --user | |
[InstallKernelSpec] Removing existing kernelspec in /home/x10an14/.local/share/jupyter/kernels/coconut2 | |
[InstallKernelSpec] Installed kernelspec coconut2 in /home/x10an14/.local/share/jupyter/kernels/coconut2 | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut3 --replace | |
[Errno 13] Permission denied: '/usr/local/share/jupyter' | |
Perhaps you want to install with `sudo` or `--user`? | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut3 --replace --user | |
[InstallKernelSpec] Removing existing kernelspec in /home/x10an14/.local/share/jupyter/kernels/coconut3 | |
[InstallKernelSpec] Installed kernelspec coconut3 in /home/x10an14/.local/share/jupyter/kernels/coconut3 | |
> python3 -m coconut --version | |
Coconut: Version 1.1.1 [Brontosaurus] running on Python 3.5.2 (default, Jul 5 2016, 12:43:10) [GCC 5.4.0 20160609] | |
Coconut 1.1.1 [Brontosaurus] | |
> jupyter console --kernel coconut3 | |
Traceback (most recent call last): | |
File "/usr/local/bin/jupyter-console", line 11, in <module> | |
sys.exit(main()) | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_core/application.py", line 267, in launch_instance | |
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/application.py", line 595, in launch_instance | |
app.initialize(argv) | |
File "<decorator-gen-113>", line 2, in initialize | |
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/application.py", line 74, in catch_config_error | |
return method(app, *args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/app.py", line 138, in initialize | |
self.init_shell() | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/app.py", line 111, in init_shell | |
client=self.kernel_client, | |
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/configurable.py", line 412, in instance | |
inst = cls(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/interactiveshell.py", line 135, in __init__ | |
super(ZMQTerminalInteractiveShell, self).__init__(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/IPython/terminal/interactiveshell.py", line 396, in __init__ | |
super(TerminalInteractiveShell, self).__init__(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/IPython/core/interactiveshell.py", line 495, in __init__ | |
self.init_completer() | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/interactiveshell.py", line 160, in init_completer | |
if self.has_readline: | |
AttributeError: 'ZMQTerminalInteractiveShell' object has no attribute 'has_readline' | |
x10an14@x10Desktop2016:~$ pip --version | |
The program 'pip' is currently not installed. You can install it by typing: | |
sudo apt install python-pip | |
x10an14@x10Desktop2016:~$ pip3 --version | |
pip 8.1.2 from /home/x10an14/.local/lib/python3.5/site-packages (python 3.5) | |
x10an14@x10Desktop2016:~$ pip3 freeze | |
apturl==0.5.2 | |
beautifulsoup4==4.4.1 | |
blinker==1.3 | |
Brlapi==0.6.4 | |
chardet==2.3.0 | |
checkbox-support==0.22 | |
coconut==1.1.1 | |
command-not-found==0.3 | |
cryptography==1.2.3 | |
decorator==4.0.10 | |
defer==1.0.6 | |
feedparser==5.1.3 | |
guacamole==0.9.2 | |
html5lib==0.999 | |
httplib2==0.9.1 | |
idna==2.0 | |
ipykernel==4.5.0 | |
ipython==5.1.0 | |
ipython-genutils==0.1.0 | |
Jinja2==2.8 | |
jupyter-client==4.4.0 | |
jupyter-console==4.1.1 | |
jupyter-core==4.1.1 | |
language-selector==0.1 | |
louis==2.6.4 | |
lxml==3.5.0 | |
Mako==1.0.3 | |
MarkupSafe==0.23 | |
oauthlib==1.0.3 | |
onboard==1.2.0 | |
padme==1.1.1 | |
pexpect==4.2.1 | |
pickleshare==0.7.4 | |
Pillow==3.1.2 | |
plainbox==0.25 | |
prompt-toolkit==1.0.7 | |
ptyprocess==0.5.1 | |
pyasn1==0.1.9 | |
pycups==1.9.73 | |
pycurl==7.43.0 | |
Pygments==2.1.3 | |
pygobject==3.20.0 | |
PyJWT==1.3.0 | |
pyparsing==2.1.5 | |
python-apt==1.1.0b1 | |
python-debian==0.1.27 | |
python-systemd==231 | |
pyxdg==0.25 | |
pyzmq==15.4.0 | |
reportlab==3.3.0 | |
requests==2.9.1 | |
screen-resolution-extra==0.0.0 | |
sessioninstaller==0.0.0 | |
simplegeneric==0.8.1 | |
six==1.10.0 | |
system-service==0.3 | |
tornado==4.4.1 | |
traitlets==4.2.2 | |
ubuntu-drivers-common==0.0.0 | |
ufw==0.35 | |
unattended-upgrades==0.1 | |
unity-scope-calculator==0.1 | |
unity-scope-chromiumbookmarks==0.1 | |
unity-scope-colourlovers==0.1 | |
unity-scope-devhelp==0.1 | |
unity-scope-firefoxbookmarks==0.1 | |
unity-scope-gdrive==0.7 | |
unity-scope-manpages==0.1 | |
unity-scope-openclipart==0.1 | |
unity-scope-texdoc==0.1 | |
unity-scope-tomboy==0.1 | |
unity-scope-virtualbox==0.1 | |
unity-scope-yelp==0.1 | |
unity-scope-zotero==0.1 | |
urllib3==1.13.1 | |
usb-creator==0.3.0 | |
virtualenv==15.0.1 | |
wcwidth==0.1.7 | |
xdiagnose==3.8.4.1 | |
xkit==0.0.0 | |
XlsxWriter==0.7.3 | |
x10an14@x10Desktop2016:~$ which pip3 | |
/usr/bin/pip3 | |
x10an14@x10Desktop2016:~$ sudo coconut --verbose --jupyter console | |
[sudo] password for x10an14: | |
> jupyter --version | |
4.1.1 | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut --replace | |
[InstallKernelSpec] Installed kernelspec coconut in /usr/local/share/jupyter/kernels/coconut | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut2 --replace | |
[InstallKernelSpec] Installed kernelspec coconut2 in /usr/local/share/jupyter/kernels/coconut2 | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut3 --replace | |
[InstallKernelSpec] Installed kernelspec coconut3 in /usr/local/share/jupyter/kernels/coconut3 | |
> python3 -m coconut --version | |
Coconut: Version 1.1.1 [Brontosaurus] running on Python 3.5.2 (default, Jul 5 2016, 12:43:10) [GCC 5.4.0 20160609] | |
Coconut 1.1.1 [Brontosaurus] | |
> jupyter console --kernel coconut3 | |
Traceback (most recent call last): | |
File "/usr/local/bin/jupyter-console", line 11, in <module> | |
sys.exit(main()) | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_core/application.py", line 267, in launch_instance | |
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/application.py", line 595, in launch_instance | |
app.initialize(argv) | |
File "<decorator-gen-113>", line 2, in initialize | |
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/application.py", line 74, in catch_config_error | |
return method(app, *args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/app.py", line 138, in initialize | |
self.init_shell() | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/app.py", line 111, in init_shell | |
client=self.kernel_client, | |
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/configurable.py", line 412, in instance | |
inst = cls(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/interactiveshell.py", line 135, in __init__ | |
super(ZMQTerminalInteractiveShell, self).__init__(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/IPython/terminal/interactiveshell.py", line 396, in __init__ | |
super(TerminalInteractiveShell, self).__init__(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/IPython/core/interactiveshell.py", line 495, in __init__ | |
self.init_completer() | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/interactiveshell.py", line 160, in init_completer | |
if self.has_readline: | |
AttributeError: 'ZMQTerminalInteractiveShell' object has no attribute 'has_readline' | |
x10an14@x10Desktop2016:~$ sudo pip3 install coconut jupyter | |
[sudo] password for x10an14: | |
The directory '/home/x10an14/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
The directory '/home/x10an14/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
Requirement already satisfied (use --upgrade to upgrade): coconut in /usr/local/lib/python3.5/dist-packages | |
Collecting jupyter | |
Downloading jupyter-1.0.0-py2.py3-none-any.whl | |
Requirement already satisfied (use --upgrade to upgrade): pyparsing==2.1.5 in /usr/local/lib/python3.5/dist-packages (from coconut) | |
Collecting nbconvert (from jupyter) | |
Downloading nbconvert-4.2.0-py2.py3-none-any.whl (319kB) | |
100% |████████████████████████████████| 327kB 3.6MB/s | |
Collecting ipywidgets (from jupyter) | |
Downloading ipywidgets-5.2.2-py2.py3-none-any.whl (43kB) | |
100% |████████████████████████████████| 51kB 10.8MB/s | |
Requirement already satisfied (use --upgrade to upgrade): jupyter-console in /usr/local/lib/python3.5/dist-packages (from jupyter) | |
Collecting notebook (from jupyter) | |
Downloading notebook-4.2.2-py2.py3-none-any.whl (6.7MB) | |
100% |████████████████████████████████| 6.7MB 288kB/s | |
Collecting qtconsole (from jupyter) | |
Downloading qtconsole-4.2.1-py2.py3-none-any.whl (104kB) | |
100% |████████████████████████████████| 112kB 7.0MB/s | |
Requirement already satisfied (use --upgrade to upgrade): ipykernel in /usr/local/lib/python3.5/dist-packages (from jupyter) | |
Collecting mistune!=0.6 (from nbconvert->jupyter) | |
Downloading mistune-0.7.3-py2.py3-none-any.whl | |
Collecting entrypoints (from nbconvert->jupyter) | |
Downloading entrypoints-0.2.2-py2.py3-none-any.whl | |
Requirement already satisfied (use --upgrade to upgrade): jinja2 in /usr/lib/python3/dist-packages (from nbconvert->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): jupyter-core in /usr/local/lib/python3.5/dist-packages (from nbconvert->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): traitlets in /usr/local/lib/python3.5/dist-packages (from nbconvert->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): pygments in /usr/local/lib/python3.5/dist-packages (from nbconvert->jupyter) | |
Collecting nbformat (from nbconvert->jupyter) | |
Downloading nbformat-4.1.0-py2.py3-none-any.whl (140kB) | |
100% |████████████████████████████████| 143kB 5.9MB/s | |
Requirement already satisfied (use --upgrade to upgrade): ipython>=4.0.0 in /usr/local/lib/python3.5/dist-packages (from ipywidgets->jupyter) | |
Collecting widgetsnbextension>=1.2.6 (from ipywidgets->jupyter) | |
Downloading widgetsnbextension-1.2.6-py2.py3-none-any.whl (1.5MB) | |
100% |████████████████████████████████| 1.5MB 1.2MB/s | |
Requirement already satisfied (use --upgrade to upgrade): jupyter-client in /usr/local/lib/python3.5/dist-packages (from jupyter-console->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): tornado>=4 in /usr/local/lib/python3.5/dist-packages (from notebook->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): ipython-genutils in /usr/local/lib/python3.5/dist-packages (from notebook->jupyter) | |
Collecting terminado>=0.3.3; sys_platform != "win32" (from notebook->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): MarkupSafe in /usr/lib/python3/dist-packages (from jinja2->nbconvert->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): decorator in /usr/local/lib/python3.5/dist-packages (from traitlets->nbconvert->jupyter) | |
Collecting jsonschema!=2.5.0,>=2.0 (from nbformat->nbconvert->jupyter) | |
Downloading jsonschema-2.5.1-py2.py3-none-any.whl | |
Requirement already satisfied (use --upgrade to upgrade): pexpect; sys_platform != "win32" in /usr/local/lib/python3.5/dist-packages (from ipython>=4.0.0->ipywidgets->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): setuptools>=18.5 in /usr/local/lib/python3.5/dist-packages (from ipython>=4.0.0->ipywidgets->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): simplegeneric>0.8 in /usr/local/lib/python3.5/dist-packages (from ipython>=4.0.0->ipywidgets->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): pickleshare in /usr/local/lib/python3.5/dist-packages (from ipython>=4.0.0->ipywidgets->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): prompt-toolkit<2.0.0,>=1.0.3 in /usr/local/lib/python3.5/dist-packages (from ipython>=4.0.0->ipywidgets->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): pyzmq>=13 in /usr/local/lib/python3.5/dist-packages (from jupyter-client->jupyter-console->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): ptyprocess in /usr/local/lib/python3.5/dist-packages (from terminado>=0.3.3; sys_platform != "win32"->notebook->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): wcwidth in /usr/local/lib/python3.5/dist-packages (from prompt-toolkit<2.0.0,>=1.0.3->ipython>=4.0.0->ipywidgets->jupyter) | |
Requirement already satisfied (use --upgrade to upgrade): six>=1.9.0 in /usr/lib/python3/dist-packages (from prompt-toolkit<2.0.0,>=1.0.3->ipython>=4.0.0->ipywidgets->jupyter) | |
Installing collected packages: mistune, entrypoints, jsonschema, nbformat, nbconvert, terminado, notebook, widgetsnbextension, ipywidgets, qtconsole, jupyter | |
Successfully installed entrypoints-0.2.2 ipywidgets-5.2.2 jsonschema-2.5.1 jupyter-1.0.0 mistune-0.7.3 nbconvert-4.2.0 nbformat-4.1.0 notebook-4.2.2 qtconsole-4.2.1 terminado-0.6 widgetsnbextension-1.2.6 | |
x10an14@x10Desktop2016:~$ sudo pip3 install -U jupyter-console==4.1.1 | |
The directory '/home/x10an14/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
The directory '/home/x10an14/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. | |
Requirement already up-to-date: jupyter-console==4.1.1 in /usr/local/lib/python3.5/dist-packages | |
Requirement already up-to-date: jupyter-client in /usr/local/lib/python3.5/dist-packages (from jupyter-console==4.1.1) | |
Requirement already up-to-date: ipython in /usr/local/lib/python3.5/dist-packages (from jupyter-console==4.1.1) | |
Requirement already up-to-date: ipykernel in /usr/local/lib/python3.5/dist-packages (from jupyter-console==4.1.1) | |
Requirement already up-to-date: traitlets in /usr/local/lib/python3.5/dist-packages (from jupyter-client->jupyter-console==4.1.1) | |
Requirement already up-to-date: jupyter-core in /usr/local/lib/python3.5/dist-packages (from jupyter-client->jupyter-console==4.1.1) | |
Requirement already up-to-date: pyzmq>=13 in /usr/local/lib/python3.5/dist-packages (from jupyter-client->jupyter-console==4.1.1) | |
Requirement already up-to-date: prompt-toolkit<2.0.0,>=1.0.3 in /usr/local/lib/python3.5/dist-packages (from ipython->jupyter-console==4.1.1) | |
Requirement already up-to-date: pygments in /usr/local/lib/python3.5/dist-packages (from ipython->jupyter-console==4.1.1) | |
Requirement already up-to-date: setuptools>=18.5 in /usr/local/lib/python3.5/dist-packages (from ipython->jupyter-console==4.1.1) | |
Requirement already up-to-date: pexpect; sys_platform != "win32" in /usr/local/lib/python3.5/dist-packages (from ipython->jupyter-console==4.1.1) | |
Requirement already up-to-date: decorator in /usr/local/lib/python3.5/dist-packages (from ipython->jupyter-console==4.1.1) | |
Requirement already up-to-date: simplegeneric>0.8 in /usr/local/lib/python3.5/dist-packages (from ipython->jupyter-console==4.1.1) | |
Requirement already up-to-date: pickleshare in /usr/local/lib/python3.5/dist-packages (from ipython->jupyter-console==4.1.1) | |
Requirement already up-to-date: tornado>=4.0 in /usr/local/lib/python3.5/dist-packages (from ipykernel->jupyter-console==4.1.1) | |
Requirement already up-to-date: ipython-genutils in /usr/local/lib/python3.5/dist-packages (from traitlets->jupyter-client->jupyter-console==4.1.1) | |
Requirement already up-to-date: wcwidth in /usr/local/lib/python3.5/dist-packages (from prompt-toolkit<2.0.0,>=1.0.3->ipython->jupyter-console==4.1.1) | |
Requirement already up-to-date: six>=1.9.0 in /usr/lib/python3/dist-packages (from prompt-toolkit<2.0.0,>=1.0.3->ipython->jupyter-console==4.1.1) | |
Requirement already up-to-date: ptyprocess>=0.5 in /usr/local/lib/python3.5/dist-packages (from pexpect; sys_platform != "win32"->ipython->jupyter-console==4.1.1) | |
x10an14@x10Desktop2016:~$ coconut --verbose --jupyter console | |
> jupyter --version | |
4.1.1 | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut --replace | |
[InstallKernelSpec] Removing existing kernelspec in /usr/local/share/jupyter/kernels/coconut | |
[Errno 13] Permission denied: 'kernel.json' | |
Perhaps you want to install with `sudo` or `--user`? | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut --replace --user | |
[InstallKernelSpec] Removing existing kernelspec in /home/x10an14/.local/share/jupyter/kernels/coconut | |
[InstallKernelSpec] Installed kernelspec coconut in /home/x10an14/.local/share/jupyter/kernels/coconut | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut2 --replace | |
[InstallKernelSpec] Removing existing kernelspec in /usr/local/share/jupyter/kernels/coconut2 | |
[Errno 13] Permission denied: 'kernel.json' | |
Perhaps you want to install with `sudo` or `--user`? | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut2 --replace --user | |
[InstallKernelSpec] Removing existing kernelspec in /home/x10an14/.local/share/jupyter/kernels/coconut2 | |
[InstallKernelSpec] Installed kernelspec coconut2 in /home/x10an14/.local/share/jupyter/kernels/coconut2 | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut3 --replace | |
[InstallKernelSpec] Removing existing kernelspec in /usr/local/share/jupyter/kernels/coconut3 | |
[Errno 13] Permission denied: 'kernel.json' | |
Perhaps you want to install with `sudo` or `--user`? | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut3 --replace --user | |
[InstallKernelSpec] Removing existing kernelspec in /home/x10an14/.local/share/jupyter/kernels/coconut3 | |
[InstallKernelSpec] Installed kernelspec coconut3 in /home/x10an14/.local/share/jupyter/kernels/coconut3 | |
> python3 -m coconut --version | |
Coconut: Version 1.1.1 [Brontosaurus] running on Python 3.5.2 (default, Jul 5 2016, 12:43:10) [GCC 5.4.0 20160609] | |
Coconut 1.1.1 [Brontosaurus] | |
> jupyter console --kernel coconut3 | |
Traceback (most recent call last): | |
File "/usr/local/bin/jupyter-console", line 11, in <module> | |
sys.exit(main()) | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_core/application.py", line 267, in launch_instance | |
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/application.py", line 595, in launch_instance | |
app.initialize(argv) | |
File "<decorator-gen-113>", line 2, in initialize | |
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/application.py", line 74, in catch_config_error | |
return method(app, *args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/app.py", line 138, in initialize | |
self.init_shell() | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/app.py", line 111, in init_shell | |
client=self.kernel_client, | |
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/configurable.py", line 412, in instance | |
inst = cls(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/interactiveshell.py", line 135, in __init__ | |
super(ZMQTerminalInteractiveShell, self).__init__(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/IPython/terminal/interactiveshell.py", line 396, in __init__ | |
super(TerminalInteractiveShell, self).__init__(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/IPython/core/interactiveshell.py", line 495, in __init__ | |
self.init_completer() | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/interactiveshell.py", line 160, in init_completer | |
if self.has_readline: | |
AttributeError: 'ZMQTerminalInteractiveShell' object has no attribute 'has_readline' | |
x10an14@x10Desktop2016:~$ sudo coconut --verbose --jupyter console | |
> jupyter --version | |
4.1.1 | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut --replace | |
[InstallKernelSpec] Removing existing kernelspec in /usr/local/share/jupyter/kernels/coconut | |
[InstallKernelSpec] Installed kernelspec coconut in /usr/local/share/jupyter/kernels/coconut | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut2 --replace | |
[InstallKernelSpec] Removing existing kernelspec in /usr/local/share/jupyter/kernels/coconut2 | |
[InstallKernelSpec] Installed kernelspec coconut2 in /usr/local/share/jupyter/kernels/coconut2 | |
> jupyter kernelspec install /usr/local/lib/python3.5/dist-packages/coconut/icoconut/coconut3 --replace | |
[InstallKernelSpec] Removing existing kernelspec in /usr/local/share/jupyter/kernels/coconut3 | |
[InstallKernelSpec] Installed kernelspec coconut3 in /usr/local/share/jupyter/kernels/coconut3 | |
> python3 -m coconut --version | |
Coconut: Version 1.1.1 [Brontosaurus] running on Python 3.5.2 (default, Jul 5 2016, 12:43:10) [GCC 5.4.0 20160609] | |
Coconut 1.1.1 [Brontosaurus] | |
> jupyter console --kernel coconut3 | |
Traceback (most recent call last): | |
File "/usr/local/bin/jupyter-console", line 11, in <module> | |
sys.exit(main()) | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_core/application.py", line 267, in launch_instance | |
return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/application.py", line 595, in launch_instance | |
app.initialize(argv) | |
File "<decorator-gen-113>", line 2, in initialize | |
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/application.py", line 74, in catch_config_error | |
return method(app, *args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/app.py", line 138, in initialize | |
self.init_shell() | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/app.py", line 111, in init_shell | |
client=self.kernel_client, | |
File "/usr/local/lib/python3.5/dist-packages/traitlets/config/configurable.py", line 412, in instance | |
inst = cls(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/interactiveshell.py", line 135, in __init__ | |
super(ZMQTerminalInteractiveShell, self).__init__(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/IPython/terminal/interactiveshell.py", line 396, in __init__ | |
super(TerminalInteractiveShell, self).__init__(*args, **kwargs) | |
File "/usr/local/lib/python3.5/dist-packages/IPython/core/interactiveshell.py", line 495, in __init__ | |
self.init_completer() | |
File "/usr/local/lib/python3.5/dist-packages/jupyter_console/interactiveshell.py", line 160, in init_completer | |
if self.has_readline: | |
AttributeError: 'ZMQTerminalInteractiveShell' object has no attribute 'has_readline' | |
x10an14@x10Desktop2016:~$ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment