Hi Guys,
when i try to ‘import nengo’ into my code, it throws up the following error message:
File “F:\PhD Stuff\Python\Neural Nets\Nengo\MNIST_classifier.py”, line 11, in
import nengo
File “C:\Users\u39jm15\Anaconda3\envs\SpikingNengo\lib\site-packages\nengo_init_.py”, line 39, in
from .base import Process
File “C:\Users\u39jm15\Anaconda3\envs\SpikingNengo\lib\site-packages\nengo\base.py”, line 7, in
from nengo.config import SupportDefaultsMixin
File “C:\Users\u39jm15\Anaconda3\envs\SpikingNengo\lib\site-packages\nengo\config.py”, line 18, in
from nengo.params import Default, is_param, iter_params
File “C:\Users\u39jm15\Anaconda3\envs\SpikingNengo\lib\site-packages\nengo\params.py”, line 7, in
from nengo.rc import rc
File “C:\Users\u39jm15\Anaconda3\envs\SpikingNengo\lib\site-packages\nengo\rc.py”, line 67, in
import nengo.utils.paths
File “C:\Users\u39jm15\Anaconda3\envs\SpikingNengo\lib\site-packages\nengo\utils_init_.py”, line 14, in
from . import simulator
File “C:\Users\u39jm15\Anaconda3\envs\SpikingNengo\lib\site-packages\nengo\utils\simulator.py”, line 5, in
from .stdlib import groupby
File “C:\Users\u39jm15\Anaconda3\envs\SpikingNengo\lib\site-packages\nengo\utils\stdlib.py”, line 256, in
class Timer:
File “C:\Users\u39jm15\Anaconda3\envs\SpikingNengo\lib\site-packages\nengo\utils\stdlib.py”, line 283, in Timer
TIMER = time.clock if sys.platform == “win32” else time.time
AttributeError: module ‘time’ has no attribute ‘clock’
I am unsure on how to fix this issue as I am using python 3.8, and the documentation says this should be compatible with the current version of nengo. is there something i am missing? any help would be greatly appreciated.
Many Thanks,
Jack