Giter VIP home page Giter VIP logo

Comments (9)

marcelotduarte avatar marcelotduarte commented on August 15, 2024 1

I'll make a hook for yt_dlp.

from cx_freeze.

MesterPerfect avatar MesterPerfect commented on August 15, 2024 1

It should work with empty includes.
Can I close this issue by merging the PR?

Yes, you can, and thank you, for the quick response and solution to the problem.

from cx_freeze.

MesterPerfect avatar MesterPerfect commented on August 15, 2024

image_2023-11-19_17-42-19

from cx_freeze.

marcelotduarte avatar marcelotduarte commented on August 15, 2024

I use a sample with matplotlib and wx here that works for me.
Are using the latest version of wxPython?

The program fails to function, and the issue persists until Microsoft Visual C++ 2015-2019 x86 and x64 are installed.

Do you mean Microsoft Visual C++ Redistributable Package?
https://cx-freeze.readthedocs.io/en/stable/faq.html#microsoft-visual-c-redistributable-package

from cx_freeze.

MesterPerfect avatar MesterPerfect commented on August 15, 2024

I use a sample with matplotlib and wx here that works for me. Are using the latest version of wxPython?

The program fails to function, and the issue persists until Microsoft Visual C++ 2015-2019 x86 and x64 are installed.

Do you mean Microsoft Visual C++ Redistributable Package? https://cx-freeze.readthedocs.io/en/stable/faq.html#microsoft-visual-c-redistributable-package

I have been using the latest stable version of cx_Freeze and wxPython. When I used cx_Freeze with matplotlib and the latest version of wxPython, the dependencies were included, and the program worked as far as my hardware was concerned.

However, I ran into another problem. My program is based on the yt_dlp library for downloading from YouTube. When I compile my program, the cx_Freeze library fails to include some dependencies, such as yt_dlp.compat._deprecated and yt_dlp.utils._deprecated. I need to manually include these frameworks in the "includes" section of my setup.py file.

The correct format for the "includes" section is:

"includes": ["wx", "pysrt", "yt_dlp", "yt_dlp.compat._deprecated", "yt_dlp.utils._deprecated"],

The incorrect format is:

"includes": ["wx", "pysrt", "yt_dlp"],

from cx_freeze.

marcelotduarte avatar marcelotduarte commented on August 15, 2024

You can test the PR #2145 within the latest development build:
pip install --force --no-cache --pre --extra-index-url https://marcelotduarte.github.io/packages/ cx_Freeze
For conda-forge the command is:
conda install -y --no-channel-priority -S -c https://marcelotduarte.github.io/packages/conda cx_Freeze

from cx_freeze.

MesterPerfect avatar MesterPerfect commented on August 15, 2024

You can test the PR #2145 within the latest development build: pip install --force --no-cache --pre --extra-index-url https://marcelotduarte.github.io/packages/ cx_Freeze For conda-forge the command is: conda install -y --no-channel-priority -S -c https://marcelotduarte.github.io/packages/conda cx_Freeze

The setup.py code was updated, and the error message no longer appears. Consequently, the library is included, and everything is now working fine.

from cx_freeze.

marcelotduarte avatar marcelotduarte commented on August 15, 2024

It should work with empty includes.
Can I close this issue by merging the PR?

from cx_freeze.

marcelotduarte avatar marcelotduarte commented on August 15, 2024

Release 6.15.11 is out!

from cx_freeze.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.