Skip to content
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

Getting a circular dependency error #188

Open
satwikkansal opened this issue Nov 26, 2022 · 0 comments
Open

Getting a circular dependency error #188

satwikkansal opened this issue Nov 26, 2022 · 0 comments

Comments

@satwikkansal
Copy link

Traceback (most recent call last):
  File "main.py", line 11, in <module>
    import config
  File "/Users/satwik/code/hop23/hop23-backend/config.py", line 6, in <module>
    import web3
  File "/Users/satwik/code/hop23/hop23-backend/venv/lib/python3.8/site-packages/web3/__init__.py", line 6, in <module>
    from eth_account import (
  File "/Users/satwik/code/hop23/hop23-backend/venv/lib/python3.8/site-packages/eth_account/__init__.py", line 1, in <module>
    from eth_account.account import (
  File "/Users/satwik/code/hop23/hop23-backend/venv/lib/python3.8/site-packages/eth_account/account.py", line 8, in <module>
    from cytoolz import (
  File "/Users/satwik/code/hop23/hop23-backend/venv/lib/python3.8/site-packages/cytoolz/__init__.py", line 1, in <module>
    from .itertoolz import *
  File "cytoolz/itertoolz.pyx", line 17, in init cytoolz.itertoolz
  File "cytoolz/utils.pyx", line 10, in init cytoolz.utils
  File "/Users/satwik/code/hop23/hop23-backend/venv/lib/python3.8/site-packages/toolz/__init__.py", line 19, in <module>
    from . import curried, sandbox
  File "/Users/satwik/code/hop23/hop23-backend/venv/lib/python3.8/site-packages/toolz/curried/__init__.py", line 81, in <module>
    partial = toolz.curry(toolz.partial)
AttributeError: partially initialized module 'toolz' has no attribute 'partial' (most likely due to a circular import)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant