D
D
Dmitry Prilepsky2021-06-13 14:21:18
Python
Dmitry Prilepsky, 2021-06-13 14:21:18

Why does a "shared library" appear instead of an exe file after using pyinstaller?

I need to make from .py .exe. I didn't find any other way than using pyinstaller, but after executing the command

pyinstaller  -i "/home/mitry/PycharmProjects/FileMerger/icon.jpeg" main.py
After that, I get the following 60c5e99187f51563677960.jpeglubuntu says that main is a shared library, and windows does not even understand how to open it. What am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Endora Blackwell, 2021-06-13
@HartX

Pyinstaller is used with some tags. In your case you need:--onefile

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question