Bindu
Bindu copied to clipboard
[Bug]: x402 import error
There is an x402 import error because of version mistmatch
To Reproduce Steps to reproduce the behavior clearly:
- create an agent using cookie-cutter
uv sync- set env variables as required
uv run python -m agent_name.py
Expected behavior ModuleNotFoundError: No module named 'x402.common'
Fix the error can be easily fixed by setting the x402 version to 0.2.1
running these commands in sequence fixes the issue temperoraly -
uv pip uninstall x402
uv add x402==0.2.1
hey @Avngrstark62, let me know if my PR resolves this issue.