ФоксДот не открываетсяPython

Программы на Python
Anonymous
ФоксДот не открывается

Сообщение Anonymous »


I'm trying to create music using FoxDot. However, I've failed to run it. I'd greatly appreciate it if anyone could help me solve this issue.

Let's go through it: OS Windows 10 Pro, SuperCollider 3.13.0, Git, sc3 plugins, Python 2.7.18, and FoxDot are installed. I followed these steps:
  • Open the SuperCollider IDE.
  • Type Quarks.install("FoxDot") and run it by pressing Ctrl+Enter.
  • Recompile the SuperCollider class library by going to Menu -> Language -> Recompile Class Library.
  • On the next line, type FoxDot.start and evaluate it by going to Menu -> Language -> Evaluate Selection or Line.
  • Open cmd.
  • Run python -m FoxDot. However, FoxDot does not open. Instead, the following error message appears:

    Traceback (most recent call last): File "C:\Python27\lib\runpy.py", line 163, in _run_module_as_main mod_name, _Error) File "C:\Python27\lib\runpy.py", line 111, in _get_module_details __import__(mod_name) # Do not catch exceptions initializing package File "C:\Python27\lib\site-packages\FoxDot\__init__.py", line 106, in from .lib import * File "C:\Python27\lib\site-packages\FoxDot\lib\__init__.py", line 227, in now = var([0]).transform(lambda a: Clock.now()) File "C:\Python27\lib\site-packages\FoxDot\lib\TimeVar.py", line 858, in __call__ return TimeVar(*args, **kwargs) File "C:\Python27\lib\site-packages\FoxDot\lib\TimeVar.py", line 55, in __init__ self.update(values, dur) File "C:\Python27\lib\site-packages\FoxDot\lib\TimeVar.py", line 140, in update self.dur = asStream(dur) File "C:\Python27\lib\site-packages\FoxDot\lib\Patterns\Main.py", line 1522, in asStream return data if isinstance(data, Pattern) else Pattern(data) File "C:\Python27\lib\site-packages\FoxDot\lib\Patterns\Main.py", line 111, in __init__ self.make() File "C:\Python27\lib\site-packages\FoxDot\lib\Patterns\Main.py", line 1016, in make if isinstance(self.data, (str, range)): TypeError: isinstance() arg 2 must be a class, type, or tuple of classes and types
Thank you in advance for your help!


Источник: https://stackoverflow.com/questions/780 ... oesnt-open

Вернуться в «Python»