evolvablehardware / evolvablehardware/BitstreamEvolution

README Update Suggestion

Offen
#16 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
18
Forks
7
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hello, I've been working with BitstreamEvolution for a bit and wanted to note a possible inconsistency with the README, as it may help future people who use the repo.

Specifically, the README states that BitstreamEvolution requires Python version 3.7 or higher. Personally, I encountered an error when running evolve.py when using Python 3.8:

This was thrown for the Circuit.py file, line 33

in Circuit def get_bitstream(self) -> list[int]: TypeError: 'type' object is not subscriptable

After looking up the issue, it seemed like this is a type hinting feature only supported by Python version 3.9 and higher. This was confirmed when the issue went away for me after switching to Python 3.9. Would making this change to the README be helpful?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.