Closed nachiket closed 8 months ago
Can you check your amaranth version? I had used version 0.3 when I was working on OpenCache. This might be caused by some incompatibility. It may work if you switch to version 0.3.
That worked. I needed pip3 install amaranth==0.3 amaranth-yosys
.
Maybe edit requirements.txt for this?
Looks like amaranth=0.3 now has some weird packaging issues. What might it take to upgrade amaranth version? I can't get it to work with newer versions.
(base) ➜ generator git:(dev) ✗ pip3 install amaranth==0.3
Collecting amaranth==0.3
Using cached amaranth-0.3-py3-none-any.whl.metadata (822 bytes)
WARNING: Ignoring version 0.3 of amaranth since it has invalid metadata:
Requested amaranth==0.3 from https://files.pythonhosted.org/packages/0f/b5/afa16ebdf98fb79142f19281a481c200df694d537b68808538d423bd635b/amaranth-0.3-py3-none-any.whl has invalid metadata: . suffix can only be used with ==
or !=
operators
amaranth-yosys (>=0.10.) ; extra == 'builtin-yosys'
Please use pip<24.1 if you need to use this version.
ERROR: Ignored the following yanked versions: 0.6.0
ERROR: Could not find a version that satisfies the requirement amaranth==0.3 (from versions: 0, 0.3, 0.4.0, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.5.0, 0.5.1, 0.5.2)
ERROR: No matching distribution found for amaranth==0.3
When I try to run OpenCache on the default config files, I'm getting this error: