fasm icon indicating copy to clipboard operation
fasm copied to clipboard

Get the antlr / cython binaries building on Windows

Open mithro opened this issue 4 years ago • 1 comments

Currently they fail to build. See the github actions output after #48 is merged.

mithro avatar Feb 16 '21 18:02 mithro

Currently they fail to build. See the github actions output after #48 is merged. The following error occurred after installing the whl file under windows you gave: ` import fasm C:\software\miniconda3\lib\site-packages\fasm\parser_init_.py:22: RuntimeWarning: Unable to import fast Antlr4 parser implementation. ImportError: cannot import name 'antlr_to_tuple' from partially initialized module 'fasm.parser' (most likely due to a circular import) (C:\software\miniconda3\lib\site-packages\fasm\parser_init_.py)

Falling back to the much slower pure Python textX based parser implementation.

Getting the faster antlr parser can normally be done by installing the required dependencies and then reinstalling the fasm package with: pip uninstall pip install -v fasm

warn( ` Use the same command to install this module in windows, the error prompts MD and MT do not match.The module is under debugging for windows? Thanks so much!

the-centry avatar Mar 23 '21 06:03 the-centry