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
Смотрите видео How to make an "exe" from Python code with Linux only package | pdftotext & Conda example | Poppler онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Python 360 19 Январь 2021. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 131 раз и оно понравилось 5 посетителям.