m-labs / pythonparser

MIT License
71 stars 23 forks source link

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

Open alanjds opened 5 years ago

alanjds commented 5 years ago

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

sbourdeauducq commented 5 years ago

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

stffnm commented 4 years ago

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

This link is broken

sbourdeauducq commented 4 years ago

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

d-m-walker commented 1 year ago

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.