Cannot open acq4 main manager window

50 views
Skip to first unread message

louison pineau

unread,
Jun 6, 2024, 10:41:36 AM6/6/24
to ACQ4
Hello,
I'm having trouble opening manager window. I followed the readme document instructions and I end up with this error:

$ python -m acq4
Traceback (most recent call last):
  File "C:\Users\pineaulo\AppData\Local\anaconda3\envs\acq4\lib\runpy.py", line 163, in _run_module_as_main
    mod_name, _Error)
  File "C:\Users\pineaulo\AppData\Local\anaconda3\envs\acq4\lib\runpy.py", line 111, in _get_module_details
    __import__(mod_name)  # Do not catch exceptions initializing package
  File "acq4\__init__.py", line 37, in <module>
    from .Manager import getManager
  File "acq4\Manager.py", line 224
    raise FileNotFoundError(f"Could not find default.cfg file in any of: {CONFIGPATH}")
                                                                                     ^
SyntaxError: invalid syntax

It seems that I'm missing a configuration file. Is there a solution to this problem ?

Thanks

Luke Campagnola

unread,
Jun 24, 2024, 4:37:53 PM6/24/24
to ACQ4
Greetings,
It looks to me like you are using an older version of Python. Most of the folks writing code for ACQ4 currently are using version 3.11, so I recommend starting there.

Cheers,
Luke
Reply all
Reply to author
Forward
0 new messages