-
Notifications
You must be signed in to change notification settings - Fork 477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pint-convert fails with uncertainties related error if numpy is not installed as well - document numpy dependence or give a better error message #2016
Comments
try |
Same error. |
do you have uncertainties installed?
…On Sat, Jun 22, 2024 at 6:26 PM Doron Behar ***@***.***> wrote:
try pint-convert 32m/s mile/hour
Same error.
—
Reply to this email directly, view it on GitHub
<#2016 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEMLECFNAFVLBLJPSUJQV3ZIWXT7AVCNFSM6AAAAABJL4BVK6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBUGEYTMNBVHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yes. I wrote that in the initial bug report, and I mentioned I tried with different versions of |
sorry I mean does it show when you load python and import uncertainties? I got that error until I had installed uncertainties |
I appreciate your effort to help out, but you'll need to trust me, it's not the first time I'm playing with Python packages and installations. In NixOS we don't run exactly "install" packages, but that's out of topic for this discussion. For the sake of the discussion, trust me, I have Note also the error I quoted in the initial bug report:
This means the
It would be interesting to know which |
ahh it'll be because you don't have numpy in that env |
OK That worked. Thanks! It would have been nice if this was documented or if the error message would have been better. I updated the title of the issue to reflect that. |
I got some issues while using Nixos : 24.05 command without uncertainties (worked for me):
In my opinion |
yes that would be better. PRs are welcomed |
I have a better idea: If there are no indications in the command line arguments that uncertainties should be calculated, then Specifically for you @Pratyush1991 , a Nix specific PR that fixes this experience is available at NixOS/nixpkgs#320113 . Your review and 👍 will be most welcome. |
Thanks @andrewgsavage ! I have added it #2032 |
Thanks @doronbehar! Seems the PR for Nix has been merged which is nice. Btw if this PR #2032 is merged then probably |
I'm experiencing the following error when trying out the
pint-convert
executable:My uncertainties version is
3.2.1
- upstream's latest. I also experienced this error with uncertainties3.1.7
. Theuncertainties
version should ideally be specified inpyproject.toml
.The text was updated successfully, but these errors were encountered: