Skip to content

Instantly share code, notes, and snippets.

@x10an14
Created September 5, 2016 11:08
Show Gist options
  • Save x10an14/74ea6cb9e16e4b9564c55b84ac192507 to your computer and use it in GitHub Desktop.
Save x10an14/74ea6cb9e16e4b9564c55b84ac192507 to your computer and use it in GitHub Desktop.
Still unable to open Coconut interactive console after installing Jupyter into 'machine PATH'.
C:\coconut> pip install jupyter
Collecting jupyter
Could not fetch URL https://pypi.python.org/simple/jupyter/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) - skipping
Could not find a version that satisfies the requirement jupyter (from versions: )
No matching distribution found for jupyter
C:\coconut> pip install jupyter --trusted-host pypi.python.org
Collecting jupyter
Downloading jupyter-1.0.0-py2.py3-none-any.whl
Collecting nbconvert (from jupyter)
Downloading nbconvert-4.2.0-py2.py3-none-any.whl (319kB)
100% |████████████████████████████████| 327kB 930kB/s ████████████████| 327kB 930kB/s �█████| 327kB 930kB/s B 930kB/s
Collecting ipykernel (from jupyter)
Downloading ipykernel-4.5.0-py2.py3-none-any.whl (97kB)
100% |████████████████████████████████| 102kB 2.5MB/s ████████████████| 102kB 2.5MB/s �█████| 102kB 2.5MB/s B 2.5MB/s
Collecting qtconsole (from jupyter)
Downloading qtconsole-4.2.1-py2.py3-none-any.whl (104kB)
100% |████████████████████████████████| 112kB 3.3MB/s ████████████████| 112kB 3.3MB/s �█████| 112kB 3.3MB/s B 3.3MB/s
Collecting notebook (from jupyter)
Downloading notebook-4.2.2-py2.py3-none-any.whl (6.7MB)
100% |████████████████████████████████| 6.7MB 3.9MB/s ████████████████| 6.7MB 3.9MB/s �█████| 6.7MB 3.9MB/s B 3.9MB/s
Collecting jupyter-console (from jupyter)
Downloading jupyter_console-5.0.0-py2.py3-none-any.whl
Collecting ipywidgets (from jupyter)
Downloading ipywidgets-5.2.2-py2.py3-none-any.whl (43kB)
100% |████████████████████████████████| 51kB 5.7MB/s �████████████████| 51kB 5.7MB/s ��█████| 51kB 5.7MB/s B 5.7MB/s
Collecting traitlets (from nbconvert->jupyter)
Downloading traitlets-4.2.2-py2.py3-none-any.whl (68kB)
100% |████████████████████████████████| 71kB 7.2MB/s �████████████████| 71kB 7.2MB/s ��█████| 71kB 7.2MB/s B 7.2MB/s
Collecting nbformat (from nbconvert->jupyter)
Downloading nbformat-4.1.0-py2.py3-none-any.whl (140kB)
100% |████████████████████████████████| 143kB 233kB/s ████████████████| 143kB 233kB/s �█████| 143kB 233kB/s B 233kB/s
Collecting jupyter-core (from nbconvert->jupyter)
Downloading jupyter_core-4.1.1-py2.py3-none-any.whl (76kB)
100% |████████████████████████████████| 81kB 2.0MB/s �████████████████| 81kB 2.0MB/s ��█████| 81kB 2.0MB/s B 2.0MB/s
Collecting entrypoints (from nbconvert->jupyter)
Downloading entrypoints-0.2.2-py2.py3-none-any.whl
Collecting jinja2 (from nbconvert->jupyter)
Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB)
100% |████████████████████████████████| 266kB 2.8MB/s ████████████████| 266kB 2.8MB/s �█████| 266kB 2.8MB/s B 2.8MB/s
Collecting mistune!=0.6 (from nbconvert->jupyter)
Downloading mistune-0.7.3-py2.py3-none-any.whl
Collecting pygments (from nbconvert->jupyter)
Downloading Pygments-2.1.3-py2.py3-none-any.whl (755kB)
100% |████████████████████████████████| 757kB 3.4MB/s ████████████████| 757kB 3.4MB/s �█████| 757kB 3.4MB/s B 3.4MB/s
Collecting ipython>=4.0.0 (from ipykernel->jupyter)
Downloading ipython-5.1.0-py3-none-any.whl (747kB)
100% |████████████████████████████████| 747kB 2.7MB/s ████████████████| 747kB 2.7MB/s �█████| 747kB 2.7MB/s B 2.7MB/s
Collecting jupyter-client (from ipykernel->jupyter)
Downloading jupyter_client-4.4.0-py2.py3-none-any.whl (76kB)
100% |████████████████████████████████| 81kB 4.1MB/s �████████████████| 81kB 4.1MB/s ��█████| 81kB 4.1MB/s B 4.1MB/s
Collecting tornado>=4.0 (from ipykernel->jupyter)
Downloading tornado-4.4.1-cp35-cp35m-win_amd64.whl (404kB)
100% |████████████████████████████████| 409kB 3.4MB/s ████████████████| 409kB 3.4MB/s �█████| 409kB 3.4MB/s B 3.4MB/s
Collecting ipython-genutils (from notebook->jupyter)
Downloading ipython_genutils-0.1.0-py2.py3-none-any.whl
Collecting prompt-toolkit<2.0.0,>=1.0.0 (from jupyter-console->jupyter)
Downloading prompt_toolkit-1.0.7-py3-none-any.whl (237kB)
100% |████████████████████████████████| 245kB 4.3MB/s ████████████████| 245kB 4.3MB/s �█████| 245kB 4.3MB/s B 4.3MB/s
Collecting widgetsnbextension>=1.2.6 (from ipywidgets->jupyter)
Downloading widgetsnbextension-1.2.6-py2.py3-none-any.whl (1.5MB)
100% |████████████████████████████████| 1.5MB 2.3MB/s ████████████████| 1.5MB 2.3MB/s �█████| 1.5MB 2.3MB/s B 2.3MB/s
Collecting decorator (from traitlets->nbconvert->jupyter)
Downloading decorator-4.0.10-py2.py3-none-any.whl
Collecting jsonschema!=2.5.0,>=2.0 (from nbformat->nbconvert->jupyter)
Downloading jsonschema-2.5.1-py2.py3-none-any.whl
Collecting MarkupSafe (from jinja2->nbconvert->jupyter)
Collecting win-unicode-console>=0.5; sys_platform == "win32" (from ipython>=4.0.0->ipykernel->jupyter)
Collecting colorama; sys_platform == "win32" (from ipython>=4.0.0->ipykernel->jupyter)
Downloading colorama-0.3.7-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools>=18.5 in c:\program files\python35\lib\site-packages (from ipython>=4.0.0->ipykernel->jupyter)
Collecting pickleshare (from ipython>=4.0.0->ipykernel->jupyter)
Downloading pickleshare-0.7.4-py2.py3-none-any.whl
Collecting simplegeneric>0.8 (from ipython>=4.0.0->ipykernel->jupyter)
Collecting pyzmq>=13 (from jupyter-client->ipykernel->jupyter)
Downloading pyzmq-15.4.0-cp35-cp35m-win_amd64.whl (893kB)
100% |████████████████████████████████| 901kB 1.7MB/s ████████████████| 901kB 1.7MB/s �█████| 901kB 1.7MB/s B 1.7MB/s
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.0->jupyter-console->jupyter)
Downloading wcwidth-0.1.7-py2.py3-none-any.whl
Collecting six>=1.9.0 (from prompt-toolkit<2.0.0,>=1.0.0->jupyter-console->jupyter)
Downloading six-1.10.0-py2.py3-none-any.whl
Installing collected packages: decorator, ipython-genutils, traitlets, jsonschema, jupyter-core, nbformat, entrypoints, MarkupSafe, jinja2, mistune, pygments, nbconvert, wcwidth, six, prompt-toolkit, win-unicode-console, colorama,
pickleshare, simplegeneric, ipython, pyzmq, jupyter-client, tornado, ipykernel, qtconsole, notebook, jupyter-console, widgetsnbextension, ipywidgets, jupyter
Successfully installed MarkupSafe-0.23 colorama-0.3.7 decorator-4.0.10 entrypoints-0.2.2 ipykernel-4.5.0 ipython-5.1.0 ipython-genutils-0.1.0 ipywidgets-5.2.2 jinja2-2.8 jsonschema-2.5.1 jupyter-1.0.0 jupyter-client-4.4.0 jupyter-
console-5.0.0 jupyter-core-4.1.1 mistune-0.7.3 nbconvert-4.2.0 nbformat-4.1.0 notebook-4.2.2 pickleshare-0.7.4 prompt-toolkit-1.0.7 pygments-2.1.3 pyzmq-15.4.0 qtconsole-4.2.1 simplegeneric-0.8.1 six-1.10.0 tornado-4.4.1 traitlets
-4.2.2 wcwidth-0.1.7 widgetsnbextension-1.2.6 win-unicode-console-0.5
C:\coconut> .\venv\Scripts\coconut --verbose --ipython console
> jupyter --version
4.1.1
> jupyter kernelspec install c:\coconut\venv\lib\site-packages\coconut\icoconut\coconut --replace
[InstallKernelSpec] Installed kernelspec coconut in C:\ProgramData\jupyter\kernels\coconut
> jupyter kernelspec install c:\coconut\venv\lib\site-packages\coconut\icoconut\coconut2 --replace
[InstallKernelSpec] Installed kernelspec coconut2 in C:\ProgramData\jupyter\kernels\coconut2
> jupyter kernelspec install c:\coconut\venv\lib\site-packages\coconut\icoconut\coconut3 --replace
[InstallKernelSpec] Installed kernelspec coconut3 in C:\ProgramData\jupyter\kernels\coconut3
> python3 -m coconut --version
Traceback (most recent call last):
File "C:\Program Files\Python35\Lib\runpy.py", line 184, in _run_module_as_main
"__main__", mod_spec)
File "C:\Program Files\Python35\Lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\coconut\venv\Scripts\coconut.exe\__main__.py", line 9, in <module>
File "c:\coconut\venv\lib\site-packages\coconut\__main__.py", line 32, in main
cli().start()
File "c:\coconut\venv\lib\site-packages\coconut\command.py", line 286, in start
self.cmd(self.commandline.parse_args())
File "c:\coconut\venv\lib\site-packages\coconut\command.py", line 367, in cmd
self.start_jupyter(args.jupyter)
File "c:\coconut\venv\lib\site-packages\coconut\command.py", line 625, in start_jupyter
install_func(check_args)
File "c:\coconut\venv\lib\site-packages\coconut\command.py", line 594, in <lambda>
install_func = lambda args: subprocess.check_call(args)
File "C:\Program Files\Python35\Lib\subprocess.py", line 576, in check_call
retcode = call(*popenargs, **kwargs)
File "C:\Program Files\Python35\Lib\subprocess.py", line 557, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Program Files\Python35\Lib\subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "C:\Program Files\Python35\Lib\subprocess.py", line 1224, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
C:\coconut>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment