shell_magic exception on OSX with zsh
See original GitHub issueSpotted this while working on maxpoint/spylon-kernel#33. When launching a kernel which loads the shell_magic:
[MetaKernelApp] ERROR | Can't load '/Users/parente/miniconda3/envs/spylon-kernel-dev/lib/python3.6/site-packages/metakernel/magics/shell_magic.py': error: Timeout exceeded.
<pexpect.pty_spawn.spawn object at 0x109706f98>
command: /bin/bash
args: [b'/bin/bash', b'--rcfile', b'/Users/parente/miniconda3/envs/spylon-kernel-dev/lib/python3.6/site-packages/metakernel/bashrc.sh']
buffer (last 100 chars): '\x1b[?1034h(spylon-kernel-dev) '
before (last 100 chars): '\x1b[?1034h(spylon-kernel-dev) '
after: <class 'pexpect.exceptions.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 88201
child_fd: 54
closed: False
timeout: 30
delimiter: <class 'pexpect.exceptions.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
searcher: searcher_re:
0: re.compile("[$#]")
I’ll try to test this in a plain metakernel install. If it’s known that pexpect and metakernel aren’t py36 compatible, then please disregard.
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
ZSH Won't Run an M1 Command Line Tool Built in Xcode
I have a command line tool that zsh refuses to run when built for Apple ... And it's not crashing--there's no exception or...
Read more >in mac always getting zsh: command not found: - Stack Overflow
I am using the z Shell ( zsh ) instead of the default bash, and something wrong happen so that all commands that...
Read more >Moving to zsh, part 8 - Scripting OS X
The argument for bash has been that it has been pre-installed on every Mac OS X since 10.2. The same is true for...
Read more >Terminal commands (which, dirname, curl, and more) are all ...
I've recently-ish updated from an Intel-based Mac to an M1-based Mac ... As in when I run a, for example, curl command I...
Read more >How to Fix Zsh Command Not Found Error on macOS [5 Ways]
In 2019, macOS released Catalina, and from then on, Mac switched from Bash to Zsh as the default login shell. So, some Zsh...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
0.20.2 is on PyPI, conda build in progress.
0.20.2 is also on conda-forge