Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] How is PyInstaller installed in Debian 12?

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
User avatar
Debmann
Posts: 23
Joined: 2023-09-12 21:43
Has thanked: 1 time

[Solved] How is PyInstaller installed in Debian 12?

#1 Post by Debmann »

I created a qt5 program and would like to set it up for installation in linux.
Last edited by Debmann on 2023-11-18 15:22, edited 1 time in total.

peter_irich
Posts: 1406
Joined: 2009-09-10 20:15
Location: Saint-Petersburg, Russian Federation
Been thanked: 11 times

Re: [Python] How is PyInstaller installed in Debian 12?

#2 Post by peter_irich »

Take any deb-package and make own by this example. man dpkg-deb, man dh_builddeb.

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: [Python] How is PyInstaller installed in Debian 12?

#3 Post by Aki »

Hello,
Debmann wrote: 2023-11-11 21:07 I created a qt5 program and would like to set it up for installation in linux.
I'm not a Python expert, but it seems that PyInstaller is not in Debian repositories.

Therefore, you might install PyInstaller in Debian according to its documentation:
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

arzgi
Posts: 1198
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 32 times

Re: [Python] How is PyInstaller installed in Debian 12?

#4 Post by arzgi »

Code: Select all

arto@dell:~$ cat /etc/debian_version 
12.2
arto@dell:~$ apt-file search pyinstaller
mitmproxy: /usr/lib/python3/dist-packages/mitmproxy/utils/pyinstaller/__init__.py
mitmproxy: /usr/lib/python3/dist-packages/mitmproxy/utils/pyinstaller/hook-mitmproxy.addons.onboardingapp.py
mitmproxy: /usr/lib/python3/dist-packages/mitmproxy/utils/pyinstaller/hook-mitmproxy.py
mitmproxy: /usr/lib/python3/dist-packages/mitmproxy/utils/pyinstaller/hook-mitmproxy.tools.web.py
python3-b2sdk: /usr/lib/python3/dist-packages/b2sdk/_pyinstaller/__init__.py
python3-b2sdk: /usr/lib/python3/dist-packages/b2sdk/_pyinstaller/hook-b2sdk.py
python3-eliot: /usr/lib/python3/dist-packages/eliot/tests/test_pyinstaller.py
python3-jpype: /usr/lib/python3/dist-packages/jpype/_pyinstaller/entry_points.py
python3-jpype: /usr/lib/python3/dist-packages/jpype/_pyinstaller/example.py
python3-jpype: /usr/lib/python3/dist-packages/jpype/_pyinstaller/hook-jpype.py
python3-jpype: /usr/lib/python3/dist-packages/jpype/_pyinstaller/test_jpype_pyinstaller.py
python3-lark: /usr/lib/python3/dist-packages/lark/__pyinstaller/__init__.py
python3-lark: /usr/lib/python3/dist-packages/lark/__pyinstaller/hook-lark.py
python3-numpy: /usr/lib/python3/dist-packages/numpy/_pyinstaller/__init__.py
python3-numpy: /usr/lib/python3/dist-packages/numpy/_pyinstaller/hook-numpy.py
python3-numpy: /usr/lib/python3/dist-packages/numpy/_pyinstaller/pyinstaller-smoke.py
python3-numpy: /usr/lib/python3/dist-packages/numpy/_pyinstaller/test_pyinstaller.py
python3-poetry-core: /usr/lib/python3/dist-packages/poetry/core/_vendor/lark/__pyinstaller/__init__.py
python3-poetry-core: /usr/lib/python3/dist-packages/poetry/core/_vendor/lark/__pyinstaller/hook-lark.py
python3-pygame: /usr/lib/python3/dist-packages/pygame/__pyinstaller/__init__.py
python3-pygame: /usr/lib/python3/dist-packages/pygame/__pyinstaller/hook-pygame.py
python3-typeshed: /usr/lib/python3/dist-packages/types_pyinstaller-5.6.dist-info/INSTALLER
python3-typeshed: /usr/lib/python3/dist-packages/types_pyinstaller-5.6.dist-info/METADATA
python3-typeshed: /usr/lib/python3/dist-packages/types_pyinstaller-5.6.dist-info/RECORD
python3-typeshed: /usr/lib/python3/dist-packages/types_pyinstaller-5.6.dist-info/REQUESTED
python3-typeshed: /usr/lib/python3/dist-packages/types_pyinstaller-5.6.dist-info/WHEEL
python3-typeshed: /usr/lib/python3/dist-packages/types_pyinstaller-5.6.dist-info/top_level.txt
python3-usb1: /usr/lib/python3/dist-packages/usb1/__pyinstaller/__init__.py
python3-usb1: /usr/lib/python3/dist-packages/usb1/__pyinstaller/hook-usb1.py
python3-usb1: /usr/lib/python3/dist-packages/usb1/__pyinstaller/test_libusb1_packaging.py
yt-dlp: /usr/lib/python3/dist-packages/yt_dlp/__pyinstaller/__init__.py
yt-dlp: /usr/lib/python3/dist-packages/yt_dlp/__pyinstaller/hook-yt_dlp.py
arto@dell:~$ 

Aki
Global Moderator
Global Moderator
Posts: 2979
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

Re: [Python] How is PyInstaller installed in Debian 12?

#5 Post by Aki »

Aki wrote: 2023-11-12 09:19 I'm not a Python expert, but it seems that PyInstaller is not in Debian repositories.
@arzgi: as a standalone package, I meant.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
Debmann
Posts: 23
Joined: 2023-09-12 21:43
Has thanked: 1 time

Re: [Python] How is PyInstaller installed in Debian 12?

#6 Post by Debmann »

I was able to install pyinstaller by using pipx. :mrgreen:
Now I have to figure out how to use it.
I am using 12.2 version.

Post Reply