question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to install package glocaltokens==0.3.1

See original GitHub issue

Describe the bug

Hi! I’m on Home Assistant 2021.7.1 and is unable to install the integration.

Version of the integration

If you are unsure about the version check the github release here.

1.5.0

Logs

Logger: homeassistant.util.package
Source: util/package.py:96
First occurred: 4.15.02 (2 occurrences)
Last logged: 4.16.05

Unable to install package glocaltokens==0.3.1: ERROR: Cannot install glocaltokens==0.3.1 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
slimcdkcommented, Nov 15, 2021

That would be nice if it could be solved that way. For now I’m solving the issue by having the install in the container startup command command: /bin/bash -c "apk add gcc g++; pip3 install --upgrade pip; pip3 install pymysql glocaltokens==0.3.1; /init"

Does this build glocaltokens every time the container is restarted? Surely this adds to the startup time considerably?

Yes, that will execute everytime the container is restarted. Yes, it increases the boot time significantly.

1reaction
KapJIcommented, Aug 21, 2021

@plangenhuizen you can try to activate the same virtualenv where HA is running and install glocaltokens manually (pip install glocaltokens==0.4.0). You should get the same error with more details about where this conflict is coming from.

Read more comments on GitHub >

github_iconTop Results From Across the Web

unable to install package in R Studio - Warning
Team I am unable to install any package from my R Studio. Please find below errors while installing the package. install.packages("ggplot2") Warning in ......
Read more >
Cannot install seurat-wrapers · Issue #32 - GitHub
Hello, I am trying to install seurat-wrappers and running into an error, could you please help?
Read more >
Unable to install packages in latest version of RStudio and R ...
Installing package into '/usr/lib64/R/library' (as 'lib' is unspecified) ... Please check the following to be able to install new packages:.
Read more >
cannot install the best update candidate for package
If there is still a problem then try with "dnf update --nobest" command. Hope this helps!. View best response in context.
Read more >
Cannot install packages by BiocManager - Bioconductor Forum
Hi, I'm having the same issue with GeneAnswers and KEGG.db. I tried to run devtools::install_github("Bioconductor/BiocManager", ref="ghost-binary-repo") but ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found