Тёмный

Pyinstaller with Virtual Environments (venv) 

CodersLegacy
Подписаться 5 тыс.
Просмотров 11 тыс.
50% 1

In this Python tutorial, we will discuss how to optimize your Pyinstaller EXE's using Virtual Environments. We will be using the "venv" library to create the Virtual environment for Pyinstaller.
Command Prompt (Windows): tutorial\Scripts\activate.bat
Windows PowerShell: tutorial\Scripts\Activate.ps1
Linux (Bash): tutorial\bin\activate
Note: For VS Code users, "tutorial\Scripts\activate.bat" might not work. (Doesn't work for me). So leave out the ".bat" extension and try it again (until the virtual environment name appears in the start).
Website Link:
coderslegacy.com/pyinstaller-...
Related Links:
UPX Tutorial -

Опубликовано:

 

31 дек 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@parassingh1936
@parassingh1936 6 дней назад
I was trying the same thing since last 56 hours, but the problem was versions of libraries Love you
@Daniyolka
@Daniyolka Год назад
Perfect video, thank you so much. I got lots of packages installed so my graduation_project.exe was 144MB, with your venv help I made it to 24 MB. You're awesome!
@coderslegacy5661
@coderslegacy5661 Год назад
Glad to hear that!
@slashot5887
@slashot5887 4 месяца назад
I love you! You saved my life with this video! I hope all your dreams come true and all the women in the world will crave you!!!!!
@evankim2158
@evankim2158 Год назад
Max thumbs up to an excellent video. thanks
@fernandapachla9700
@fernandapachla9700 10 месяцев назад
Thank you, really. You're awesome
@alexandervartolomei385
@alexandervartolomei385 Год назад
So with auto-py-to-exe you can implement venv to your exe too?
@anthonyroseiro
@anthonyroseiro 6 месяцев назад
Very helpfull
@RoderickVellaCesare
@RoderickVellaCesare Год назад
Auto-Py-To-Exe makes your life easier
@WilkenPerez
@WilkenPerez 10 месяцев назад
Yeah, but, it just initialize... didn't work for me... :(
@ramshadabdulraheem2813
@ramshadabdulraheem2813 9 месяцев назад
Thanks bro.. reduced 700 mb to 48 mb
@meteo40
@meteo40 Год назад
like it 😀
@MadhavMishra-is9gb
@MadhavMishra-is9gb 5 месяцев назад
11:48 the title of the video
@wildgoose4179
@wildgoose4179 10 месяцев назад
"venv tutorial" did nothing
@wildgoose4179
@wildgoose4179 10 месяцев назад
This is so annoying. Every video is like this: SyntaxError: invalid syntax >>> -m venv tutorial2 File "", line 1 -m venv tutorial2 ^^^^ SyntaxError: invalid syntax >>>
@coderslegacy5661
@coderslegacy5661 10 месяцев назад
Looks like you are executing these commands in the python interpreter. Turn it off first, then run the following command: python -m venv tutorial
Далее
The Complete Guide to Python Virtual Environments!
15:52
Problems with Pyinstaller & and Common Fixes
23:07
Просмотров 38 тыс.
🤡Украли У ВСЕХ🤪
00:37
Просмотров 193 тыс.
Редакция. News: 128-я неделя
57:38
Просмотров 1,5 млн
I switched back to AMD... and I have no regrets.
24:11
Просмотров 405 тыс.
Pyinstaller vs Nuitka comparison
13:03
Просмотров 5 тыс.
Packaging with PyInstaller
56:26
Просмотров 4,5 тыс.
Become a shell wizard in ~12 mins
12:25
Просмотров 235 тыс.
~/.dotfiles in 100 Seconds
13:54
Просмотров 413 тыс.
I've been using Redis wrong this whole time...
20:53
Просмотров 347 тыс.
🤡Украли У ВСЕХ🤪
00:37
Просмотров 193 тыс.