Giter Site home page Giter Site logo

Comments (10)

github-actions avatar github-actions commented on June 3, 2024

Issue has been marked as stale due to no activity

from ulauncher-albert-calculate-anything.

Danie10 avatar Danie10 commented on June 3, 2024

I'm seeing the same on Manjaro KDE. But although Python says the requirement is already satisfied, restarting ULauncher just shows the same message needing pint installed.

from ulauncher-albert-calculate-anything.

guvkon avatar guvkon commented on June 3, 2024

I'm seeing the same on Linux Mint 21.3 Cinnamon. Python requirements are installed like so:

$ pip install Pint simpleeval parsedatetime pytz
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: Pint in ./.local/lib/python3.10/site-packages (0.23)
Requirement already satisfied: simpleeval in ./.local/lib/python3.10/site-packages (0.9.13)
Requirement already satisfied: parsedatetime in ./.local/lib/python3.10/site-packages (2.6)
Requirement already satisfied: pytz in /usr/lib/python3/dist-packages (2022.1)
Requirement already satisfied: typing-extensions in /usr/lib/python3/dist-packages (from Pint) (3.10.0.2)

Re-launching Ulauncher doesn't help at all.

from ulauncher-albert-calculate-anything.

kitnerboy avatar kitnerboy commented on June 3, 2024

I've met this same problem on my Ubuntu 22.04.4 LTS
Everything looks like packet is yet installed but it somehow fails.
What i discovered is if I just run python interactive console i can import pint with no problem.
Finally what I discovered is that i had two installs of pint - one from pip install and one from apt.
I deleted pint that was from apt (as it was quite old and couldn't handle import Self from typing_extensions) and reinstalled or upgraded the one from pip.
And I now can use this plugin flawlessly.

from ulauncher-albert-calculate-anything.

tchar avatar tchar commented on June 3, 2024

How did you install the plugin?

Depending on your system and python version pip may refer to pip for python2 and pip for python 3. You may have installed pint for the wrong python version.

To make sure you use the proper one try using python3 -m pip install pint.

Let me know if this helps.

EDIT: The extension tells you to restart the launcher.
EIDT2: #51 changes these suggestions to /usr/bin/python3 -m pip install. The reason is that ulauncher uses #!/usr/bin/python3 to run.

from ulauncher-albert-calculate-anything.

guvkon avatar guvkon commented on June 3, 2024

Didn't help.

$ /usr/bin/python3 -m pip install pint 
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pint in ./.local/lib/python3.10/site-packages (0.23)
Requirement already satisfied: typing-extensions in /usr/lib/python3/dist-packages (from pint) (3.10.0.2)

EDIT:

$ which python3
/usr/bin/python3

from ulauncher-albert-calculate-anything.

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.