Город МОСКОВСКИЙ
00:09:10

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

Аватар
Python: Новая волна кодирования
Просмотры:
54
Дата загрузки:
02.12.2023 11:19
Длительность:
00:09:10
Категория:
Технологии и интернет

Описание

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
=================================
? https://www.youtube.com/c/DrPiCode

Follow on Twitter - to get notified of new videos
=================================================
? https://twitter.com/RngWeb

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

Thumbs up yeah? (cos Algos..)

#compile #conda #python

Рекомендуемые видео