Comments (10)
Issue has been marked as stale due to no activity
from ulauncher-albert-calculate-anything.
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.
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.
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.
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.
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)
- Currency conversion showing only 1 icon HOT 6
- [bug] Extension crashed after updating and saving new settings and then crashes instantly on reload HOT 12
- Cannot install the extension HOT 2
- Proxy support [feature] HOT 2
- [feature] Enhance time with specific time/date and timezone conversion HOT 2
- Not working HOT 2
- [feature] Converstion of time to time unit like ms HOT 4
- [bug] HOT 4
- [bug] HOT 6
- [bug] zombie process HOT 9
- An option to make outbound calls on-demand (or disable it totally) HOT 4
- [feature] Use the word "in" as alias for "to" in conversions HOT 6
- [bug] Crashed on Ulauncher 5.14.4 HOT 4
- [bug] Calculation error sin(2*pi) HOT 2
- [bug] Crashed on Ulauncher 5.14.7 HOT 2
- Extension stopped converting: 'currency' is not defined in the unit registry HOT 16
- [bug]Need update on plugin as per the new version of Albert 0.18.10 HOT 2
- Nothing but math is working HOT 13
- [feature] Timestamp calculation (not from today) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ulauncher-albert-calculate-anything.