scottlawsonbc / audio-reactive-led-strip

:musical_note: :rainbow: Real-time LED strip music visualization using Python and the ESP8266 or Raspberry Pi
MIT License
2.68k stars 644 forks source link

main.py throwing errors <module> import pyqgraph as pg and others... #260

Closed FarmallDude closed 4 years ago

FarmallDude commented 4 years ago

(RGB) C:\Systematic-LEDs-master\python>python main.py Traceback (most recent call last): File "main.py", line 21, in import pyqtgraph as pg File "C:\Users\Shop.conda\envs\RGB\lib\site-packages\pyqtgraph__init__.py", line 204, in from .graphicsItems.VTickGroup import * File "C:\Users\Shop.conda\envs\RGB\lib\site-packages\pyqtgraph\graphicsItems\VTickGroup.py", line 7, in from .. import functions as fn File "C:\Users\Shop.conda\envs\RGB\lib\site-packages\pyqtgraph\functions.py", line 17, in from . import debug File "C:\Users\Shop.conda\envs\RGB\lib\site-packages\pyqtgraph\debug.py", line 11, in from . import ptime File "C:\Users\Shop.conda\envs\RGB\lib\site-packages\pyqtgraph\ptime.py", line 24, in cstart = systime.clock() ### Required to start the clock in windows AttributeError: module 'time' has no attribute 'clock'

Sorry if this has been covered, I scrolled back and didn't see this particular issue. I've followed not_matt's Youtube tutorial, ran into all sorts of issues. I know it's older, and things change, so I expected a few errors along the way. I updated Python and Conda to latest versions (as of 2.14.2020). I'm trying to correct the errors as they arise. I get this one when I run main.py. Unfortunately, Python is a new language for me and I don't know what type of error this is so I'm not sure how to fix it.

Closing this. Going to re-start from scratch.