You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to import PushEstimator causes an import error. This is because the Sequence abstract type is not located in collections but instead it's in the the typing module.
The text was updated successfully, but these errors were encountered:
Which version of Python are you using? Pyshgp is only tested against 3.7 and 3.8. I will update the README to reflect this.
I have some (slow) ongoing work to make pyshgp work on more recent versions of Python (hopefully without losing support for the currently supported versions) and it would be nice to keep that eventual goal in mind here. For example, the current documentation (for Python 3.9 to at least 3.11) says that typing.Sequence is deprecated in favor of collections.abc.Sequence.
We may need to import from a different module conditionally depending on the language version.
Attempting to import PushEstimator causes an import error. This is because the Sequence abstract type is not located in collections but instead it's in the the typing module.
The text was updated successfully, but these errors were encountered: