-
Notifications
You must be signed in to change notification settings - Fork 174
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
Compatibility with Python 3.8 #1672
Comments
Nengo should be compatible with Python 3.8 as of 0a5d302, which is included in the v3.1.0 release. What Nengo version are you using? Could you also include the stack trace for the error? |
nengo_version:
error stack:
|
You're running Nengo v3.0.0, which is not compatible with Python 3.8. Unfortunately, The best solution if you want to use |
To add, the naming scheme is confusing, I'd have to admit. The |
Just to add here, there is a patch for NengoGUI that brings it up to the latest Nengo version: https://github.com/nengo/nengo-gui/tree/update-to-nengo-3 While we're waiting for the new GUI to be released, should we just merge that patch and release an updated version of the old nengo GUI? |
Tried running nengo for the first time after installing, and seems like it's incompatible with python 3.7+, and throws this error
AttributeError: module 'time' has no attribute 'clock'
as starting from 3.8 the function time.clock() has been removed (Src: https://bugs.python.org/issue36895#msg342267)
the newer version of
time.clock()
starting from Python 3.8 istime.perf_counter()
, thus simple replacement might generally work.The text was updated successfully, but these errors were encountered: