Build .exe file Mojo
When I build .exe file and try to execute by ./name, there is an error occur " can't locate pythonlib..."
How I can fix it?
Of course there is import of Python and PythonObject in the code Mojo.
1 Reply
To start with, check the MOJO_PYTHON_LIBRARY environment variable if it points at a valid cpython library file: https://docs.modular.com/mojo/manual/basics/index.html#python-integration
Modular Docs - Mojo language basics
A short introduction to the Mojo language basics.