Giter VIP home page Giter VIP logo

Comments (3)

Cimbali avatar Cimbali commented on June 12, 2024 1

Ok I’ve had to rewrite the error message and add some significant caveats to the python-installed troubleshooting, but the information should now recommend the proper way of installing (pipx or venv + pip, with system-site-packages to find dependencies) with up-to-date information on best practices and the desktop integration limitations.

from pympress.

complanar avatar complanar commented on June 12, 2024

This seems a good idea, but does not work in all environments. E.g. this way gstreamer or vlc may not found. Embedded videos can not be played. Works when install via pip (at least for me).

from pympress.

Cimbali avatar Cimbali commented on June 12, 2024

Many distributions now recommend against using pip to install packages

Yes there’s been this push even within pip. I must say I’ve silenced all these warnings with break-system-packages = true (which is a quite aggressive option name) but we shouldn’t expect users to install via a deprecated way.

Before we update install instructions, I think we have to look at what the state of the situation is:

  • the best solution is to use system/package manager distributed packages, and that includes pympress.
  • pipx makes installing into virtual environments easy, but you first have to install pipx
  • It used to not be desirable to install the pygobject and pycairo dependencies in non-standard locations (user, virtual environment, etc) as building from scratch required compiling C modules. We want people to be able to install easily without requiring installing compiler toolchains, headers/development packages, etc.
  • Even if pygobject and pycairo get installed as binary wheels, people need the proper system packages.

We also need to review the impact of using pip on all relevant distributions.

from pympress.

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.