Skip to content Skip to sidebar Skip to footer

Pyo In Python: Name 'Server' Not Defined

I recently installed Pyo, and I entered Python 3.6 and typed from pyo import * s = Server().boot() s.start() sf = SfPlayer('C:\Users\myname\Downloads\wot.mp3', speed=1, loop=True)

Solution 1:

Your own script is called "pyo.py", so when you do from pyo import * it just looks at your file, not the pyo library. Rename your file.


Post a Comment for "Pyo In Python: Name 'Server' Not Defined"