-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I just pip installed pycsp3 to a Windows 11 machine that has Python 3.12. I ran the following from the Quick Start Guide at the command line and got the following error:
>> from pycsp3 import *
>> n = 4
>> R, G, B = colors = 0, 1, 2
>> x = VarArray(size=n, dom=colors)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\matth\.conda\envs\cp\Lib\site-packages\pycsp3\functions.py", line 191, in VarArray
ext_name = extract_declaration_for("VarArray")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\matth\.conda\envs\cp\Lib\site-packages\pycsp3\tools\inspector.py", line 312, in extract_declaration_for
code = list(reversed(_extract_code(function_name)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\matth\.conda\envs\cp\Lib\site-packages\pycsp3\tools\inspector.py", line 105, in _extract_code
assert False, "Console mode is not available on Windows"
^^^^^
AssertionError: Console mode is not available on Windows
Can I not run pycsp3 from the Console on Windows? If so, how am I supposed to run it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels