Problem with collecting the script that is in Python into a build (.exe)
Hello. This task is for someone who has gathered many Python projects into .EXE and has significant experience in this area. I have attached screenshots. I have the source code with various scripts. There is also a builder that compiles them into one builder (.exe). We added the library selenium-wire==5.1.0 to the general scripts, and errors and warnings occur during the build process. An interesting fact! The project is large, built with over 50 different libraries, and there were no such conflicts. I also note that there is regular Selenium, which was built without issues, as well as stealth, which is like a binary. In addition to the dependencies listed in the requirements.txt file for its build, I added some info with hooks, as they call it, in myapp.spec, where I wrote its paths where the library is located, and so on. And this was also built without conflicts. But this selenium-wire seems to be very special. The developer tried to remove the conflicting libraries, but that’s pointless because they are needed! When we simply updated their version, the console where the build is compiled kept cycling us, telling us to remove this, then add that, and so on, like some kind of loop. In short! My thought is that something like this: selenium-wire should not be built as a build but somehow inserted into .exe. Or it should be built correctly. Yes, in the console, there is a prompt to press enter to ignore the conflict, and everything should compile, and essentially everything should work. Because! I don’t understand at all, in the editor where the project runs, there are no conflicts. But here there are some conflicts. Unfortunately, just writing something in my 2 files that are responsible for the build and sending it back to me is unlikely to help me. Therefore, you need to connect with me, as various developers often do, and take a look at this problem. Because I definitely will not send code with various libraries and my files that are over 2 GB. That’s nonsense! Give me work here, not just writing code, but thinking and correctly specifying the conditions so that the build compiles.
Words from the specialist who created a new function for me and added the selenium wire library.
Ensure the correct operation of the Python application using selenium-wire==5.1.0, eliminate all dependency conflicts that hinder compilation into .exe, despite the fact that the script runs correctly.
The library used:
selenium-wire==5.1.0
Also used:
httpcore==0.17.3
httpx==0.24.1
h2>=4.0
googletrans==3.1.0a0
At the script launch stage, everything works, but during the .exe build (via pyinstaller), dependency errors occur due to:
conflicts between httpx and httpcore
conflicts between versions h2 — 3.* and 4.*
googletrans, which has a faulty dependency on the outdated httpx==0.13.3 in the PyPI version
selenium-wire==5.1.0 requires:
h2 >= 4.0
And httpx==0.13.3 (faulty dependency for googletrans) requires:
httpcore==0.9.*
httpcore==0.9.* requires:
h2==3.*
Conflict: cannot use h2==4.* and h2==3.* simultaneously
Applications 9
-
292 1 1 Hello!
I have extensive experience working with Python, PyInstaller, and building projects into .exe. In your task regarding conflicts with the libraries selenium-wire, httpx, httpcore, and h2, I see the root of the problem that I have worked on multiple times before.
I will be able to quickly and efficiently resolve the dependency conflicts and find the optimal solution for your project. I will ensure the correct build of your application into .exe with all the necessary libraries, regardless of version issues.
I will sort out all the nuances and set up the correct versions of dependencies so that the build goes smoothly and the project runs stably.
I have experience in such situations, so I would be happy to help solve your tasks at the highest level.
-
726 9 1 Hello! After reviewing your project, I am ready to start working on it. I can offer optimal solutions to achieve the best results.
-

>> Розробник намагався в цих конфліктах, удалити бібліотеки які конфліктували но це тупо, бо вони потрібні!
При всем уважении, не стоит писать того чего не было. Не "удалить", а обновить библиотеки до требуемых версий. Обновление: удаление старой версии + установка новой. Если по вашему "тупо" - это не означает что не верная последовательность действий
-
Збирати EXE з самого початку погана ідея, з багатьох причин.
Одна з яких саме у проблемах з спец. лібами.
Просто всунути мабуть дуже складно або неможливо, і не факт що після оновлення проекту все знову не зламається.
Висновок який не використовувати білд в екзе зовсім або все таки розібратися з конфліктами при білді.
-
Current freelance projects in the category Data Parsing
Scrape the database and add it to the Telegram chatScrape the database from List.ua and add by numbers to the Telegram chat. The chat is about repairs and interior design. Data Parsing, Customer Support ∙ 17 hours 29 minutes back ∙ 24 proposals |
It is necessary to develop a Telegram bot for monitoring cars from auctions in the USA (Copart, IAAI)A Telegram bot is needed for automatic searching and monitoring of "BUY IT NOW" cars at auctions in the USA (Copart, IAAI). The bot should operate automatically and send notifications about new cars that meet the specified filters.Main functionalityFilter settings: 1. Car… Data Parsing, Bot Development ∙ 1 day 1 hour back ∙ 79 proposals |
Parsing products, preparation for import to WPScrape the full catalog of these websites: https://svit-mebliv.ua/ https://kompanit.com.ua/ru https://amia.com.ua/ https://mebliromax.com.ua/ https://pehotin.com.ua/catalog/ https://www.sokme.ua/ru/ All products need to be combined into one general table for import into WP.… Web Programming, Data Parsing ∙ 3 days 17 hours back ∙ 58 proposals |
A specialist in Telegram promotion is required.
28 USD
Tasks: invite real users from the username database to new chats and send messages to the target database. Only quality traffic and work with a live audience are of interest — performers using bots, fake engagement, or low-quality methods are requested NOT TO DISTURB. Work… Data Parsing, Social Media Marketing (SMM) ∙ 8 days 17 hours back ∙ 9 proposals |
Consultation on parsing Instagram account subscribersHello. It is necessary to conduct a preliminary assessment of the feasibility of the following task. I have a list of Instagram accounts. The goal is to obtain contact information (primarily email addresses) of users who follow these accounts. Previously, I encountered companies… Data Parsing ∙ 12 days 12 hours back ∙ 13 proposals |