GithubHelp home page GithubHelp logo

Comments (13)

radarhere avatar radarhere commented on May 25, 2024 1

It would be great if it just went straight there

#7981 has updated the README to link to https://pillow.readthedocs.io/en/latest/installation/basic-installation.html

from pillow.

iconoclasthero avatar iconoclasthero commented on May 25, 2024

https://pillow.readthedocs.io/en/latest/installation.html

from pillow.

aclark4life avatar aclark4life commented on May 25, 2024

Moved to https://pillow.readthedocs.io/en/latest/installation/basic-installation.html#basic-installation

from pillow.

iconoclasthero avatar iconoclasthero commented on May 25, 2024

Yeah I see that now.
I don't read fine print well.
It would be great if it just went straight there...that's my suggestion. (People are lazy and stupid so make things as simple as possible...)

Sorry for the waste of time.

from pillow.

iconoclasthero avatar iconoclasthero commented on May 25, 2024

Hey, it's not showing up in pipx and i can't just install things system-wide in Ubuntu so I'm not sure where it is...

$ pipx install Pillow pillow

No apps associated with package pillow or its dependencies. If you are attempting to install a library, pipx should
not be used. Consider using pip or a similar tool instead.

from pillow.

aclark4life avatar aclark4life commented on May 25, 2024

No prob! It has been discussed. pipx install pillow should work … if not, paste the traceback here.

from pillow.

aclark4life avatar aclark4life commented on May 25, 2024

Actually, no. Use pip install pillow (I get the same result as you.)

alexclarks-Air:~:% pipx install pillow
⚠️ Found a space in the home path. We heavily discourage this, due to multiple incompatibilities. Please check our docs for more information on this, as well
    as some pointers on how to migrate to a different home path.

No apps associated with package pillow or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or a
similar tool instead.

from pillow.

iconoclasthero avatar iconoclasthero commented on May 25, 2024

Yeah, this is where ubuntu-based linux and python run into problems...you can't use pipx for libraries (i just found this out much to my frustration last week) and you can't do what you suggested either:

$ pip install pillow
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

This is on Rhino Linux derived from Noble:

$ python3 --version; pip --version; pipx --version; neofetch~  --off
Python 3.12.2
pip 24.0 from /usr/lib/python3/dist-packages/pip (python 3.12)
1.4.3
 
Rhino Linux rolling release based on 
OS: Ubuntu Noble Numbat (development branch) x86_64 
Kernel: Linux 6.8.4-060804-generic 
Shell: bash 5.2.21 

from pillow.

iconoclasthero avatar iconoclasthero commented on May 25, 2024

Oh and if i want to install it system wide with apt it needs to be in a repo. usually that's done with e.g., $ apt install python3-pillow

from pillow.

iconoclasthero avatar iconoclasthero commented on May 25, 2024

I have it installed in an venv but I really don't know what to do with it to make it so that beets fetchart plugin can use it—the only thing I want to do today. I have imagemagick and figured it would be great to have something else ... and since this was listed as the first option (i.e., ahead of imagemagick), i said, "why not, I've got a couple extra minutes," but I keep running into this problem with python and just give up.

I had some discussion on #python3 irc about this issue last week (it was a different library, it doesn't matter which) that were ... contentious about how python3 interacts with users in this environment so I don't know what the answer is but I can't deal with the resultant frustration...

from pillow.

aclark4life avatar aclark4life commented on May 25, 2024

Does https://askubuntu.com/questions/1449140/how-to-install-pil-or-pillow-in-ubuntu-22-04 help?

from pillow.

radarhere avatar radarhere commented on May 25, 2024

I really don't know what to do with it to make it so that beets fetchart plugin can use it

What command are you using to run the plugin?

Edit: From https://github.com/beetbox/beets/blob/3adca9769b68f93bd2d80983125a10ab5e299400/beet#L1, I would conclude that beets uses python.

If you are really at your wits' end, I think python -m pip install --break-system-packages Pillow will solve your problem, but be aware this may not be ideal.

from pillow.

github-actions avatar github-actions commented on May 25, 2024

Closing this issue as no feedback has been received.

from pillow.

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.