Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPython % magic and ! exclamation mark throws error #87

Closed
yasirroni opened this issue Feb 11, 2021 · 1 comment · Fixed by #117 · May be fixed by #88
Closed

IPython % magic and ! exclamation mark throws error #87

yasirroni opened this issue Feb 11, 2021 · 1 comment · Fixed by #117 · May be fixed by #88

Comments

@yasirroni
Copy link

How to reproduce

With .ipynb file, use percent magic or exclamation mark

Result

parse PATH:1 failed: SyntaxError('invalid syntax', ('<unknown>', 6, 5, '    %cd $PROJECT_FOLDER\n'))
parse PATH:1 failed: SyntaxError('invalid syntax', ('<unknown>', 12, 1, '!pip install pigar\n'))

Expected behaviour

skip those marks

@damnever
Copy link
Owner

damnever commented Nov 7, 2022

Try this:

pip install git+https://github.com/damnever/pigar.git@main --upgrade

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants