Try the following:
import micropip await micropip.install( "https://cdn.n7.gg/libcst-1.0.1-cp311-cp311-emscripten_3_1_32_wasm32.whl" ) import libcst code = "lambda x: print(x) + 37" exp = libcst.parse_expression(code) print(exp)