How to make an 'exe' from Python code with Linux only package | pdftotext & Conda example | Poppler

preview_player
Показать описание
How to convert a Python “.py” script to “exe”

Issues when compiling Python code written on Linux PC for Windows:

❌ Code written in Linux using “pdftotext” which only runs on Windows with “Conda” (due to poppler)
❌ Conda wouldn't install on Windows 10
❌ Compile on Windows 10 and “Threat Defender” removes it

Step 1 : Install conda (and make sure you update it!)

- conda update --all
- conda install -c conda-forge poppler

Step 2 : Import packages
Step 3: Compile

Watch video and see how to do it successfully.

Note: Installing WSL will not help this problem, so stick with Conda even if it seems like a lot of work!

Visit redandgreen blog for more Tutorials
=========================================

Subscribe to the YouTube Channel
=================================

Follow on Twitter - to get notified of new videos
=================================================

Buy Dr Pi a coffee (or Tea)

Thumbs up yeah? (cos Algos..)

#compile #conda #python
Рекомендации по теме
Комментарии
Автор

omg thanks, even stack overflow could not help me on this one

noemie.blchrd
Автор

Thank u for this video. I used pip package manager instead of conda and py2exe to make exe and it worked fine. And there is no need to disable antivirus because executable generated using py2exe are not detected as threat.

samiullah
join shbcf.ru