I try to build by manual on README.md, but it failed on build dependency (internal RustPython crates).
Than I run cargo run demo.py I got an error described onward:
...
Compiling rustpython-bytecode v0.1.1 (C:\<hiden>\RustPython\bytecode)
Compiling rustpython-parser v0.1.1 (C:\<hiden>\RustPython\parser)
Compiling rustpython-compiler v0.1.1 (C:\<hiden>\RustPython\compiler)
Compiling rustpython-derive v0.1.1 (C:\<hiden>\RustPython\derive)
error: Python compile error from Lib/python_builtins/_frozen_importlib.py: Got unexpected token '.' at line 1 column 1
--> vm\src\frozen.rs:21:18
|
21 | ext_modules!(dir = "Lib/python_builtins/");
| -------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- in this macro invocation
error: Python compile error from Lib/core_modules/copyreg.py: Got unexpected token '.' at line 1 column 1
--> vm\src\frozen.rs:27:22
|
27 | ext_modules!(dir = "Lib/core_modules/");
| -------------^^^^^^^^^^^^^^^^^^^^^^^^^-- in this macro invocation
error: aborting due to 2 previous errors
I try to build by manual on README.md, but it failed on build dependency (internal RustPython crates).
Than I run
cargo run demo.pyI got an error described onward: