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

Published: 19 January 2021
on channel: Python 360
131
5

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
=========================================
🌏 http://redandgreen.co.uk/about/blog/

Subscribe to the YouTube Channel
=================================
🌏    / drpicode  

Follow on Twitter - to get notified of new videos
=================================================
🌏   / rngweb  

Buy Dr Pi a coffee (or Tea)
☕ https://www.buymeacoffee.com/DrPi

Thumbs up yeah? (cos Algos..)

#compile #conda #python


Watch video How to make an "exe" from Python code with Linux only package | pdftotext & Conda example | Poppler online, duration hours minute second in high quality that is uploaded to the channel Python 360 19 January 2021. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 131 times and liked it 5 visitors.