Error when compiling py script with Rust binds using 'auto-py-to-exe'. #1063
Replies: 8 comments 2 replies
-
Sorry, what is |
Beta Was this translation helpful? Give feedback.
-
A GUI interface to compile a python script / directory into an executable. |
Beta Was this translation helpful? Give feedback.
-
Do you have any detailed logs? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
That output is not helpful, what I want is the log of the build process, like this one from its readme: https://nitratine.net/posts/auto-py-to-exe/converting.png |
Beta Was this translation helpful? Give feedback.
-
Very long output: 23226 INFO: PyInstaller: 5.3 Moving project to: F:\Projects\Python Projects\Punge Production\output |
Beta Was this translation helpful? Give feedback.
-
To me it looks like it's not building your I've never used |
Beta Was this translation helpful? Give feedback.
-
I've looked into it a bit more, a few developments: It seems to not want me to have my module leave the virtual environment. I would strongly lean towards this being user error. These are the steps im doing for using pyo3: 1). Write py & rust script. The scrips themselves work fine [dependencies] [project] 4). Running 'maturin build' inside of the virtual env inside of the folder that holds cargo.toml What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
-
Bug Description
Error when compiling py script with Rust binds using 'auto-py-to-exe'.
I am likely assuming this is user error, but I have not seen any relevant google results.
Your Python version (
python -V
)3.10.2 (newest)
Your pip version (
pip -V
)21.2.4
What bindings you're using
pyo3
Does
cargo build
work?If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash
/
)?Steps to Reproduce
-The script works perfectly find in the IDE, compiling into an exe has the error.
Beta Was this translation helpful? Give feedback.
All reactions