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.

In short version: LNBits needs anyio in version 3.3.1, but it also requires purerpc package to connect to LND, but this package need anyio in version 1.x.x

What is solution for this dependency hell?

  Attempting uninstall: anyio
    Found existing installation: anyio 1.4.0
    Uninstalling anyio-1.4.0:
      Successfully uninstalled anyio-1.4.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
purerpc 0.6.1 requires anyio<2,>=1.0.0, but you have anyio 3.3.1 which is incompatible.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fusion44commented, Mar 19, 2022

This is because the README still says that purerpc is required. I’ve removed the requirement for this dead package some time ago. I think I had also updated the README alongside the removal. I’ll fix the README. Sorry about that.

Quick fix: install grpcio instead of purerpc and you should be good to go.

0reactions
petrkrcommented, Mar 18, 2022

Solution would be use 1.x.x anyio or do not use purerpc until they fix that…

EDIT: I think better is do not use PureRPC as latest commit is 2 years old, so it seems to be dead project already

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dependency hell - Wikipedia
Dependency hell is a colloquial term for the frustration of some software users who have installed software packages which have dependencies on specific ......
Read more >
What Is Dependency Hell? Definition from SearchITOperations
Dependency hell is a negative situation that occurs when a software application is not able to access the additional programming it requires to...
Read more >
What is Dependency Hell and How to Avoid it? - Boldare
Dependency hell (otherwise known as JAR hell, or classpath hell) is a phrase used to describe the difficulties encountered by software ...
Read more >
The Nine Circles of Dependency Hell (and a roadmap out)
Nine circles of dependency hell. Your project has been overwhelmed by the complex web of its software dependencies to the point of stoppage....
Read more >
How to Automatically Eliminate Dependency Hell - ActiveState
Dependency Hell occurs when the process of trying to resolve the initial environment error uncovers even more errors.
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