Skip to content

Not working on Windows: "ImportError: cannot import name 'ON_POSIX'" #6

@mjbright

Description

@mjbright

Running on Windows 7:

  • Python 3.5.1 :: Anaconda 4.0.0 (64-bit)

I installed using

  • pip install xonsh_kernel
    
  • python -m xonsh_kernel.install
    

On starting a notebook from the Jupyter dashboard as "New -> Calysto Xonsh" the kernel dies repeatedly (immediately).

The jupyter console log shows:

[I 19:37:48.022 NotebookApp] Kernel started: 672f7917-b2a4-407a-8e5b-a6e509521df1
Traceback (most recent call last):
File "C:\Progs\Anaconda3\lib\runpy.py", line 170, in run_module_as_main
"main", mod_spec)
File "C:\Progs\Anaconda3\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Progs\Anaconda3\lib\site-packages\xonsh_kernel__main
.py", line 6, in
from .kernel import XonshKernel
File "C:\Progs\Anaconda3\lib\site-packages\xonsh_kernel\kernel.py", line 10, in
from xonsh.tools import redirect_stdout, redirect_stderr, swap, ON_POSIX
ImportError: cannot import name 'ON_POSIX'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions