pythonparser icon indicating copy to clipboard operation
pythonparser copied to clipboard

NotImplementedError: pythonparser.lexer.Lexer cannot lex Python (3, 7)

Open alanjds opened this issue 6 years ago • 4 comments
trafficstars

The file is correctly parsed if the interpreter is 2.7 and the target file is compatible with 3.5+

alanjds avatar Mar 18 '19 04:03 alanjds

You can use this workaround: https://github.com/m-labs/nix-scripts/blob/master/artiq/pkgs/python37hack.patch

sbourdeauducq avatar Mar 18 '19 05:03 sbourdeauducq

You can use this workaround: https://github.com/m-labs/nix-scripts/blob/master/artiq/pkgs/python37hack.patch

This link is broken

stffnm avatar Jun 03 '20 11:06 stffnm

https://git.m-labs.hk/M-Labs/nix-scripts/src/branch/master/artiq-fast/pkgs/python37hack.patch

sbourdeauducq avatar Jun 03 '20 11:06 sbourdeauducq

https://git.m-labs.hk/M-Labs/nix-scripts/src/branch/master/artiq-fast/pkgs/python37hack.patch

Hi there, we've run into the same problem after updating matplotlib on a machine running legacy artiq6 (all via conda). Our other machines are still working fine with pythonparser=1.3.0, but this version doesn't seem to be available any more, and the link to the workaround you've posted now leads to a 404. Would you be able to give any guidance? Thanks in advance.

d-m-walker avatar Jul 26 '23 14:07 d-m-walker